Get Transactions by Checkout Code
Retrieve all transactions associated with a specific Checkout Code.
GET /checkout/transactions/{checkoutCode}/{next}
Headers
Name
Value
Accept
application/json
X-TX-AppId
YOUR-APP-ID
URL Params
Name
Type
Description
Required
{checkoutCode}
string
The unique identifier for the transaction to retrieve.
Required
{next}
int
Index of the next page
Optional
Request
curl -X GET https://api.tradpay.io/v1/checkout/transactions/4cADM2G7UJfXXjJlXsC9t9NL \
-H "Accept: application/json" \
-H "X-TX-AppId: YOUR-APP-ID"Response
{
"code": 200,
"msg": "OK",
"status": "success",
"result": {
"next": 1, // The next page
"current": 1, // The current page
"records": [
{
"checkoutCode": "4cADM2G7UJfXXjJlXsC9t9NL",
"name": "Checkout Intros",
"pricing": "56", // Pricing Amount
"pricingSymbol": "USDT",// Pricing Currency
"from": "0x923967a6D7017051a8090F7e5aa1C6236aA73f6d",// Actual payment wallet
"to": [
{
"address": "0x5FbE74A283f7954f10AA04C2eDf55578811aeb03",// recipient address
"amount": "55.8651" // Actual amount received
}
],
"chainName": "ethereum", // payment chain. (Equivalent to ETH, case-insensitive)
"paySymbol": "USDT",// payment currency
"hash": "0xcd6893915b37a3da9693df9a95038a4b51eecff3bbf213048a92699c7a571d5c",
"hashLink": "https://etherscan.io/tx/0xcd6893915b37a3da9693df9a95038a4b51eecff3bbf213048a92699c7a571d5c",
"amount": "56.0151", // Actual payment amount
"amountUsd": "56.01",// USD price at the time of payment
"updatedAt": 1748182332000,// unit: ms
"status": "Completed",// Pending/Completed/Failed
"fee": "0.15"// merchant fees
},
{
"checkoutCode": "4cADM2G7UJfXXjJlXsC9t9NL",
"name": "Checkout Intros",
"pricing": "56",
"pricingSymbol": "USDT",
"from": "TD56x8i84gcBzTWXZakB8zTBWyuS9ovBs9",
"to": [
{
"address": "TFbEaGcyrgrr9vzcvyC4wrji52jooxDYiV",
"amount": "55.8606"
}
],
"chainName": "TRON", // payment chain. (case-insensitive)
"hash": "d17ef9813d5c590d99dfd6d5d2b08433b0488494eaac827710cd956768560923",
"hashLink": "https://tronscan.io/#/transaction/d17ef9813d5c590d99dfd6d5d2b08433b0488494eaac827710cd956768560923",
"amount": "56.0106",
"amountUsd": "56.01",
"updatedAt": 1748636555000,
"status": "Completed",
"fee": "0.15"
},
{
"checkoutCode": "4cADM2G7UJfXXjJlXsC9t9NL",
"name": "Checkout Intros",
"pricing": "56",
"pricingSymbol": "USDT",
"from": "GoGxXBTnoZyxQbwFHX12UFUSHsWYV7n17JrJ69ckFDuq",
"to": [
{
"address": "E5dQVCxS5jTDX4uySrQUUwRAa9838QgfeEXUuNh24gtG",
"amount": "55.8388"
}
],
"chainName": "solana", // payment chain. (Equivalent to SOL, case-insensitive)
"hash": "izDR4SYLYbDGPotZ5Qo4heFww4VMjsuerKk464E9W8qVr5hAPxcL7sWEohx3etSohvreXPE2sFCGXomFte6QcV4",
"hashLink": "https://solscan.io/tx/izDR4SYLYbDGPotZ5Qo4heFww4VMjsuerKk464E9W8qVr5hAPxcL7sWEohx3etSohvreXPE2sFCGXomFte6QcV4",
"amount": "55.9888",
"amountUsd": "55.99",
"updatedAt": 1746461163000,
"status": "Completed",
"fee": "0.15"
}
]
}
}Invalid APP-ID:
No X-TX-AppId header:
Last updated