Onramp
Last updated
Last updated
ONRAMP - a service that provides a reliable tool for creating fiat payments for goods and services, with the help of which your customers will be able to make purchases of cryptocurrency and other payment transactions.
API integration allows end users to pay with fiat, while the merchant receives cryptocurrency funds directly into their Calypso account. Your user will be able to make payments using cards and other methods.
To create a fiat order and initiate payment for your user, you need to complete the following steps:
You need to get a list of available GEOs and fiat currencies for them -
Next, you need to select a geo and get a list of proposed payment methods for it -
After selecting a payment method, fill in the required parameters for the order and create it -
After receiving the order ID, you need to confirm it and you will receive a payment link for your user -
If the user made a payment and it received a successful status, you will receive a webhook - FIAT_DEPOSIT_FIAT_FUNDS_RECEIVED
If a user makes a payment and it gets an unsuccessful status, you will receive a webhook - FIAT_DEPOSIT_ORDER_FAILED
If the user has not completed the payment process and the order has expired, you will receive a webhook - FIAT_DEPOSIT_ORDER_EXPIRED
After receiving a status change webhook, we recommend checking the reliability of the order information via a request -
CREATED
Fiat order successfully created
IN_PROGRESS
Fiat order in process
PAID
Fiat order successfully paid
COMPLETED
Funds after fiat order payment are transferred to your company account
FAILED
Fiat order payment failed
EXPIRED
Fiat order payment not completed and order expired
Request:
Response 200 OK:
Request:
Response 200 OK:
Request:
Response 200 OK:
Request:
Response 200 OK:
Request:
Response 200 OK: