Generate Customer Virtual Account
Creates (or returns the existing) permanent NGN virtual account dedicated to one of your end-users, so deposits to it can be attributed to that user via webhook. The provider requires the end-user’s BVN, name and date of birth. Idempotent per customer_identifier: re-requesting for the same customer returns the account already on file (HTTP 200) rather than creating a duplicate.
customer_identifier. Re-requesting for the same customer returns the account already on file (HTTP 200, existing: true) rather than creating a duplicate. Use a new customer_identifier to create a new account for a different user.customer_identifier
Your own unique id for the end-user (their user id in your system). It is what ties the Rolla account back to a specific user, so the deposit webhook tells you who paid. Pass your own value; if you omit it, one is generated and returned.
Request Body
Example Request
Example Response
bvn_last4. In the sandbox, use the test BVN 22222222222; a made-up value returns 400 "invalid BVN". In production, pass the user’s real BVN.Authorizations
Your Rolla API key
Body
"Tosin"
"Kalejaiye"
"tosin@example.com"
Nigerian mobile number.
"08012345678"
End-user's 11-digit Bank Verification Number. Validated by the provider. Never returned in responses.
"22222222222"
End-user's date of birth in mm/dd/yyyy format.
"01/31/1990"
"12 Marina Road, Lagos"
1 = male, 2 = female.
1, 2 "1"
Your own unique id for this end-user. Pass it so the account maps back to the user and re-requests are idempotent. If omitted, one is generated and returned.
"user-12345"