GET /transactions/{transactionId}

Get a Transaction

Returns all of the transaction details.

Example Response

{
      "transactionId": 3601, 
      "uri": "https://api.payjunction.com/transactions/3601", 
      "terminalId": 1, 
      "action": "CHARGE", 
      "amountBase": "1.00", 
      "amountTax": "1.00", 
      "amountShipping": "1.00", 
      "amountTip": "1.00", 
      "amountSurcharge": "1.00", 
      "amountTotal": "5.00",
      "invoiceNumber": "Invoice 5", 
      "purchaseOrderNumber": "Custom PO", 
      "method": "KEYED",
      "status": "CAPTURE",
      "signatureStatus": "SIGNED", 
      "created": "2013-11-18T22:15:32Z", 
      "lastModified": "2013-11-18T22:15:32Z", 
      "response": {
            "approved": true, 
            "code": "00", 
            "message": "Approved", 
            "processor": {
                  "authorized": true, 
                  "approvalCode": "PJ20AP", 
                  "avs": {
                        "status": "REQUESTED", 
                        "requested": "BYPASS", 
                        "match": {
                              "ZIP": true, 
                              "ADDRESS": true
                        }
                  }, 
                  "cvv": {
                        "status": "NOT_REQUESTED"
                  }
            }
      }, 
      "settlement": {
            "settled": true, 
            "settlementId": 99
      }, 
      "vault": {
            "type": "CARD", 
            "accountType": "VISA", 
            "lastFour": "1111"
      }, 
      "billing": {
            "firstName": "John", 
            "middleName": "J", 
            "lastName": "Doe", 
            "companyName": "PayJunction", 
            "email": "jdoe@payjunction.com", 
            "phone": "8006010230 x2", 
            "phone2": "8006010230 x2", 
            "jobTitle": "Support", 
            "identifier": "Billing Customer id", 
            "website": "http://www.payjunction.com", 
            "address": {
                  "address": "1903 State St", 
                  "city": "Santa Barbara", 
                  "state": "CA", 
                  "country": "USA", 
                  "zip": "93101"
            }
      }, 
      "shipping": {
            "firstName": "Jane", 
            "middleName": "J", 
            "lastName": "Doe", 
            "companyName": "PayJunction", 
            "email": "janedoe@payjunction.com", 
            "phone": "8006010230 x2", 
            "phone2": "8006010230 x2", 
            "jobTitle": "Support", 
            "identifier": "Shipping Customer Id", 
            "website": "https://www.payjunction.com", 
            "address": {
                  "address": "1903 State St", 
                  "city": "Santa Barbara", 
                  "state": "CA", 
                  "country": "USA", 
                  "zip": "93101"
            }
      }
}

Available Results for "method" Response

  • KEYED (Manually entered to the system)
  • SWIPED (Read from a swipe of a card)
  • CHIP (Read via EMV chip).
  • RECURRING (Previously saved payment ran as recurring).
  • INSTANT (Recharged by Vault or recharged by transaction id)
  • CONTACTLESS (Apple Pay, Android Pay, etc. Any "tap to pay" methods)
"method": "KEYED|SWIPED|CHIP|RECURRING|INSTANT|CONTACTLESS",

Available Results for "signatureStatus" Response

  • PENDING (waiting for signature capture).
  • NOT_REQUIRED (signature not required).
    • The card brand association did not require a signature.
      - OR -
    • A PIN was requested and verified.
  • NOT_REQUESTED (a request for signature was not sent).
  • SIGNED (transaction has a signature captured).
"signatureStatus": "PENDING|NOT_REQUIRED|NOT_REQUESTED|SIGNED",
API versions prior to 2019-12-09 returned NOT_REQUIRED_PIN instead of NOT_REQUIRED. The change to NOT_REQUIRED in API version 2019-12-09 more accurately reflects that a signature was not obtained either because a PIN was entered or because the card association rules did not require a signature to be collected to prove card holder authorization.

Available Card Brands for "vault" Response

These are all of the available card brands (accountType) that are returned in the response for "vault".

"vault": {
     "type": "CARD", 
     "accountType": "AMERICAN_EXPRESS|DINERS|DISCOVER|CHECKING|GENERAL_LEDGER|JCB|MASTERCARD|SAVINGS|UNKNOWN|VISA", 
     "lastFour": "1111"
},