By utilizing this API method, Agents can retrieve information about failed transactions based on their permissions and specified search criteria.
The maximum number of items in the returned list is 20,000. However, if a limit is not specified in the search criteria, the list will be limited to 10,000 entries.
Transaction event types with a txnEventType of TOURNAMENT, PROMOTION, ACHIEVEMENT, or STORE will be returned for a period of up to seven days from their creation. If these transactions are not resolved within this time frame, they will be marked as permanently failed and removed from the queue. Transactions with other event types will remain in the queue.
Unauthorized Agents will receive a 401 error when accessing this API method.
GET /agents/{agentCode}/failedTransactions
Response Example
Code: 200
[
{
"betId": "AEBAAAQA4C5CMAAAAAAAAKX4ATSQYAAAAA",
"actionType": "credit",
"playerId": "player1",
"amount": 50.21,
"currency": "CNY",
"txnId": "AQIAAgB2HSYAAAAAAAEAA",
"txnEventType": "GAME",
"contentCode": "SMG_breakAway",
"metaData": {
"isFreeGame": true,
"progressive": {
"type": "jackpot"
}
},
"completed": true,
"channel": "SLOTS"
}
]
Response Data
|
Parameter |
Description |
|---|---|
|
|
The bet ID for this particular transaction. |
|
|
Indication to the Agent of the type of action that needs to be performed; either a rollback or credit. |
|
|
System ID of the player. |
|
|
Amount to be adjusted from the player’s account. |
|
|
The ISO 4217 currency code of this transaction. |
|
|
The unique MG+ transaction ID. |
|
|
Additional details regarding the transaction. |
|
|
The MG+ content code which shows which event (ie. game, tournament) this transaction belongs to. In the case of a rollback, this will be the txnId of the original request. |
|
|
Optional and extra information for this transaction that does not fit in the other fields. |
|
|
This flag indicates whether or not this is the final transaction for this gaming round. When this value is
|
|
|
The MG+ channel of the game. |