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

Editing Transactions

Here are some common use cases:

  • Shipping amount needs to be added before the transaction is batched.
  • A tip needs to be added before transaction is batched.
  • User misentered info and needs to update it.
  • User wants to void a transaction.

Once a transaction has been batched the status and amounts can not be updated. You can update contact info, invoice number and purchase order number after the transaction has been batched. See complete Api details on updating a transaction here.

Editing Shipping Amount

The transaction id is put in the URI and the method is update to PUT.

Production Request

curl -X PUT -u "login:password" -H "Accept: application/json" -H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY" \
    -d "amountShipping=25.00" \
    "https://api.payjunction.com/transactions/12345"

Editing Tip Amount

The transaction id is put in the URI and the method is update to PUT.

Production Request

curl -X PUT -u "login:password" -H "Accept: application/json" -H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY" \
    -d "amountTip=15.00" \
    "https://api.payjunction.com/transactions/12345"

Editing the Shipping Contact

The transaction id is put in the URI and the method is update to PUT.

Production Request

curl -X PUT -u "login:password" -H "Accept: application/json" -H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY" \
    -d "shippingAddress=1903 State Street" \
    -d "shippingCity=Santa Barbara" \
    -d "shippingState=CA" \
    -d "shippingZip=93101" \
    -d "invoiceNumber=124547" \
    "https://api.payjunction.com/transactions/12345"

Voiding a Transaction After It Has Been Run

The transaction id is put in the URI and the method is update to PUT.

Production Request

curl -X PUT -u "login:password" -H "Accept: application/json" -H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY" \
    -d "status=VOID" \
    "https://api.payjunction.com/transactions/12345"