Skip to main content
POST
/
api
/
v4.0
/
integrations
/
batch
/
cashback
cURL
curl --request POST \
  --url https://api.gameball.co/api/v4.0/integrations/batch/cashback \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "body": [
    {
      "customerId": "<string>",
      "transactionId": "<string>",
      "transactionTime": "2023-11-07T05:31:56Z",
      "amount": 123,
      "email": "<string>",
      "mobile": "<string>"
    }
  ]
}
'
{
  "jobId": 123
}

Reward Cashback Batch Job

The Reward Cashback Batch API awards loyalty points to customers in Gameball through a cashback program based on the transaction amount. This endpoint allows you to process multiple cashback rewards in a single batch operation.
Security: Requires apiKey and secretKey headers.
Channel Merging Available: If your system uses different customer IDs across multiple channels (e.g., online and offline), Gameball’s channel merging feature helps unify customer profiles. By including the customer’s mobile number or email (based on your merging configuration) with each request, Gameball will combine activities into a single profile.

Authorizations

apikey
string
header
required

Body

application/json
body
object[]

Response

200 - application/json

Batch cashback reward processing initiated successfully

jobId
number

The assigned job ID, which is later used for status verification and response retrieval.