v1
latestOpenAPI 3.0.12026-07-225791279.7 KBSub Accounts
View Payaza Sub Account Details
This retrieves the Payaza subaccount details for a merchant using the subaccount account reference value in the Create A Subaccount API..
get/payaza-account/api/v1/subaccounts/merchant/enquiry/{payazaSubAccountReference}
Path parameters
payazaSubAccountReferencestring required
The account reference of a Payaza Subaccount
Response
Payment successful
Example response
{
"message": "Account details fetched",
"status": true,
"data": [
{
"id": 1110,
"accountName": "Test Sub Account",
"accountStatus": "ACTIVE",
"businessFk": 11407,
"currency": "NGN",
"owner": "PAYAZA",
"country": "NGA",
"creationReference": "DC625576B5BF426A94CB6B1D868C0",
"actionStatus": "ACTIVE",
"payazaAccountReference": "2010000120",
"virtualAccounts": [
{
"accountNumber": "9977719429",
"accountName": "MERCHANT(Test Sub Account)",
"bankCode": "000023"
}
]
}
]
}