Batch Operations Data
Every supported batch operation
  • Bulk Balance Inquiry
  • Bulk Cashback
  • Bulk Redeem
expects a different body object and returns a different response object within the create batch request or get batch request.

Bulk Balance Inquiry

Batch body Object

1
{
2
"playerUniqueIds": ["5024357384366","4024357384355","2124357384388"]
3
}
Copied!

Complete balance inquiry batch example

1
{
2
"method":"POST",
3
"operation":"balance",
4
"params":{},
5
"body":{
6
"playerIds": ["5024357384366","4024357384355","2124357384388"]
7
}
8
}
Copied!

Batch response Object

1
{
2
"successful":[
3
{
4
"playerUniqueId":"5024357384366",
5
"pointsBalance":2000,
6
"pointsValue":6000.0,
7
"currency":"USD",
8
"pointsName":"Points"
9
},
10
{
11
"playerUniqueId":"4024357384355",
12
"pointsBalance":3000,
13
"pointsValue":9000.0,
14
"currency":"USD",
15
"pointsName":"Points"
16
}
17
],
18
"failed":[
19
{
20
"playerUniqueId":"2124357384388",
21
"message":"No Player with this External ID"
22
}
23
]
24
}
Copied!

Bulk Cashback

Batch body Object

1
[
2
{
3
"playerUniqueId":"string",
4
"transactionId":"string",
5
"transactionTime":"2021-07-25T14:22:42.097Z",
6
"amount":100,
7
"merchant":{
8
"uniqueId":"string",
9
"name":"string",
10
"branch":{
11
"uniqueId":"string",
12
"name":"string"
13
}
14
}
15
}
16
]
Copied!

Complete cashback batch example

1
{
2
"method":"POST",
3
"operation":"cashback",
4
"params":{},
5
"body":[
6
{
7
"playerUniqueId":"2124357384388",
8
"transactionId":"231F454BB",
9
"transactionTime":"2021-07-25T14:22:42.097Z",
10
"amount":100
11
}
12
]
13
}
Copied!

Batch response Object

1
{
2
"successful":[
3
{
4
"playerUniqueId":"2124357384388",
5
"amount":"100",
6
"points":"1000",
7
"gameballTransactionId":"27535"
8
}
9
],
10
"failed":[]
11
}
Copied!

Bulk Redeem

Batch body Object

1
[
2
{
3
"playerUniqueId":"2124357384388",
4
"transactionId":"231F454BB",
5
"transactionTime":"2021-07-25T14:40:29.121Z",
6
"redeemedAmount":"200",
7
"holdReference":null
8
}
9
]
Copied!

Complete redeem batch example

1
{
2
"method":"POST",
3
"operation":"redeem",
4
"params":{},
5
"body":[
6
{
7
"playerUniqueId":"2124357384388",
8
"transactionId":"231F454BB",
9
"transactionTime":"2021-07-25T14:40:29.121Z",
10
"redeemedAmount":"200",
11
"holdReference":null
12
}
13
]
14
}
Copied!

Batch response Object

1
{
2
"successful":[
3
{
4
"playerUniqueId":"2124357384388",
5
"GameballTransactionId": "AA1F23419",
6
"RedeemedPoints": "200"
7
}
8
],
9
"failed":[]
10
}
Copied!
​
​
Last modified 3mo ago