v3

The customer's payment and payout accounts

The caller's own payment and payout accounts, as a plain array. Archived accounts are left out; a rejected one is still listed, carrying its `verificationStatus`, because its owner is the one person who needs to see that. Account numbers are always masked. A card or bank account carries `limitRaisedAt` once its limit is raised (its own verification, beside the name match in `verificationStatus`); a customer sees a payout method as verified only once it is set. A card carries its expiry as `cardExpMonth` (1-12) and `cardExpYear` (four digits) when known.

GET/api/v3/users/me/payment-instruments

Send two credentials: your own, and the customer's.

How authentication works
Yours
x-api-keyorAuthorization: Bearer
The customer's
User-Authorization: BearerorUser-Identifier

Language

Environment

Credentials

Your credential

The customer's credential

Choose an environment first.

cURL request
curl -X GET https://api.btcdirect.eu/api/v3/users/me/payment-instruments \  -H "x-api-key: $BTCD_API_KEY" \  -H "User-Authorization: Bearer $BTCD_USER_TOKEN"
Choose an environment to run this.

Response

The instruments.
{  "message": "The instruments."}

Responses

200The instruments.
401No authenticated customer.
503`maintenance` — full maintenance is on, and every endpoint refuses every request until it ends (`endsAt`, when it has an end). Nothing is wrong with the request and nothing was done; the same request is accepted afterwards. Told apart from any other 503 by `code`.

Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.