Create a Pay-in Instance
This endpoint allows you to create a new payment instance and receive a URL that can be used to launch the Tylt CrossRamp Open Banking Pay-In widget. Through the widget, the merchant's end customer can make a deposit or payment to the merchant using Open Banking. The payment is settled in USDC into the merchants wallet.
Endpoint
POSThttps://api.tylt.money/v2/prime-fiat/instance/payin
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.
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.
Request Body
Field Name
Type
Description
userDetails
JSON Object
Custom fields associated with the enduser, making a payment to the merchant. These fields are included in web-hook notifications and other API responses for easy reference and tracking. An empty object can be sent.
merchantOrderId
string
Mandatory. A UUID used by the merchant to reference this instance or any transaction related to it.
callBackUrl
string
Mandatory. The URL to which payment status updates are sent.
redirectUrl
string
Mandatory. The URL to redirect the user after completing the payment.
amount
number
Mandatory. This is the amount the user wants to deposit in EUR.
currencySymbol
string
Mandatory. Supported Currency is "EUR" only
merchantDetails
JSON Object
The merchantDetails object identifies the merchant on whose behalf the transaction is being processed. This information is required for transaction attribution, reconciliation, risk screening, and regulatory reporting.
The following fields must be provided inside the merchantDetails object:
merchantName The legal or DBA name of the merchant.
merchantUrl The official website URL of the merchant. This must be a valid HTTPS URL representing the merchant’s active operating website.
merchantInternalId A unique internal identifier assigned by the merchant. This identifier is used for reconciliation, reporting, and ongoing transaction tracking and must remain consistent across transactions.
All fields within merchantDetails are mandatory. Transactions submitted without this object, or with incomplete merchant details, will be rejected.
skipPreview
number
This parameter controls whether the payment preview screen is displayed to the customer prior to payment authorization.
When set to
0(default), the preview screen is shown.When set to
1, the preview screen is bypassed and the customer is redirected directly to the payment authorization step.
The ability to bypass the preview screen is subject to merchant risk controls. Merchants classified as high risk or with an elevated chargeback history are not permitted to bypass the preview screen. In such cases, the system will automatically enforce the preview screen regardless of the value provided.
Code Snippet
Response
instanceId
String
Unique identifier for the Open Banking payment instance.
merchantOrderId
String
Merchant-provided order reference used for internal tracking and reconciliation.
url
String
Hosted checkout URL where the customer is redirected to complete the EUR Open Banking payment.
userDetails
Object
Merchant-supplied customer metadata returned exactly as provided in the request.
merchantDetails
Object
Object containing merchant identification information associated with the transaction.
fiatAmount
Number
Amount to be paid by the customer.
fiatCurrencySymbol
String
Fiat currency used in the transaction — always EUR.
cryptoAmount
Number
Amount of USDC to be credited to the merchant upon successful completion of the payment.
cryptoCurrencySymbol
String
Crypto currency used for settlement — always USDC.
rate
Number
EUR → USDC conversion rate applied at the time the quote was generated.
Last updated