Creating a offramp order
Create Order
- POST
/v2/payout/orders
curl --request POST \
--url https://sandbox-api.transfi.com/v2/payout/orders \
--header 'accept: application/json' \
--header 'authorization: Basic dHJhbnNmaV9xYTo=' \
--header 'content-type: application/json' \
--data '
{
"additionalDetails": {
"firstName": "John",
"phone": "1234567890"
},
"deviceDetails": {
"ipInfo": {
"ip": "186.228.23.255"
},
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7; rv:118.0) Gecko/20100101 Firefox/118.0"
},
"purposeCode": "fee_payments",
"amount": 10,
"email": "[email protected]",
"currency": "PHP",
"depositDetails": {
"cryptoTicker": "USDC",
"sendersWalletAddress": "0xcf2888157e35d8595cba5abd7970f94a43f0d2d2"
},
"paymentCode": "gcash"
}
'
{
"orderId": "OR-250428110808237",
"cryptoAmount": 0.179142,
"walletAddress": "0xbd09d65597b27626b23cd2e2d7664943df007293"
}
We received a walletAddress in the response on which the stablecoin has to be transferred.
Updated about 2 months ago