Create Off Ramp Request
Create a swap request from a specific wallet.
Create an Off-Ramp Transfer
Initiate a mutation to create off ramp transaction request for approval, from one of your organization's inabit wallets.
Please note that this feature is permitted only for inabit wallets.
mutation CreateOfframpTransaction($data: OfframpCreateInput!) {
createOfframpTransaction(data: $data) {
id
status {
status
}
subStatus {
subStatus
}
}
} Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body (OfframpCreateInput) object
Name
Type
Description
amount*
Integer
Transfer Amount (of the financialAsset)
walletId*
String
Wallet's ID
financialAssetId*
String
Financial Asset ID
blockchainId*
String
Blockchain ID
note
String
Transaction Note (optional)
Example body:
Response
Return values:
Name
Type
Description
id
String
Off Ramp Transaction ID
status
String
Transaction Status
subStatus
String
Transaction Sub Status
Try it out!
Was this helpful?