Get Instance Information
This endpoint allows you to retrieve detailed information about a specific Pay-In transaction. The merchantOrderId is required, and it corresponds to the unique identifier generated by merchant at the time of creating a payment instance.
Endpoint
GEThttps://api.tylt.money/v2/prime-fiat/instance/details?merchantOrderId=dOf6cc25-e9f9-11ef-830e-02d8461243e9
Example Request
GEThttps://api.tylt.money/v2/prime-fiat/instance/details?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 crypto = require('crypto');
const params = {
merchantOrderId: 'dOf6cc25-e9f9-11ef-830e-02d8461243e9'
};
const queryString = new URLSearchParams(params).toString();
const url = `https://api.tylt.money/v2/prime-fiat/instance/details??merchantOrderId?${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 requestOptions = {
method: 'GET',
headers: {
'X-TLP-APIKEY': apiKey,
'X-TLP-SIGNATURE': signature
},
redirect: 'follow'
};
fetch(url, requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.error('error', error));
Response
instanceId
String
Unique identifier for the payment instance.
isBuying
Number
Indicates whether the transaction is a Pay-In (1) or Pay-Out (0).
eventId
Number
Numeric code representing the current transaction lifecycle state.
eventDescription
String
Human-readable description of the transaction status.
fiatAmount
Number
Amount paid by the customer in fiat currency.
fiatCurrencySymbol
String
Fiat currency symbol used in the transaction — always "EUR".
rate
Number
EUR → USDC conversion rate applied for the transaction.
cryptoAmount
Number
Amount of USDC credited to the merchant after conversion.
cryptoCurrencySymbol
String
Crypto currency used for settlement — always "USDC".
fees
Number
Total fees charged for processing the transaction.
bankStatementReference
String
Unique reference shown in the customer’s bank statement.
callBackUrl
String
Merchant-configured URL to receive payment or settlement callbacks.
redirectUrl
String
URL used to redirect the customer to complete or authorize the payment.
userDetails
Object
Merchant-defined metadata associated with the customer.
merchantDetails
Object
Merchant-defined metadata associated with the merchant being paid.
payeeDetails
Object
Object containing users bank account details where the payment will be made.
MDR
Number
Merchant Discount Rate applied to the transaction (percentage).
Last updated