{
"id": "<string>",
"type": "checkout.completed",
"created": 123,
"data": {
"checkout_session_id": "<string>",
"mode": "<string>",
"amount_cents": 123,
"currency": "<string>",
"customer_email": "<string>",
"subscription_id": "<string>",
"metadata": {},
"paid_at": "2023-11-07T05:31:56Z",
"livemode": true,
"payment_link_id": "<string>",
"amount_due_today_cents": 123
}
}API Reference
Checkoutcompleted
Sent to your endpoint when it is subscribed to checkout.completed. See Webhook events for the payload.
WEBHOOK
checkout.completed
{
"id": "<string>",
"type": "checkout.completed",
"created": 123,
"data": {
"checkout_session_id": "<string>",
"mode": "<string>",
"amount_cents": 123,
"currency": "<string>",
"customer_email": "<string>",
"subscription_id": "<string>",
"metadata": {},
"paid_at": "2023-11-07T05:31:56Z",
"livemode": true,
"payment_link_id": "<string>",
"amount_due_today_cents": 123
}
}Authorizations
Body
application/json
Response
200
Return a 2xx status to acknowledge the event.
