Webhooks

subscription.created

Subscription creada en Toku.

{
  "id": "whe_hXPK3YBs4EUfw2KFZlB6R44MiFa07vFU",
  "event_type": "subscription.created",
  "subscription": {
    "id": "sub_K3a1P1_p_t5UHJHJXmpkQYmqXCHvXrNi",
    "customer": "cus_M2aYvh3QOfVylcre5gIMyIhYPrHBKfw2",
    "product_id": "92792",
    "pac_mandate_id": "500196",
    "is_recurring": false,
    "amount": null,
    "due_day": null,
    "receipt_product_code": null,
    "metadata": {
      "color": "red",
      "shape": "square"
    }
  }
}

subscription.updated

Subscription editada en Toku.

{
  "id": "whe_hXPK3YBs4EUfw2KFZlB6R44MiFa07vFU",
  "event_type": "subscription.updated",
  "subscription": {
    "id": "sub_K3a1P1_p_t5UHJHJXmpkQYmqXCHvXrNi",
    "customer": "cus_M2aYvh3QOfVylcre5gIMyIhYPrHBKfw2",
    "product_id": "92792",
    "pac_mandate_id": "500196",
    "is_recurring": false,
    "amount": null,
    "due_day": null,
    "receipt_product_code": null,
    "metadata": {
      "color": "red",
      "shape": "square"
    }
  }
}

subscription.deleted

Subscription eliminada de Toku.

{  
  "id": "whe_hXPK3YBs4EUfw2KFZlB6R44MiFa07vFU",
  "event_type": "subscription.deleted",
  "subscription": {
    "id": "sub_K3a1P1_p_t5UHJHJXmpkQYmqXCHvXrNi",
  }
}
EnglishPortuguês (Brasil)
Powered by Localize
Español (América Latina)