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

Body (OfframpCreateInput) object

Example body:

{
  "data": {
    "amount": 15000,
    "wallet": {
      "id": "clp5bm4f1002icg01d526dgw9" # inabit wallet iD
    }
    "financialAsset": {
      "id": "clefn78h5012plc6rxbmofnop" # USDT Asset
    },
    "blockchain": {
      "id": "clefn78gv011olc6rcwtt0wel" # Ethereum network
    },
    "note": "Transfer to my bank account" # Optional note of the transaction
  }
}

Response

Return values:

{
	"data": {
		"CreateOfframpTransaction": {
			"id": "clph3mik5000t8f01qqr0ol71",
			"status": "Processing",
			"subStatus": "Fiat Processing" # crypto was sent, fiat transfer is being processed
		}
	}
}

Try it out!