PAYMENTS
SIMPLIFIED


Offer all the payment features your
customers want with a fast integration
that limits your PCI scope.

GET STARTED

API Base URLs

  • Production Server

    For processing live transactions

    https://api.payjunction.com

  • Test Server

    For development

    https://api.payjunctionlabs.com

Most Commonly Referred to Articles

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

API version 2023-05-16 or above required to receive the surcharge object and fields in transaction response details.
Click here for more information regarding surcharge.
{
  "amountBase" : "1.00",
  "amountSurcharge" : "0.03",
  "amountTotal" : "1.03",
  "surcharge" : {
       "percentage" : 3.00000,
       "status" : "APPLIED"
  },
  "created" : "2020-11-24T01:19:23Z",
  "customerEmail" : "jdoe@payjunction.com",
  "customerFirstName" : "John",
  "customerIdentifier" : "customer-id",
  "customerLastName" : "Doe",
  "hostedInvoiceUrl": "https://www.payjunction.com/trinity/invoice#/e321790e-c030-4501-aa99-09e35158c1a6",
  "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
}