curl --request POST \
--url https://staging-vouchers.ventogram.com/api/v1/create-account \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-User: <api-key>' \
--data '{
"bvn": "46444443431",
"currency": "NGN",
"email": "rahman+1@gmail.com",
"firstName": "rahmann",
"lastName": "plus",
"middleName": "one",
"phone": "+2348033333511",
"dob": "25-02-2000",
"country": "NG",
"stateOfOrigin": "Lagos",
"stateOfResidence": "Lagos",
"lgaOfOrigin": "Amuwo",
"lgaOfResidence": "Ifako",
"addressLine1": "27 Obafemi Awolowo Way",
"addressLine2": "",
"addressLine3": ""
}'
{
"success": true,
"message": "bank account successfully completed",
"data": [
{
"bankCode": "",
"bankName": "Test Bank",
"accountName": "TEST-MANAGED-ACCOUNT",
"accountNumber": "1238314012",
"currency": "NGN"
}
]
}
Creates a new managed bank account using user identity and contact information.
curl --request POST \
--url https://staging-vouchers.ventogram.com/api/v1/create-account \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-User: <api-key>' \
--data '{
"bvn": "46444443431",
"currency": "NGN",
"email": "rahman+1@gmail.com",
"firstName": "rahmann",
"lastName": "plus",
"middleName": "one",
"phone": "+2348033333511",
"dob": "25-02-2000",
"country": "NG",
"stateOfOrigin": "Lagos",
"stateOfResidence": "Lagos",
"lgaOfOrigin": "Amuwo",
"lgaOfResidence": "Ifako",
"addressLine1": "27 Obafemi Awolowo Way",
"addressLine2": "",
"addressLine3": ""
}'
{
"success": true,
"message": "bank account successfully completed",
"data": [
{
"bankCode": "",
"bankName": "Test Bank",
"accountName": "TEST-MANAGED-ACCOUNT",
"accountNumber": "1238314012",
"currency": "NGN"
}
]
}
Bank account successfully created
The response is of type object
.