Payload Structure
Example Payload
Handling Pending Events
When a charge enters a pending state, you should:- Update your system to reflect that the transaction is in progress
- Display appropriate pending status to the customer
- Wait for subsequent webhook events (success, failure, or expiration)
- Do not assume the transaction has completed until you receive a final status event
transaction_type
field in the charge object indicates the type of transaction:
credit
: Represents money being added to the customer’s accountdebit
: Represents money being removed from the customer’s account