Get an invoice.
GET
/v1/invoices/{id}
const url = 'https://api.ridleypay.com/v1/invoices/architecto';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.ridleypay.com/v1/invoices/architecto \ --header 'Authorization: Bearer <token>'Returns details about a specific invoice.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
The ID of the invoice.
Example
architecto