Wallets as a Service

Transfer between WaaS wallets or sweep to master

Moves money from a wallet to another wallet, or sweeps it to your NGN business wallet with a master destination. Amount is a whole number of naira. Transfer fees are debited from the source wallet.

POST
/api/v1/waas/transfers

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/waas/transfers" \  -H "Content-Type: application/json" \  -d '{    "source_reference": "transfer-001",    "from_wallet_id": "8b9c84c1-d66f-45a0-b01d-9f87581202d6",    "destination": {      "type": "wallet"    },    "amount": 15000  }'
{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "reference": "WST_abcdefgh1234",
    "sourceReference": "string",
    "status": "pending",
    "amount": 0,
    "currency": "NGN",
    "destinationType": "wallet",
    "payoutTransaction": {},
    "payinTransaction": {},
    "fromWallet": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "reference": "WAAS_abcdefgh1234",
      "purposeLabel": "string",
      "sourceReference": "string",
      "businessState": "test",
      "currency": "NGN",
      "status": "active",
      "customer": {},
      "createdAt": "2019-08-24T14:15:22Z",
      "account": {}
    },
    "toWallet": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "reference": "WAAS_abcdefgh1234",
      "purposeLabel": "string",
      "sourceReference": "string",
      "businessState": "test",
      "currency": "NGN",
      "status": "active",
      "customer": {},
      "createdAt": "2019-08-24T14:15:22Z",
      "account": {}
    },
    "createdAt": "2019-08-24T14:15:22Z"
  }
}
Empty
Empty
Empty
Empty
Empty

How is this guide?

Last updated on