Wallets as a Service

Associate a customer with a WaaS wallet

Attaches a customer to the wallet. Send an existing customer reference, or a customer object to find the customer by email or create one. A wallet can belong to one customer.

POST
/api/v1/waas/wallets/{walletId}/customers

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

walletId*string
Formatuuid

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/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/customers" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "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": {}
  }
}
Empty
Empty
Empty

How is this guide?

Last updated on