MG+ K2 Single Wallet API Integration Quick Guide
Breadcrumbs

Get a List of Failed Transactions

This particular request serves the purpose of fetching a list of transactions that are in an unknown state.

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.


GET https://api-demo.k2net.io/api/v1/agents/Test_Agent/failedTransactions


Request Headers

JSON
Authorization: “Bearer eyJhbNTI1ODcxN…”


Response Headers

JSON
Content-Type: “application/json; charset=utf-8”


Response Body

JSON
{
  "channel": "SLOTS",
  "betId": "AIBQAAQAYQCCCEAAAAAABLAAAAAA",
  "actionType": "credit",
  "playerId": “IMTEST",
  "amount": 100.0,
  "currency": "THB",
  "txnId": "AIBQAAQAAAAMEAAAAAABLAAAAAA",
  "txnEventType": "GAME",
  "contentCode": "SMG_108Heroes",
  "metadata": null,
  "completed": false
}


image-20240401-065447.png
Flowchart depicting the 200 response with a list of failed transactions.