Skip to main content

Payload Structure

Example Payload

Withdrawals are driven by balance_amount_cents or fixed_amount_cents rather than products, so line_items is empty and line_items_total_amount_cents is null on this event. See checkout.succeeded for a payload with populated line items.

You must respond with status

2xx: if the customer has available funds Not 2xx: if the customer has insufficient funds

Updating Your Internal Ledger

You can choose to debit the customer’s balance immediately or wait until you receive the checkout.succeeded event. It is recommended to debit immediately and then skip the checkout.succeeded event.