Wallets as a Service

List WaaS transfers and sweeps

Lists your transfers and sweeps, with their transactions and wallets. toWallet is null for a sweep.

GET
/api/v1/waas/transfers

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

status?string
Value in"pending" | "completed" | "failed"
from_wallet_id?string
Formatuuid
to_wallet_id?string

Destination wallet ID. Sweeps have no destination wallet.

Formatuuid
destination_type?string
Value in"wallet" | "master"
source_reference?string
Lengthlength <= 255
search?string

Partial match on the transfer reference, transaction reference, or your source reference.

Lengthlength <= 255
startDate?string
Formatdate
endDate?string
Formatdate
sort?string
Value in"asc" | "desc" | "ASC" | "DESC"
page?integer
Range1 <= value
limit?integer
Range1 <= value <= 100

Response Body

application/json

curl -X GET "https://example.com/api/v1/waas/transfers"
{
  "requestId": "string",
  "requestTimestamp": "string",
  "message": "string",
  "statusCode": 200,
  "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"
    }
  ],
  "links": {},
  "meta": {}
}
Empty
Empty

How is this guide?

Last updated on