
Okra uses receipts to provide confirmation and details about your payments for the services and products that you use.
Receipts are important because they provide transparency about the services that you get for your payments. Use them to monitor billing information, check balances, and confirm the accuracy of charges for the specific products that you use.
How it works
The Okra API returns a receipt
object in the response every time you make a successful request to any of the paid endpoints.
Check out the response schemas for these endpoints by clicking on the 200
responses to understand the data you receive:
- BVN verify
- Bulk BVN Verify
- Verify customer
- Nuban Verify
- Nuban Name Verify
- Process income
- Process spending patterns
Sample response
This is an example receipt
object:
{
"receipt":{
"status":true,
"msg":"Receipt has been successfully created",
"data":{
"receipt":{
"charge_breakdown":{
"vat":0
},
"breakdown":{
"discount":0,
"billable_products":[
]
},
"billingStatus":true,
"paid":false,
"method":"wallet",
"charge":99.6,
"wallet_balance":30943409,
"addons":[
],
"_id":"14ac6dc62ea67f003c8a0db8",
"plan_term":"postpaid",
"owner":"14ac6dc62ea67f003c8a0db9",
"type":"bvn-verify",
"currency":"NGN",
"plan":"volume",
"plan_type":"14ac6dc62ea67f003c8a0dba",
"record":"14ac6dc62ea67f003c8a0dbb",
"created_at":"2023-07-10T20:44:54.942Z",
"last_updated":"2023-07-10T20:44:54.942Z"
}
}
}
}