curl --location --request POST '/api/v1/subaccounts' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"business_name": "string",
"settlement_bank": "string",
"account_number": "string",
"percentage_charge": 0,
"account_name": "string",
"currency": "string",
"mobile_money_number": "string",
"mobile_money_provider": "string",
"description": "string",
"primary_contact_email": "user@example.com",
"primary_contact_phone": "string",
"metadata": {}
}'{
"status": true,
"message": "string",
"data": {
"subaccount_code": "string",
"business_name": "string",
"account_number": "string",
"settlement_bank": "string",
"percentage_charge": 0,
"currency": "string",
"id": "string",
"created_at": "string",
"settlement": {
"type": "string",
"account_number": "string",
"bank_code": "string",
"phone_number": "string",
"mobile_network_code": "string"
}
}
}