VA balance and statement
Summary
These APIs give Klasha’s merchants the ability to retrieve the balance of their Virtual Account as well as the statement of their transactions.
API specifications
Generate a bearer token
Use the token request endpoint to generate a bearer token and pass in the header of the api calls below.
Get Virtual Account Balance
Get Virtual Account Balance
GET
{{env_url}}/nucleus/virtual/account/collections/business/
You’d need to pass the merchant public key in the header as the x-auth-token. This can be obtained from your merchant dashboard → Settings → Generate API keys → Merchant public key.
Headers
x-auth-token*
String
merchant public key
Authorization*
String
bearer <token>
Retrieve Transaction Statements
Retrieve Transaction Statements
POST
{{env_url}}/nucleus/tnx/paginated/filter/v2
You will need to pass the merchant public key in the header as the x-auth-token. This can be obtained from your merchant dashboard → Settings → Generate API keys → Merchant public key.
You can get all your transactions by passing an empty body, or you can pass a body with any combination of the following 3 filters (all of them or just 1 or 2)
Headers
x-auth-token*
String
merchant public key
Request Body
currency
String
transaction currency
status
String
transaction status
tnxRef*
String
unique transaction reference
Last updated

