Get an invoice

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.

statusMeaning
UnpaidNot paid yet, or the last attempt failed
PaidPaid
DepositedPaid, and the money has been transferred to your bank
RefundedThe full amount was refunded. A partial refund keeps Paid; check refunded_Amount.
CanceledCancelled before payment
ExpiredPast expiry_Date, and the payment page was opened. Until then an expired invoice can still show Unpaid.

Errors

errorKeyCause
UnauthorizedAccess (403)The invoice does not exist, or belongs to another account or environment
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
int64
required

The invoice ID, from invoiceId in the create response

Responses

isValid: validation errors also return HTTP 200 with isValid: false.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json