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

Advanced Integration Settings

Table of Contents

  1. Automation
  2. Invoices 

Automation

Transaction Response Placeholders

If needed, you can use placeholders from the response to populate specific data in specific fields. 

In the following example, while creating an Automation After Charge, the Response Code (aka Approval Code) for the transaction is automatically input in the Note field using the {{response.processor.approvalCode}} placeholder.

JSON Token Placeholders.png

The following placeholders are available for approved charges and refunds.

Transaction Data

  • Transaction ID: {{transactionId}}
  • URI: {{uri}}
  • Terminal ID: {{terminalId}}
  • Action: {{action}}
  • Amount Base: {{amountBase}}
  • Amount Surcharge: {{amountSurcharge}}
  • Amount Total: {{amountTotal}}
  • Invoice Number: {{invoiceNumber}}
  • Purchase Order Number: {{purchaseOrderNumber}}
  • Method: {{method}}
  • Service: {{service}}
  • Status: {{status}}
  • Status: {{status}}
  • Last Modified: {{lastModified}}

Response

  • Approved: {{response.approved}}
  • Code: {{response.code}}
  • Message: {{response.message}}
  • Processor:
    • Authorized: {{response.processor.authorized}}
    • Approval Code: {{response.processor.approvalCode}}
    • Level 3 Eligible: {{response.processor.level3Eligible}}
  • Address Verification
    • Status: {{response.processor.avs.status}}
    • Requested: {{response.processor.avs.requested}}
  • Match
    • Zip: {{response.processor.avs.match.ZIP}}
    • Address: {{response.processor.avs.match.ADDRESS}}
  • CVV
    • Status: {{response.processor.cvv.status}}
    • Match: {{response.processor.cvv.match}}

Settlement

  • Settled: {{settlement.settled}}

Vault

  • Type: {{vault.type}}
  • Account Type: {{vault.accountType}}
  • Last Four: {{vault.lastFour}}

Billing

  • First Name: {{billing.firstName}}
  • Last Name: {{billing.lastName}}
  • Email: {{billing.email}}
  • Identifier: {{billing.identifier}}
  • Address
    • Address: {{billing.address.address}}
    • Zip: {{billing.address.zip}}

Automation for Invoices

Response Placeholders for Automation After Invoice

Response Placeholders

  • Amount Base: {{amountBase}}
  • Amount Total: {{amountTotal}}
  • AttachmentID: {{attachmentId}}
  • Completed At: {{completedAt}}
  • Created: {{created}}
  • Customer Email: {{customerEmail}}
  • Customer First Name: {{customerFirstName}}
  • Customer Identifier: {{customerIdentifier}}
  • Customer Last Name{{customerLastName}}
  • Hosted Invoice URL: {{hostedInvoiceUrl}}
  • Invoice Id: {{invoiceId}}
  • Invoice Number: {{invoiceNumber}}
  • Last Modified: {{lastModified}}
  • Message: {{message}}
  • Status: {{status}}
  • Terminals Id: {{terminalId}}
  • Transaction Id: {{transactionId}}

Example: