To retrieve an invoice details, you can make a GET request as provided below:
{
"Content-Type": "application/json"
"Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.xxxxx"
}
{
"has_error": false,
"message": "Operation succeeded.",
"data": [
{
"ppid": "TX10xxxxxx02",
"amount_payable": 300000,
"payment_due_date": "2024-05-30 15:45:23",
"account_name": "John Doe Limited",
"account_number": 0123456789,
"bank_name": "Wema Bank",
"invoice_status": "PENDING",
"created_by": "John Doe",
"created_on": "2024-05-20 15:45:23"
}
]
}
This response indicates that everything went well and your schedule has uploaded successfully uploaded. This process also triggers an email with your invoice, carrying same information as in the above response.
Field | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
has_error | Indicates whether or not the request results in an error | ||||||||||||||||||
message | The operation response message | ||||||||||||||||||
data |
Contains the invoice details to be used for making payment.
|