Get an account
Authorization
KeyID Timestamp Nonce Signature Your key id, gyv_k_live_... or gyv_k_sandbox_....
In: header
Unix seconds. Must be within 5 minutes of our clock.
In: header
A unique value per request. Replays are rejected.
In: header
Ed25519 signature over the canonical string. See the Signing guide.
In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/virtual-accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "currency": "NGN", "account_number": "string", "account_name": "string", "bank_name": "string", "status": "active", "standing": true, "holder_type": "individual", "on_hold": true, "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "reference": "string", "created_at": "2019-08-24T14:15:22Z" }}Create a customer's account
Creates a naira account for one of your customers, or returns the one they already have: 201 when created, 200 when it already existed. An individual customer needs `bvn` and `date_of_birth`; their name, email and phone come from the customer. A business customer needs `registration_number` and its representative's `first_name`, `last_name`, `bvn` and `date_of_birth`. Needs the `virtual_accounts` capability.
List accounts
Newest first. `next_cursor` is returned only on a full page.