List Virtual Accounts
List the account's virtual accounts that haven't expired, newest first by default. See the Listing, Filtering & Sorting guide for the filter and sort syntax.
List the account's virtual accounts that haven't expired, newest first by default. See the Listing, Filtering & Sorting guide for the filter and sort syntax.
API KeyAuthorizationBearer <token>Your API key for the API. You can find it in your integration settings. Starts with sk_
page?integerPage number, starting at 1. Defaults to 1.
int32pagesize?integerVirtual accounts per page, up to 100. Defaults to 10.
int32filters?stringComma-separated field:condition:value filters, for example type:equal:open,expires_at:before:2026-12-01. Fields: id, number, name, payment_method, type, amount, created_at, expires_at, payment_charge_id.
sort?stringField to sort by; prefix with - for descending. One of created_at, expires_at, amount, min_amount, max_amount, name. Defaults to -created_at.
OK
application/json- response
data*array<>page*integerint32page_size*integerint32total_items*integerint32status?stringcurl -X GET 'https://api.kingsplatform.net/api/v1/virtual-accounts'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "payment_method": "string", "number": "string", "name": "string", "type": "string", "amount": null, "min_amount": null, "max_amount": null, "expires_at": null, "paid_at": null } ], "page": 0, "page_size": 0, "total_items": 0, "status": "string"}