Retrieve all data about a Payment sent to ZBD User.
GET
/
v0
/
gamertag
/
transaction
/
{id}
curl--request GET \--url https://api.zebedee.io/v0/gamertag/transaction/{id}\--header'apikey: <apikey>'
{"message":"Fetched charge.","success":true,"data":{"id":"903883f2-67d9-4707-a21b-ddff004fe041","receiverId":"ec9b38d5-b126-4307-9d1e-8aa0dfab5d7e","amount":"15000","fee":"1000","unit":"msats","processedAt":"2023-01-04T15:59:16.993Z","confirmedAt":"2023-01-04T15:59:16.989Z","comment":"Sending to ZBD Gamertag","status":"TRANSACTION_STATUS_COMPLETED"}}
In order to get data on payments sent to ZBD Gamertags, you can use this endpoint. The data payload returned will inform you of the status of that transaction as well as any associated fees.
The idea here is to use the transactionId property returned from the Pay to ZBD Gamertag response, and use that ID to fetch the latest details of the given Payment.
{"message":"Fetched charge.","success":true,"data":{"id":"903883f2-67d9-4707-a21b-ddff004fe041","receiverId":"ec9b38d5-b126-4307-9d1e-8aa0dfab5d7e","amount":"15000","fee":"1000","unit":"msats","processedAt":"2023-01-04T15:59:16.993Z","confirmedAt":"2023-01-04T15:59:16.989Z","comment":"Sending to ZBD Gamertag","status":"TRANSACTION_STATUS_COMPLETED"}}
curl--request GET \--url https://api.zebedee.io/v0/gamertag/transaction/{id}\--header'apikey: <apikey>'
{"message":"Fetched charge.","success":true,"data":{"id":"903883f2-67d9-4707-a21b-ddff004fe041","receiverId":"ec9b38d5-b126-4307-9d1e-8aa0dfab5d7e","amount":"15000","fee":"1000","unit":"msats","processedAt":"2023-01-04T15:59:16.993Z","confirmedAt":"2023-01-04T15:59:16.989Z","comment":"Sending to ZBD Gamertag","status":"TRANSACTION_STATUS_COMPLETED"}}