API Integration
Introduction
- This scheme is only for the On-Ramp scene
- If you want to skip our homepage and address confirmation page and go directly to the cash register payment page, you can try this interface. Through the interface of creating an order, we will generate a payment link, and you need to redirect your users to this link to complete the payment.
- It should be noted that if you use the method of creating an order, you need to fully confirm the user's email address, fiat currency, purchased digital currency, purchase amount, and payment method, which will be used when creating an order.
- All request and response bodies should be in JSON format with the appropriate application/JSON.
- If an error is returned, the response body is also a JSON object with a code property describing the problem, and optional properties providing more details.
- ℹ️ All requests are rate-limited. The rate limit for requests from the same IP in the production environment is 20 requests per second.
- 🟠 The returned payment link is valid for 24 hours. If the user does not complete the payment through this link within 24 hours, the link will become invalid.
- This mode directly skip to the user payment cashier page.
IP White List
You can configure your server IP in the merchant dashboard, and our system will only accept requests from IPs on the whitelist.Usage Of Merchant Dashboard Ramp
API Process
When you use the API, you need to follow the steps below to generate the order payment URL.
Step 1: To get the token, you need to create a separate accessToken for each user
Step 2: Create an order, you need to create an order through accessToken, after creating an order, you will get a user's payment URL.
Step 3: The user redirects to the payment URL.
Domains
Updated 7 days ago