This API holds loyalty points for a specified duration, reserving them until a redemption request is made through Order or Redeem. If no redemption occurs within the hold period, the points are released. The default hold time is 10 minutes, adjustable in the Gameball dashboard, with a maximum of 15 days and a minimum of 1 minute.
Request
- Base URL: https://api.gameball.co
- URL: https://api.gameball.co/api/v4.0/integrations/transactions/hold
- Auth: API key in header apikey and API key in header secretkey
Request body
Example request
{
"customerId": "cust_abc12345xyz67890",
"email": "john.doe@example.com",
"mobile": "+1234567890",
"transactionTime": "2024-10-11T16:15:15.071Z",
"otp": "654321",
"pointsToHold": 50,
"hash": "123456"
}Response
Points placed on hold successfully
Example response
{
"customerId": "cust_abc12345xyz67890",
"holdEquivalentPoints": 50,
"holdReference": "a2a199ad-86f3-45c4-8253-7aaee50e4798"
}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 request property
- warning
removed the request property
- 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
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
- breaking