Generate Customer Account
Completes BVN verification with the OTP the customer received, and creates a dedicated virtual bank account for them. A customer can only have one dedicated account — calling this twice for the same customer returns 400 An account generated already.
settlementId is optional: if provided, inbound credits to this customer’s dedicated account are swept into that settlement (wallet) account instead of your default one.
Body (JSON)
Behaviour notes
- The success response contains no account details. Call Fetch Single Customer afterwards to get
bankAccount.accountNumber. - Every failure returns HTTP
400with{ status: "error", message }, including “Customer not found.”. Provider failures come back asFailed to create account. <provider message>. - If the provider rejects the OTP, the customer is still marked BVN-verified internally, but no account is created. You can retry with a fresh OTP.
Authentication
AuthorizationBearer
Access token from Generate Access Token (valid 15 minutes).
Request
This endpoint expects an object.
customerId
otp
settlementId
Response
OK
status
message
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
