Use On ramp and Off ramp integrations to get instant liquidity and witdhrawal.
You can easily pull liquidity or make withdrawals between Orangepill platform and external ramps, wallets and exchanges using Ramp REST API interface.
You must have account on target ramps.
Ramp methods
Set authentication data
To use Ramps you must first set authentication data for identity.
Consult Supported ramps table to understand which parameters are required to authenticate against specific ramp.
echo'Store authetication data for ramp Buda'curl--location--requestPOST'https://api.orangepill.cloud/v1/ramps' \--header 'x-api-key: AXVubzpwQDU1dzByYM==' \--header 'idempotency-key: 27373fabc392933dffabb' \--header 'Content-Type: application/json' \--data-raw '{ "ramp": "buda", "identity": "639675ab191e9023f356dfa6", "authentication": { "api_key": "YOUR_API_KEY", "secret": "YOUR_SECRET }, "data": { "description": "Authentication data for Buda" }}'
In response we get new authentication object.
{"id":"641a224c56c6fc279151d008","ramp":"buda","identity":"639675ab191e9023f356dfa6","authentication": {"api_key":"YOUR_API_KEY","secret":"YOUR_SECRET" },"data": {"description":"Authentication data for Buda" }}
Supported countries
Use this method to retrieve list of supported countries for this ramp.
Identity country must be on this list to be able to interact with a ramp.
echo'Get supported countries for ramp Buda'curl--location--requestGET'https://api.orangepill.cloud/v1/ramps/buda/countries' \--header 'x-api-key: AXVubzpwQDU1dzByYM==' \--header 'idempotency-key: 27373fabc392933dffabb' \--header 'Content-Type: application/json'
In response we get array of supported countries.
["AR","CL","CO","PE"]
Supported assets
Use this method to retrieve list of supported assets for this ramp.
Account must be on this list to be able to interact with a ramp.