Get Pay-In Transaction Information
This endpoint allows you to retrieve detailed information about a specific Pay-In transaction. The orderId
is required, and it corresponds to the unique identifier generated by Tylt for the transaction.
Endpoint
GET
https://api.tylt.money/transactions/merchant/getPayinTransactionInformation?
orderId={orderId}
Example Request
GET
https://api.tylt.money/transactions/merchant/getPayinTransactionInformation?orderId=a49579dd-7711-11ef-8277-02d8461243e9
Request Headers
X-TLP-APIKEY
string
93ee3c5e133697251b5362bcf9cc8532476785t8768075616f58d88
Your Tylt API Key, used to identify your account in API requests.
X-TLP-SIGNATURE
string
d0afef3853dfc8489c8b9affa5825171fdd7y7685675e4966a05f66ed2b3eaf9462b3c9c0
HMAC SHA-256 signature generated using the API Secret Key to secure the request.
Code Snippet
const axios = require('axios');
const crypto = require('crypto');
const params = {
orderId: 'a49579dd-7711-11ef-8277-02d8461243e9'
};
const queryString = new URLSearchParams(params).toString();
const url = `https://api.tylt.money/transactions/merchant/getPayinTransactionInformation?${queryString}`;
const apiKey = 'your-api-key';
const secretKey = 'your-secret-key';
const signaturePayload = JSON.stringify(params);
const signature = crypto.createHmac('sha256', secretKey)
.update(signaturePayload)
.digest('hex');
const config = {
method: 'get',
url: url,
headers: {
'X-TLP-APIKEY': apiKey,
'X-TLP-SIGNATURE': signature
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.error(error);
});
Response
{
"msg": "",
"data": {
"orderId": "a49579dd-7711-11ef-8277-02d8461243e9",
"merchantOrderId": "b73b73b-87wtbc-q36gbc-331n3",
"baseAmount": 1,
"baseCurrency": "USDT",
"settledCurrency": "USDT",
"settledAmountRequested": 1,
"settledAmountReceived": 0,
"settledAmountCredited": 0,
"commission": 0.01,
"network": "BSC",
"depositAddress": "0xdbfc3d80de367906ccb456fe2eed57c39f05f63c",
"status": "Expired",
"paymentURL": "https://app.tylt.money/pscreen/a49579dd-7711-11ef-8277-02d8461243e9",
"callBackURL": "",
"transactions": [],
"createdAt": "2024-09-20T05:31:53Z",
"expiresAt": "2024-09-20T06:31:53Z",
"updatedAt": "2024-09-20T06:31:56Z",
"isFinal": 1,
"isCredited": 0,
"customerName": "TradingLeagues",
"comments": "Description testing 234"
}
}
Last updated