MG+ K2 Single Wallet API Integration Quick Guide
Breadcrumbs

Patch Failed Transactions

This particular request allows you to update the transaction in the system in order to clear it from the failed transactions queue.

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. Attempting to patch such a transaction after the seven-day period has expired will result in a "404 Not Found" error.

For other transaction event types, they will remain in the failed transactions queue and can be patched to mark them as resolved using this method. If a transaction is not found in the queue, a "404 Not Found" error will also be returned.


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


Request Headers

JSON
Authorization: “Bearer eyJhbNTI1ODcxN…”


Response Headers

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


Response Body

JSON
none


image-20240401-065532.png
Flowchart depicting the 200 response.