Offramp API Integration.
Create Order Offramp
Create Order
2min
Create offramp Order.
POST
Request
Header Parameters
x-api-key
required
String
api key from dashboard
Authorization
required
String
Bearer <authToken>
X-Forwarded-For
required
String
<client>, <proxy1>, <proxy2>...
need this for Instant payout
Body Parameters
sellTokenSymbol
required
String
token symbol which user is selling
sellTokenAddress
optional
String
smart contract address
chainId
required
Number
chain ID - example "80001" for polygon testnet
fiatCurrency
required
String
currency symbol example: "inr"
fiatAmount
required
Number
amount quantity to purchase example:100 for 100 inr
senderWalletAddress
required
String
Wallet address of the sender.
bankDetails
required
Object
metaData
optional
Object
Datatype : JSON Object
Useful when you want to send some extra information with your order.
Example :
"metaData" : {
"userID" : "ABCXXX",
"userName" : "user",
}
Note: metaData should be set as key-value pairs of `strings` only
X-Forwarded-For
required
Number
<client>, <proxy1>, <proxy2>...
refundWalletAddress
required
String
Default fiat is only INR , for PHP contact our sales team to enable it. And from api create order with paymentMode as PHP_EWALLET_GCASH or PHP_EWALLET_PAYMAYA or PHP_EWALLET_GRABPAY for PHP
Updated 02 Dec 2023
Did this page help you?