Create an Order

post/orders

Request

  • Base URL
    https://api.sandbox.waza.co/v2
  • URL
    https://api.sandbox.waza.co/v2/orders
  • Auth
    API key in header waza-x-key

Headers

waza-x-keystring

Your waza apikey

Request body

beneficiary_idstring required

ID of the beneficiary receiving the payment

amountstring required
currencystring required

Send currency in ISO string

descriptionstring required
client_referencestring

A uuid generated by your system

quote_idstring required

Can be used to force the order to fail if rates have changed between the time of quote generation and order creation

metadataobject

Any additional structured metadata you may want to associate with this order, maximum of 10keys and total size of not more than 256bytes

Response

200

Example response

{
  "data": {
    "id": "16d91a42-8b39-4485-a84b-58bc461232e2",
    "amount": 100000,
    "currency": "NGN",
    "receive_amount": 174,
    "receive_currency": "USD",
    "beneficiary_id": "clh9bsjzt0046c0vo6hpw5v1n",
    "state": "pending",
    "metadata": {
      "extra": "Sending GHS for NGN"
    },
    "fee_currency": "NGN",
    "rate": 0.00174044732325749,
    "description": "Test API Transfer",
    "destination": {
      "type": "business",
      "address": "Some address",
      "business_name": "My good business",
      "bank_name": "Test Bank",
      "bank_code": "044",
      "account_number": "11111434"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.