This API allows for the manual addition or deduction of points for a customer in Gameball. It provides flexibility in managing loyalty points, enabling adjustments based on specific needs or circumstances.
Request body
Example request
{
"customerId": "cust_abc12345xyz67890",
"email": "john.doe@example.com",
"mobile": "+1234567890",
"transactionId": "txn543211",
"transactionTime": "2024-10-11T15:54:10.944Z",
"username": "admin_user",
"reason": "Referral bonus",
"points": 50,
"expiryAfter": 30
}Response
Manual transaction added successfully
Example response
{
"customerId": "cust_abc12345xyz67890",
"gameballTransactionId": 11035201,
"transactionId": "txn54321221",
"points": 50,
"amount": 5
}Changes
Changed in 5 of the 38 revisions of this API.5217
- ○
added the new optional request property
expiryAfternew-optional-request-property
- ○
the request property
pointsbecame optionalrequest-property-became-optional
- ○
the request property
transactionTimebecame optionalrequest-property-became-optional
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
- ○
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
transactionIdnew-required-request-property
- ▲
added the new required request property
transactionTimenew-required-request-property
- ▲
added the new required request property
usernamenew-required-request-property
- ▲
the
pointsrequest property type/format changed fromnumber/tointeger/request-property-type-changed
- ●
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
amountnew-optional-request-property
- ○
added the new optional request property
emailnew-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
amountto the response with the200statusresponse-optional-property-added
- ○
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
pointsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
transactionIdto 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
- ▲