Skip to main content
POST
Create a ramp widget session for checkout

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Body

application/json
sourceAmount
string
required

Amount to pay, in sourceCurrencyCode units, as a decimal string (e.g. "50").

sourceCurrencyCode
string
required
destinationCurrencyCode
string
required
serviceProvider
string
required
walletAddress
string
required
redirectUrl
string

Response

200

id
string
required

Session id.

token
string
required

Session token for the checkout widget.

widgetUrl
string
required

URL of the checkout widget to open.

serviceProviderWidgetUrl
string
required

The provider's own checkout URL.