Skip to main content
POST
/
v1
/
payment
/
virtual-account
Generate virtual account
curl --request POST \
  --url https://staging.api.payluk.ng/v1/payment/virtual-account \
  --header 'Authorization: Bearer <token>' \
  --header 'customer-id: <customer-id>'
{
  "status": 200,
  "message": "Virtual account generated successfully",
  "data": {
    "accountNumber": "9988776655",
    "bankCode": "090286",
    "amount": 50000,
    "accountName": "PAYLUK / ADA EZE",
    "bank": "SAFE HAVEN SANDBOX BANK",
    "expiresIn": "in 30 minutes"
  }
}

Authorizations

Authorization
string
header
required

Your secret key as a Bearer token. The key prefix selects the environment: sk_test_... (test) or sk_live_... (live).

Headers

customer-id
string
required

The merchant customer this request acts on behalf of.

Response

Virtual account generated.