This API awards loyalty points to customers in Gameball through a cashback program based on the amount.
Request body
Example request
{
"customerId": "cust_12345abc",
"email": "john.doe@example.com",
"mobile": "+1234567890",
"transactionId": "TXN987654321",
"transactionTime": "2024-10-11T10:48:56.719Z",
"amount": 150.75,
"configurations": {
"returnWindow": 7
}
}Response
Cashback issued successfully
Example response
{
"customerId": "cust_12345abc",
"gameballTransactionId": 11034733,
"rewardAmount": 150.75
}Changes
Changed in 4 of the 38 revisions of this API.2213
- ○
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
transactionTimenew-required-request-property
- ●
removed the optional property
newBalancefrom 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
configurationsnew-optional-request-property
- ○
added the new optional request property
emailnew-optional-request-property
- ○
added the new optional request property
merchantnew-optional-request-property
- ○
added the new optional request property
mobilenew-optional-request-property
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ○
added the optional property
customerIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
gameballTransactionIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
rewardAmountto the response with the200statusresponse-optional-property-added
- ○
added the optional property
rewardEquivalentPointsto 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
- ▲