latestOpenAPI 3.1.02026-08-141866831.1 MB

77e4ef94fcc3

order.created

Sent when a new order is created.

A new order is created when:

  • A customer purchases a one-time product. In this case, billing_reason is set to purchase.
  • A customer starts a subscription. In this case, billing_reason is set to subscription_create.
  • A subscription is renewed. In this case, billing_reason is set to subscription_cycle.
  • A subscription is upgraded or downgraded with an immediate proration invoice. In this case, billing_reason is set to subscription_update.

[!WARNING] The order might not be paid yet, so the status field might be pending.

Discord & Slack support: Full

postWebhookorder.created

Payload

type'order.created' required
timestampstring date-time required
dataOrder required— unresolved $ref

Response

Successful Response

{"stackTrail":"webhooks:order.created:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}