Payload Structure
Example Response
Updating Player’s Balance
This is essentially a reversal of thecheckout.succeeded
event.
The transaction_type
field in the charge object indicates the type of transaction:
credit
: Represents money was originally added to the player’s balance so now you should deduct it.debit
: Represents money was originally removed from the player’s balance so now you should add it back.