Skip to navigation

List / Fetch Corporate Sub-accounts

View as Markdown

List your corporate sub-accounts, or fetch one directly with coporate_reference.

Query parameters

ParamTypeRequiredRules
coporate_referencestringnoSub-account id (coporate_reference from Create). When set, returns a single-item array. Must not be empty if sent.
statusstringnoACTIVE or DUPLICATE. Default: both.
pageintegerno>= 1, default 1.
pageSizeintegerno1-100, default 20.
sortstringnocreatedAt (default) or balance.
orderstringnoasc or desc (default).

Important: empty query values are rejected - ?coporate_reference= returns 400 "coporate_reference" is not allowed to be empty. Omit/disable optional params you are not using. Unknown params are also rejected ("<param>" is not allowed). Only the first validation error is returned, as a plain message string.

Response balance is a number in NGN. meta is included on both list and single fetch.

Authentication

AuthorizationBearer

Access token from Generate Access Token (valid 15 minutes).

Query parameters

pagestringOptional
pageSizestringOptional
sortstringOptional
orderstringOptional

Response

List / Single (coporate_reference)

statusstringOptional
messagestringOptional
datalist of objectsOptional
metaobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error