CreddotDocsCreddot Docs
API referenceVirtual accounts

List dedicated collection accounts

Requires virtual-accounts:read. Results are scoped to the API key environment. Provision accounts through the Business owner/admin API.

GET
/api/v1/virtual-accounts

Requires virtual-accounts:read. Results are scoped to the API key environment. Provision accounts through the Business owner/admin API.

Authorization

api-key
headerx-api-key<token>

Your API key: ck_test_... for test mode, ck_live_... for live. Send it with x-api-secret (or Authorization: Bearer ).

Header Parameters

x-api-secret?string

Recommended: API secret sent over HTTPS. You may send it as Authorization: Bearer instead. If supplied, x-timestamp and x-signature are not required.

x-timestamp?string

Legacy signed mode: Unix time in milliseconds; maximum clock skew five minutes.

x-signature?string

Legacy signed mode: HMAC-SHA256(secret, timestamp.METHOD.url.idempotencyKey.bodyHash).

Response Body

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.creddot.com/api/v1/virtual-accounts'
Example Response
[  {    "id": "string",    "environment": "SANDBOX",    "currency": "NGN",    "accountNumber": "1023456789",    "accountName": "Creddot Business Ltd.",    "bankName": "Creddot Sandbox Bank",    "provider": "CREDDOT_SANDBOX",    "providerReference": "string",    "active": true,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }]