Payload Structure
Example Response
Updating Your Internal Ledger
This is essentially a reversal of thecheckout.succeeded event.
The transaction_type field in the charge object indicates the type of transaction:
credit: Money was originally added to the customer’s balance, so you should deduct it.debit: Money was originally removed from the customer’s balance, so you should add it back.

