This API processes refunds or cancellations of cashback and points redemption transactions in Gameball. By providing a reverseTransactionId, Gameball identifies the related cashback or redemption transaction and adjusts the customer's points balance accordingly to reflect the refunded or canceled transaction.
post/api/v4.0/integrations/transactions/refund
Request body
Example request
{
"customerId": "cust_12345abc",
"email": "john.doe@example.com",
"mobile": "+1234567890",
"refundTransactionId": "txn987657111",
"reverseTransactionId": "txn6342347194477",
"transactionTime": "2024-10-13T17:11:00.249Z",
"refundAmount": 15
}Response
Refund processed successfully
Example response
{
"gameballTransactionId": "11034735",
"refundTransactionId": "txn987657111",
"refundAmount": 15,
"refundEquivalentPoints": 150
}