Check Invoice Status

See whether an invoice was paid and get payment details

get
Check Invoice Status

https://api.anypayinc.com/invoices/{uid}
In the case that your system is unable to receive webhook or websocket notification of payment and you would like to manually check for payment status, us this enpdpoint.
Request
Response
Request
Path Parameters
uid
required
string
UID of invoice
Response
200: OK
Invoice Not Yet Paid
{
"invoice": {
"amount": 10.71,
"currency": "EUR",
"uid": "LeO7itGT4",
"status": "unpaid",
"uri": "pay:?r=https://api.anypayinc.com/r/LeO7itGT4",
"redirect_url": "https://anypay.city/#/payments/LeO7itGT4"
},
"payment_options": [{
"currency": DASH",
"uri": "dash:?r=https://api.anypayinc.com/r/LeO7itGT4"
}, {
"currency": "BSV",
"uri": "pay:?r=https://api.anypayinc.com/r/LeO7itGT4"
}, {
"currency": "BCH",
"uri": "bitcoincash:?r=https://api.anypayinc.com/r/LeO7itGT4"
}]
}
404: Not Found
No invoice found with that UID
{
"error": "Invoice LeO7itGT3 Not Found"
}

‚Äč