Skip to main content
POST
/
virtual-account-create
Request virtual account setup
curl --request POST \
  --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/virtual-account-create \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "status": 200,
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "account_number": "0123456789",
    "account_name": "Ade Johnson",
    "bank_name": "Wema Bank",
    "bank_code": "wema-bank",
    "is_active": true,
    "created_at": "2026-04-19T10:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

JWT access token obtained from /auth-verify (login context) or /auth-signup. Set the bearer_token environment variable in your API client to apply it globally.

Response

Virtual account already exists (returned immediately) or job enqueued

success
boolean
Example:

true

status
integer
Example:

200

data
object