To generate virtual account, can set a default preferred bank you would like your customers to generate. This will be the default bank your customer can generate.
NOTE: 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.
POSThttps://api.oneappgo.com/v1/updatebankprefer
Headers
Name
Type
Description
authorization*
String
SECRET_KEY
Request Body
Name
Type
Description
bankcode*
String
Bank code
bankname*
String
Bank Name
{"status":true,"responseCode":"01","message":"Preferred bank successfully updated"}