MG+ K2 Single Wallet API Integration Quick Guide
Breadcrumbs

获取失败的交易清单

Commit/Rollback/Endgame Queue管理.

只有具有 txnEventType 为 TOURNAMENT、PROMOTION、ACHIEVEMENT 或 STORE 的交易事件类型会在创建后的 7 天内返回。如果这些特定交易在 7 天后仍然未解决,将被标记为永久失败并从列中移除。

其他事件类型的交易将继续保留在列中。


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.