Create a ramp widget session for checkout
curl --request POST \
--url https://api.agg.market/ramp/session \
--header 'Content-Type: application/json' \
--header 'x-app-id: <api-key>' \
--data '
{
"sourceAmount": "<string>",
"sourceCurrencyCode": "<string>",
"destinationCurrencyCode": "<string>",
"serviceProvider": "<string>",
"walletAddress": "<string>",
"redirectUrl": "<string>"
}
'{
"id": "<string>",
"token": "<string>",
"widgetUrl": "<string>",
"serviceProviderWidgetUrl": "<string>"
}Ramp
Create a ramp widget session for checkout
POST
/
ramp
/
session
Create a ramp widget session for checkout
curl --request POST \
--url https://api.agg.market/ramp/session \
--header 'Content-Type: application/json' \
--header 'x-app-id: <api-key>' \
--data '
{
"sourceAmount": "<string>",
"sourceCurrencyCode": "<string>",
"destinationCurrencyCode": "<string>",
"serviceProvider": "<string>",
"walletAddress": "<string>",
"redirectUrl": "<string>"
}
'{
"id": "<string>",
"token": "<string>",
"widgetUrl": "<string>",
"serviceProviderWidgetUrl": "<string>"
}Authorizations
Your application ID. Required for all app-tier and user-tier routes.
Body
application/json
⌘I