Authorizations
Nomba authenticates API calls with OAuth2 HTTP bearer tokens. There are two methods of authentication; Client-Credentials method and PKCE (Proof Key for Code Exchange) method. In each of the methods, You will get an ACCESS_TOKEN. You need to use an "Authorization" HTTP header to provide your ACCESS_TOKEN. For example: Authorization: {ACCESS_TOKEN}.
Headers
The parent accountId of the business.
"890022ce-bae0-45c1-9b9d-ee7872e6ca27"
Path Parameters
The account reference or 10 digit Virtual account number of the VA to be updated.
"INVOICE-20230823-0000 or 0107841806"
Body
The request payload required to update a virtual account
The new accountReference you want to issue to the Virtual account. This will be the value advised in webhook post update
8 - 64"INVOICE_20230908_0001"
Account holder's name you want to update to
8 - 64"Daniel Scorsese"
Callback url you want to update to
"https://webhook.site/98ef100f-5adc-4434-800a-0808h60bd8d7"
If passed, the virtual account will only accept payments for this amount. Be careful as once being set this Virtual account can never take any amount again, thou you can always update the expected amount
"100.0"