v1
latestOpenAPI 3.0.02026-07-24140351.5 KBTransactions
Initiate a Transaction
Initiates a transaction and returns relevant data, including redirect type and URL. These details can be found within the 'transactionInformation' object in the response.
🛠️ Please Use https://api-stg.onramper.com/ For Test Environments
post/checkout/intent
Headers
Authorizationstring
Request body
object required
Example request
{
"onramp": "moonpay",
"source": "eur",
"destination": "btc",
"amount": 100,
"type": "buy",
"paymentMethod": "creditcard",
"network": "bitcoin",
"uuid": "6756256e-d07f-42f0-a873-4d992eec8a2e",
"originatingHost": "buy.onramper.com",
"partnerContext": "123-CLIENT-ORDER-ID-456",
"email": "satoshi@gmx.com",
"wallet": {
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
},
"supportedParams": {
"theme": {
"isDark": false,
"themeName": "light-theme",
"primaryColor": "#241D1C",
"secondaryColor": "#FFFFFF",
"primaryTextColor": "#141519",
"secondaryTextColor": "#6B6F80",
"cardColor": "#F6F7F9"
},
"partnerData": {
"redirectUrl": {
"success": "http%3A%2F%2Fredirecturl.com%2F"
}
}
}
}Response
OK
object required