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 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
Changed in 4 of the 38 revisions of this API.2316
- ○
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 request property
holdReferencerequest-property-removed
- ●
removed the request property
pointsrequest-property-removed
- ●
removed the optional property
successfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional request property
amountToHoldnew-optional-request-property
- ○
added the new optional request property
emailnew-optional-request-property
- ○
added the new optional request property
hashnew-optional-request-property
- ○
added the new optional request property
ignoreOTPnew-optional-request-property
- ○
added the new optional request property
mobilenew-optional-request-property
- ○
added the new optional request property
otpnew-optional-request-property
- ○
added the new optional request property
pointsToHoldnew-optional-request-property
- ○
added the new optional request property
ruleIdnew-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
holdAmountto the response with the200statusresponse-optional-property-added
- ○
added the optional property
holdEquivalentPointsto 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
- ▲