This API awards loyalty points to customers in Gameball through a cashback program based on the amount.
Request
- Base URL: https://api.gameball.co
- URL: https://api.gameball.co/api/v4.0/integrations/transactions/cashback
- 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",
"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
- 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
- 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
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