For the complete documentation index, see llms.txt. This page is also available as Markdown.

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/php/instance/details?merchantOrderId=dOf6cc25-e9f9-11ef-830e-02d8461243e9

Example Request

GEThttps://api.tylt.money/v2/prime-fiat/php/instance/details?merchantOrderId=dOf6cc25-e9f9-11ef-830e-02d8461243e9

Request Headers

Name
Type
Example
Description

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.

When using the API, ensure to include your API Key and generate the signature for the request payload using your API Secret. The tables provided above contain example values for illustration purposes only. Please refer to the code snippets for detailed instructions on how to sign the request and generate the signature properly.

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/php/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

Field
Type
Description

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 "PHP".

rate

Number

PHP → USDT conversion rate applied for the transaction.

cryptoAmount

Number

Amount of USDT credited to the merchant after conversion.

cryptoCurrencySymbol

String

Crypto currency used for settlement — always "USDT".

fees

Number

Total fees charged for processing the transaction.

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.

MDR

Number

Merchant Discount Rate applied to the transaction (percentage).

Last updated