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.
Request
- Base URL: https://api.gameball.co
- URL: https://api.gameball.co/api/v4.0/integrations/transactions/refund
- Auth: API key in header apikey and API key in header secretkey
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
}Changes
- info
the endpoint scheme security
apiKey AND secretKeywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API - info
the endpoint scheme security
secretKeywas removed from the API
- info
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- warning
removed the request property
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
the request property
became optional - info
removed the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking