Generate Account
This endpoint allows you to generate virtual account for a specified bank as setup in the preferred bank endpoint above
POST
https://api.oneappgo.com/v1/dedicated-account
You can pass bankcode as a field to the generate account endpoint to generate account number on the go without considering the default set bank. Get the list of available bank and their code from the partnerbank endpoint.
Headers
Name | Type | Description |
---|---|---|
authorization* | String | SECRET_KEY |
Request Body
Name | Type | Description |
---|---|---|
trackingid* | String | A unique id for the user generating account for |
firstname* | String | First name of the user |
lastname* | String | Last name of the user |
userbvn* | String | Bank Verification Number of the user |
useremail* | String | Email Address |
userphone* | String | Phone number |
bankcode | String | Bank code |
Take a look at how you might do this:
Sample response
Last updated