API Reference
If you prefer a more streamlined approach, bypassing the homepage and address confirmation page, and proceeding directly to the payment page, this interface is designed for you. By leveraging the ‘Create Order
’ interface, we facilitate the generation of a specific payment link. Users should be redirected to this link to finalise their payments.
It is crucial to verify the user's email address, fiat currency, selected digital currency, purchase amount, and payment method comprehensively if utilising the ‘Create Order’ method, as these details are mandatory for order creation.
Format and Error Handling
All requests and responses should be exchanged in JSON format, with the correct application/JSON type.
Errors are returned as JSON objects, consisting of a ‘code’ property depicting the error, accompanied by optional properties for additional details.
Rate Limits
ℹ️ All API requests are subject to rate limitations. From a single IP, the staging environment allows 15 requests per second, while the Production environment is limited to 20 requests per second.
Payment Link Expiry
🟠 Generated payment links remain valid for 2 hours. If payment is not completed within this timeframe, the link expires.
API Workflow
Utilising the API involves generating an order payment URL in two steps:
Step 1: Generate a unique accessToken
for each user and order to obtain the token.
Step 2: Using the accessToken
, create an order, a user-specific payment link is provided.
Domains
Production: https://api.rampnow.io/
Staging: https://api.sandbox.rampnow.io/
Important Note
Using this method necessitates meticulous attention to user details to ensure smooth and secure transactions. Please adhere strictly to the prescribed processes and guidelines to maintain optimal operation and security within the RampNow ecosystem.
Last updated