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 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
Changed in 4 of the 38 revisions of this API.4314
- ○
the endpoint scheme security
apiKey AND secretKeywas added to the APIapi-security-added
- ○
the endpoint scheme security
apiKeywas removed from the APIapi-security-removed
- ○
the endpoint scheme security
secretKeywas removed from the APIapi-security-removed
- ○
- ▲
added the new required request property
refundTransactionIdnew-required-request-property
- ▲
added the new required request property
reverseTransactionIdnew-required-request-property
- ▲
added the new required request property
transactionTimenew-required-request-property
- ●
removed the request property
originalTransactionIdrequest-property-removed
- ●
removed the optional property
refundedPointsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
successfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional request property
emailnew-optional-request-property
- ○
added the new optional request property
lineItemsnew-optional-request-property
- ○
added the new optional request property
merchantnew-optional-request-property
- ○
added the new optional request property
mobilenew-optional-request-property
- ○
the request property
refundAmountbecame optionalrequest-property-became-optional
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ○
added the optional property
gameballTransactionIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
refundAmountto the response with the200statusresponse-optional-property-added
- ○
added the optional property
refundEquivalentPointsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
refundTransactionIdto the response with the200statusresponse-optional-property-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 38 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲