GET /invoices/{invoiceId}

Get the details of a specific invoice.

Example Request

curl https://api.payjunction.com/invoices/e321790e-c030-4501-aa99-09e35158c1a6 \
  -u "login:password" \
  -H "Accept:application/json" \
  -H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY"

Example Response

{
  "amountBase" : "1.99",
  "created" : "2020-11-24T01:19:23Z",
  "customerEmail" : "jdoe@payjunction.com",
  "customerFirstName" : "John",
  "customerIdentifier" : "customer-id",
  "customerLastName" : "Doe",
  "invoiceId" : "e321790e-c030-4501-aa99-09e35158c1a6",
  "invoiceNumber" : "invoice-1",
  "lastModified" : "2020-11-24T01:19:23Z",
  "message" : "Invoice for takeout order #123",
  "status" : "OPEN",
  "terminalId" : 1
}