Get one invoice by its ID, with its status, payment url, items and payment attempts (transactions).
Use it to verify a payment before you complete an order: check that status is Paid, that ref_Number is your order, and that amount matches. See Verify Payment Status.
status
Meaning
Unpaid
Not paid yet, or the last attempt failed
Paid
Paid
Deposited
Paid, and the money has been transferred to your bank
Refunded
The full amount was refunded. A partial refund keeps Paid; check refunded_Amount.
Canceled
Cancelled before payment
Expired
Past expiry_Date, and the payment page was opened. Until then an expired invoice can still show Unpaid.
Errors
errorKey
Cause
UnauthorizedAccess (403)
The invoice does not exist, or belongs to another account or environment