Read Invoice
Built with APIMatic
Returns the details for an invoice.
Individual PDF Invoices can be retrieved by using the "Accept" header application/pdf or appending .pdf as the format portion of the URL:
Accept:application/pdf -Hhttps://acme.chargify.com/invoices/inv_8gd8tdhtd3hgr.pdf > output_file.pdfURL: `https://<subdomain>.chargify.com/invoices/<uid>.<format>`Method: GETRequired parameters: `uid`Response: A single Invoice.The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
The unique identifier for the invoice, this does not refer to the public facing invoice number.
application/json
curl -X GET \ --url 'https://subdomain.chargify.com/invoices/uid.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'