Create Onramp URL

Create Onramp URL

post

Creates an onramp URL for cryptocurrency purchase using fiat currency. This endpoint generates a URL that redirects users to the onramp provider's payment widget where they can buy crypto using fiat currency.

Authorizations
AuthorizationstringRequired

API key for authentication. Include as: Bearer YOUR_API_KEY

Body

Request to create MELD onramp URL for crypto purchase

providerstring · enumRequired

Onramp provider (e.g., MELD)

Possible values:
merchant_idstring · uuidOptional

Merchant identifier (optional)

currency_idstring · uuidRequired

Currency ID for the crypto to purchase

user_reference_idstringRequired

Unique user reference identifier

countrystringRequired

User's country code following ISO 3166-1 alpha-2 standard (e.g., US, GB, DE)

Pattern: ^[A-Z]{2}$
languagestringOptional

Language code for the onramp provider interface

Default: en
operationstring · enumRequired

Operation type for the onramp transaction

Default: depositPossible values:
sitestringRequired

Site identifier for redirect URL (e.g., sportsbet.io, bitcasino.io, livecasino.io)

themestring · enumRequired

UI theme for the onramp provider widget

Default: darkPossible values:
Responses
chevron-right
200

Successfully created onramp URL

application/json

Response containing onramp provider URL

successbooleanRequired

Operation success status

post
/v1/user/onramp/get_url

Last updated