Get Payout Request Details
The reference_id
submitted by the merchant at the time of initiating the payout can be used. This allows merchants to track the outcome of each specific payout within the instance.
Endpoint
GET
https://api.tylt.money/fiatPayout/h2h/payouts?requestId={request_id}&payoutId={reference_id}
Example Request
GET
https://api.tylt.money/p2pRampsMerchant/getInstanceDetails?merchantOrderId=dOf6cc25-e9f9-11ef-830e-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');
// Define the parameters used in the query string
const params = {
requestId: '3248cf6b-9e50-48de-b73a-08c3a2425873',
payoutId: 'merchant-ref-test-xlsx-22'
};
// Convert parameters to query string
const queryString = new URLSearchParams(params).toString();
const url = `https://api.tylt.money/fiatPayout/h2h/payouts?${queryString}`;
// API credentials
const apiKey = 'your-api-key';
const secretKey = 'your-secret-key';
// The payload for signature must match the actual params
const signaturePayload = JSON.stringify(params);
const signature = crypto.createHmac('sha256', secretKey)
.update(signaturePayload)
.digest('hex');
// Configure the request
const config = {
method: 'get',
url: url,
headers: {
'Content-Type': 'application/json',
'X-TLP-APIKEY': apiKey,
'X-TLP-SIGNATURE': signature
}
};
// Make the request
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data, null, 2));
})
.catch((error) => {
console.error('Error:', error.response ? error.response.data : error.message);
});
Response
{
msg: 'Request fetched successfully',
data: {
requestData: {
requestId: '3248cf6b-9e50-48de-b73a-08c3a2425873',
requestFileUrl: 'https://assets.tylt.money/fiat_payout_files/merchant_upload_416_3248cf6b-9e50-48de-b73a-08c3a2425873.xlsx',
merchantRefId: 'merchant-ref-test-xlsx-22',
statusId: 4,
status: 'completed',
transactions: 2,
amount: 212,
cryptoAmount: 2.48,
rate: 87,
feePercentage: 2,
feeAmount: 0.05,
createdAt: '2025-07-17T07:32:07Z',
updatedAt: '2025-07-17T07:37:06Z',
fiatCurrencySymbol: 'INR',
cryptoCurrencySymbol: 'USDT'
},
transactionsCount: {
pendingCount: 0,
pendingFiatAmount: 0,
pendingCryptoAmount: 0,
completedCount: 2,
completedFiatAmount: 212,
completedCryptoAmount: 2.48,
failedCount: 0,
failedFiatAmount: 0,
failedCryptoAmount: 0,
totalCount: 2,
totalFiatAmount: 212,
totalCryptoAmount: 2.48
}
}
}
Last updated