Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Semi Integrated Transactions

Create Token-Only Transaction

post

Collect card data and generate a payment token for future use without authorizing or capturing funds.

Header parameters
api-keystringRequired

An access API key issued to you by Xplor Pay.

Body
amountstringRequired

Total transaction amount.

Example: 80.00
typestringRequired

Transaction type to process. For example, SALE, AUTH, REFUND. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
cardstringOptional

Card number or payment token.

Example: 4111111111111111
secure3dstringRequired

3‑D Secure cryptogram or CAVV (Cardholder Authentication Verification Value) provided by the 3DS provider.

Example: AAEBBBYSNAAAAA+gcCAjdAAAAAA=
secure3d-ecistringRequired

Electronic Commerce Indicator from the issuer.

Example: 05
secure3d-platformstringRequired

Name of the platform or provider used to perform 3‑D Secure (3DS) authentication.

Example: EVERVAULT
secure3d-directory-server-transaction-idstringRequired

Directory Server Transaction ID that ties the authentication to the transaction authorization.

Example: ccb4016e-776c-56f1-8000-0000849d676e
secure3d-protocol-versionstringRequired

3‑D Secure protocol version used to ensure correct liability and routing.

Example: 2.2.0
idstringOptional

Transaction identifier from a previous sale or authorization.

cscstringOptional

Card security code.

Example: 999
commentsstringOptional

Additional notes for the transaction.

Example: Bad tipper .90 on 80.00 transaction
cvmstringOptional

Cardholder verification method. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON (None)
exp-datestringOptional

Card expiration date in MMyy format.

Example: 0932
track2-datastringOptional

Clear-text Track 2 data.

Example: text
encrypted-track-datastringOptional

Encrypted track data; requires track-format.

Example: text
track-formatstringOptional

Format of encrypted track data. Allowable values: MAGTEK, IDTECH, DEJAVOO, PAX.

tip-amountstringOptional

Tip amount applied to the transaction.

Example: 0.9
invoicestringOptional

Merchant-defined invoice number.

Example: invoice123
authorization-codestringOptional

Authorization code for a forced sale obtained from an external processor.

Example: AC789U
purchase-orderstringOptional

Merchant-defined purchase order number.

Example: PO789
email-receiptbooleanOptional

Indicates whether to send an email receipt to the customer.

Example: false
email-addressstringOptional

The customer's email address.

Example: test@test.com
customer-idstringOptional

Merchant-defined customer identifier.

Example: Customer 1234
order-idstringOptional

Merchant-defined order identifier.

Example: 99988d
descriptionstringOptional

Description of the transaction.

Example: Transaction desc
client-ipstringOptional

IP address where the request originated.

Example: 127.0.0.1
billing-is-shippingstringOptional

Indicates whether billing and shipping addresses match.

Example: false
create-tokenstringOptional

Creates a payment token during the transaction.

Example: false
merchant-legacy-tokenbooleanOptional

Indicates use of a legacy payment token.

Example: false
token-descriptionstringOptional

Description for the created token.

Example: text
card-typestringOptional

Card brand when creating a token. Allowable values: VISA, MASTERCARD, AMERICAN EXPRESS, DISCOVER, DINERS CLUB, JCB.

Example: VISA
emv-datastringOptional

EMV transaction data payload.

Example: text
key-serial-numberstringOptional

Key serial number for EMV encryption.

Example: text
emv-entry-methodstringOptional

Method used to capture EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Identifies the integrating application.

Example: MySoftware_Version1.3
software-type-versionstringOptional

Version of the integrating application.

Example: text
pin-datastringOptional

Encrypted PIN data for PIN-based transactions.

Example: text
contactlessbooleanOptional

Indicates contactless usage (full EMV only).

Example: false
contactless-devicebooleanOptional

Indicates contactless device usage (full EMV only).

Example: false
sales-tax-amountstringOptional

Sales tax amount applied to the transaction.

Example: 90.0
sales-tax-typestringOptional

Sales tax classification. Allowable values: LOCAL_SALES_TAX, TAX_EXEMPT.

Example: LOCAL_SALES_TAX
check-fieldstringOptional

Field used for duplicate transaction checks.

Example: invoice
service-feestringOptional

Service fee applied to the transaction.

Example: 2.9
check-field-midbooleanOptional

Enables merchant-level duplicate validation for EMV.

Example: true
is-amexbooleanOptional

Indicates whether the card is American Express.

Example: false
is-sp30booleanOptional

Indicates whether the transaction is processed on an SP30 terminal.

Example: false
card-inquirybooleanOptional

Validates the card before token storage.

Example: true
partial-authorizationbooleanOptional

Allows partial approval when full amount is unavailable.

Example: false
add-tax-to-amountbooleanRequired

Indicates whether to add tax to the transaction amount.

Example: false
Responses
200

Successful Sale Transaction

Contains all details related to the authorized transaction.

amountstringOptional

Total value associated with the transaction.

currencystringOptional

Currency used for the transaction.

idstringOptional

Unique transaction ID.

Example: 123456
invoicestringOptional

Invoice number associated with the transaction.

Example: Test56
descriptionstringOptional

Description of the transaction.

Example: transaction description
commentsstringOptional

Comments associated with the transaction.

Example: These are my comments
serverIdstringOptionalDeprecated
createdstringOptional

Date and time when the transaction was created.

Example: 8/10/2017 12:12:12:00 UTC
typestringOptional

Identifies the transaction type. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
resultstringOptional

Result of the transaction. For example, APPROVED. Allowable values: APPROVED, DECLINED, ERROR.

Example: APPROVED
cardstringOptional

Card number used for the transaction.

cscstringOptional

Card Security Code used.

Example: 999
cvmstringOptional

Cardholder Verification Method used. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON
authorization-codestringOptional

Code indicating the transaction authorization.

Example: AE12368
avs-result-codestringOptional

Result code from Address Verification Service. Allowable values: X, Y, A, W, Z, N, U, R, S, G.

Example: X
avs-result-code-descriptionstringOptional

Description of the AVS result.

Example: All digits match (9-digit Zip Code)
csc-result-codestringOptional

Result code from CSC verification. Allowable values: M, N, P, S, U, X.

Example: X
csc-result-code-descriptionstringOptional

Description of the CSC result.

Example: Service provider did not respond
tip-adjusted-amountstringOptional

Amount of the adjusted tip.

Example: 1.0
avs-streetstringOptional

Street used in AVS check.

Example: Example Street
avs-zipstringOptional

ZIP code used in AVS check.

Example: 85284
token-descriptionstringOptional

Description of the token created.

original-amountstringOptional

Original amount before adjustments.

Example: 12.0
tip-amountstringOptional

Tip amount included in the transaction.

Example: 0.2
ref-idstringOptional

Reference ID for the transaction.

Example: 568972
entry-methodstringOptional

Method used to enter payment data of the transaction. For example, Swipe/Manual.

Example: EMV_DIP
batch-string-idstringOptional

Identifies the settlement batch ID.

Example: 000101
order-idstringOptional

Order id passed in with the transaction.

Example: order99
purchase-orderstringOptional

Purchase order number.

Example: purcahseOrder88
customer-idstringOptional

Customer id passed in with the transaction.

Example: 1234Customer
email-addressstringOptional

Email address associated with the transaction.

Example: test@test.com
display-messagestringOptional

Displayable message about transaction result.

Example: Transaction Approved
result-codestringOptional

Result code associated with transaction result.

Example: 000
billing-is-shippingbooleanOptional

Indicates if billing and shipping addresses are the same.

Example: true
tip-adjustedstringOptional

Indicates if the tip was adjusted.

Example: false
exp-datestringOptional

Expiration date of the card.

Example: 1232
client-ipstringOptional

IP address of the client initiating the transaction.

Example: 127.0.0.1
voidedstringOptional

Indicates if the transaction was voided.

Example: false
pendingstringOptional

Indicates if the transaction is pending.

Example: false
voided-authstringOptional

Indicates if the authorization was voided.

Example: false
settledstringOptional

Indicates if the transaction has been settled.

Example: false
statusstringOptional

Status of the transaction. For example, approved.

Example: approved
emv-datastringOptional

Raw EMV data string.

Example: 0099daje93993903
key-serial-numberstringOptional

Serial number of the encryption key used.

Example: 0099daje93993903
emv-entry-methodstringOptional

Method used to enter EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Type of software used for the transaction.

Example: MySoftware_Version1.3
customer-first-namestringOptional

First name of the customer.

Example: John
customer-last-namestringOptional

Last name of the customer.

Example: Doe
plan-namestringOptional

Name of the payment plan used.

Example: Plan 56
card-typestringOptional

Type of card used. For example, VISA.

Example: VISA
contactlessstringOptional

Indicates if contactless payment was used.

Example: false
contactless-devicestringOptional

Indicates if a contactless device was used.

Example: false
sales-tax-typestringOptional

Type of sales tax applied.

sales-tax-amountstringOptional

Amount of sales tax applied.

Example: 6.0
add-tax-to-amountbooleanOptional

Indicates if tax was added to the transaction amount.

Example: false
emv-data-responsestringOptional

Response data from EMV processing.

signature-base-64-imagestringOptional

Base64-encoded image of the signature.

last-fourstringOptional

Last four digits of the card number.

check-field-duplicatebooleanOptional

Indicates if a duplicate check was performed.

service-feestringOptional

Service fee applied to the transaction

base-amountstringOptional

Base amount before taxes and fees.

merchant-idstringOptional

Identifier for the merchant.

terminal-idstringOptional

Identifier for the terminal used.

surcharge-appliedbooleanOptional

Indicates if a surcharge was applied.

partial-authorizationbooleanOptional

Indicates if partial authorization was allowed.

Example: false
partial-approvedbooleanOptional

Indicates if the transaction was partially approved.

Example: false
secure3d-ecistringOptional

Electronic Commerce Indicator for 3D Secure.

secure3d-result-codestringOptional

Result code from 3D Secure authentication.

total-amountstringOptional

Total amount including all charges.

external-transaction-referencestringOptional

External reference ID for the transaction.

token-idstringOptional

Identifier of the payment token.

create-tokenbooleanOptional

Indicates if a token should be created for the transaction.

Example: true
digital-wallet-typestringOptional

Type of digital wallet used. For example, GOOGLE.

Example: GOOGLE
post/rest/v2/terminal/transactions/token-only
POST /rest/v2/terminal/transactions/token-only HTTP/1.1
api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 2315

{
  "type": "SALE",
  "amount": "0.00",
  "create-token": "true",
  "card": "4111111111111111",
  "secure3d": "AAEBBBYSNAAAAA+gcCAjdAAAAAA=",
  "secure3d-eci": "05",
  "secure3d-platform": "EVERVAULT",
  "secure3d-directory-server-transaction-id": "ccb4016e-776c-56f1-8000-0000849d676e",
  "secure3d-protocol-version": "2.2.0",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "csc": "999",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "cvm": "NON (None)",
  "exp-date": "0932",
  "track2-data": "text",
  "encrypted-track-data": "text",
  "track-format": "IDTECH",
  "tip-amount": "0.9",
  "invoice": "invoice123",
  "authorization-code": "AC789U",
  "purchase-order": "PO789",
  "email-receipt": false,
  "email-address": "test@test.com",
  "customer-id": "Customer 1234",
  "order-id": "99988d",
  "description": "Transaction desc",
  "client-ip": "127.0.0.1",
  "billing-is-shipping": "false",
  "merchant-legacy-token": false,
  "token-description": "text",
  "card-type": "VISA",
  "emv-data": "text",
  "key-serial-number": "text",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "software-type-version": "text",
  "pin-data": "text",
  "contactless": false,
  "contactless-device": false,
  "sales-tax-amount": "90.0",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "check-field": "invoice",
  "service-fee": "2.9",
  "check-field-mid": true,
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "is-amex": false,
  "is-sp30": false,
  "card-inquiry": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "add-tax-to-amount": false
}
{
  "amount": "text",
  "currency": "text",
  "id": "123456",
  "invoice": "Test56",
  "description": "transaction description",
  "comments": "These are my comments",
  "created": "8/10/2017 12:12:12:00 UTC",
  "type": "SALE",
  "result": "APPROVED",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "card": "text",
  "csc": "999",
  "cvm": "NON",
  "authorization-code": "AE12368",
  "avs-result-code": "X",
  "avs-result-code-description": "All digits match (9-digit Zip Code)",
  "csc-result-code": "X",
  "csc-result-code-description": "Service provider did not respond",
  "tip-adjusted-amount": "1.0",
  "avs-street": "Example Street",
  "avs-zip": "85284",
  "token-description": "text",
  "original-amount": "12.0",
  "tip-amount": "0.2",
  "ref-id": "568972",
  "entry-method": "EMV_DIP",
  "batch-string-id": "000101",
  "order-id": "order99",
  "purchase-order": "purcahseOrder88",
  "customer-id": "1234Customer",
  "email-address": "test@test.com",
  "display-message": "Transaction Approved",
  "result-code": "000",
  "billing-is-shipping": true,
  "tip-adjusted": "false",
  "exp-date": "1232",
  "client-ip": "127.0.0.1",
  "voided": "false",
  "pending": "false",
  "voided-auth": "false",
  "settled": "false",
  "status": "approved",
  "emv-data": "0099daje93993903",
  "key-serial-number": "0099daje93993903",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "customer-first-name": "John",
  "customer-last-name": "Doe",
  "plan-name": "Plan 56",
  "card-type": "VISA",
  "contactless": "false",
  "contactless-device": "false",
  "sales-tax-type": "text",
  "sales-tax-amount": "6.0",
  "add-tax-to-amount": false,
  "emv-data-response": "text",
  "emv": {
    "application-name": "Visa Debit",
    "application-id": "A0000000041010",
    "terminal-verification-results": "0400088000",
    "transaction-status-information": "E800",
    "iad": "ABC123",
    "transaction-certificate": "CERT1234",
    "application-transaction-counter": "0001"
  },
  "signature-base-64-image": "text",
  "last-four": "text",
  "check-field-duplicate": true,
  "service-fee": "text",
  "base-amount": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "merchant-id": "text",
  "terminal-id": "text",
  "surcharge-applied": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "partial-approved": false,
  "additional-amounts": [
    {
      "amount": "text",
      "account-type": "text",
      "amount-type": "text"
    }
  ],
  "secure3d-eci": "text",
  "secure3d-result-code": "text",
  "total-amount": "text",
  "external-transaction-reference": "text",
  "token-id": "text",
  "create-token": true,
  "digital-wallet-type": "GOOGLE"
}

Create Sale Transaction

post

Create a sale transaction to authorize and capture a payment in a single step.

Header parameters
api-keystringRequired

An access API key issued to you by Xplor Pay.

Body
amountstringRequired

Total transaction amount.

Example: 80.00
typestringRequired

Transaction type to process. For example, SALE, AUTH, REFUND. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
cardstringOptional

Card number or payment token.

Example: 4111111111111111
secure3dstringRequired

3‑D Secure cryptogram or CAVV (Cardholder Authentication Verification Value) provided by the 3DS provider.

Example: AAEBBBYSNAAAAA+gcCAjdAAAAAA=
secure3d-ecistringRequired

Electronic Commerce Indicator from the issuer.

Example: 05
secure3d-platformstringRequired

Name of the platform or provider used to perform 3‑D Secure (3DS) authentication.

Example: EVERVAULT
secure3d-directory-server-transaction-idstringRequired

Directory Server Transaction ID that ties the authentication to the transaction authorization.

Example: ccb4016e-776c-56f1-8000-0000849d676e
secure3d-protocol-versionstringRequired

3‑D Secure protocol version used to ensure correct liability and routing.

Example: 2.2.0
idstringOptional

Transaction identifier from a previous sale or authorization.

cscstringOptional

Card security code.

Example: 999
commentsstringOptional

Additional notes for the transaction.

Example: Bad tipper .90 on 80.00 transaction
cvmstringOptional

Cardholder verification method. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON (None)
exp-datestringOptional

Card expiration date in MMyy format.

Example: 0932
track2-datastringOptional

Clear-text Track 2 data.

Example: text
encrypted-track-datastringOptional

Encrypted track data; requires track-format.

Example: text
track-formatstringOptional

Format of encrypted track data. Allowable values: MAGTEK, IDTECH, DEJAVOO, PAX.

tip-amountstringOptional

Tip amount applied to the transaction.

Example: 0.9
invoicestringOptional

Merchant-defined invoice number.

Example: invoice123
authorization-codestringOptional

Authorization code for a forced sale obtained from an external processor.

Example: AC789U
purchase-orderstringOptional

Merchant-defined purchase order number.

Example: PO789
email-receiptbooleanOptional

Indicates whether to send an email receipt to the customer.

Example: false
email-addressstringOptional

The customer's email address.

Example: test@test.com
customer-idstringOptional

Merchant-defined customer identifier.

Example: Customer 1234
order-idstringOptional

Merchant-defined order identifier.

Example: 99988d
descriptionstringOptional

Description of the transaction.

Example: Transaction desc
client-ipstringOptional

IP address where the request originated.

Example: 127.0.0.1
billing-is-shippingstringOptional

Indicates whether billing and shipping addresses match.

Example: false
create-tokenstringOptional

Creates a payment token during the transaction.

Example: false
merchant-legacy-tokenbooleanOptional

Indicates use of a legacy payment token.

Example: false
token-descriptionstringOptional

Description for the created token.

Example: text
card-typestringOptional

Card brand when creating a token. Allowable values: VISA, MASTERCARD, AMERICAN EXPRESS, DISCOVER, DINERS CLUB, JCB.

Example: VISA
emv-datastringOptional

EMV transaction data payload.

Example: text
key-serial-numberstringOptional

Key serial number for EMV encryption.

Example: text
emv-entry-methodstringOptional

Method used to capture EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Identifies the integrating application.

Example: MySoftware_Version1.3
software-type-versionstringOptional

Version of the integrating application.

Example: text
pin-datastringOptional

Encrypted PIN data for PIN-based transactions.

Example: text
contactlessbooleanOptional

Indicates contactless usage (full EMV only).

Example: false
contactless-devicebooleanOptional

Indicates contactless device usage (full EMV only).

Example: false
sales-tax-amountstringOptional

Sales tax amount applied to the transaction.

Example: 90.0
sales-tax-typestringOptional

Sales tax classification. Allowable values: LOCAL_SALES_TAX, TAX_EXEMPT.

Example: LOCAL_SALES_TAX
check-fieldstringOptional

Field used for duplicate transaction checks.

Example: invoice
service-feestringOptional

Service fee applied to the transaction.

Example: 2.9
check-field-midbooleanOptional

Enables merchant-level duplicate validation for EMV.

Example: true
is-amexbooleanOptional

Indicates whether the card is American Express.

Example: false
is-sp30booleanOptional

Indicates whether the transaction is processed on an SP30 terminal.

Example: false
card-inquirybooleanOptional

Validates the card before token storage.

Example: true
partial-authorizationbooleanOptional

Allows partial approval when full amount is unavailable.

Example: false
add-tax-to-amountbooleanRequired

Indicates whether to add tax to the transaction amount.

Example: false
Responses
200

Successful Sale Transaction

Contains all details related to the authorized transaction.

amountstringOptional

Total value associated with the transaction.

currencystringOptional

Currency used for the transaction.

idstringOptional

Unique transaction ID.

Example: 123456
invoicestringOptional

Invoice number associated with the transaction.

Example: Test56
descriptionstringOptional

Description of the transaction.

Example: transaction description
commentsstringOptional

Comments associated with the transaction.

Example: These are my comments
serverIdstringOptionalDeprecated
createdstringOptional

Date and time when the transaction was created.

Example: 8/10/2017 12:12:12:00 UTC
typestringOptional

Identifies the transaction type. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
resultstringOptional

Result of the transaction. For example, APPROVED. Allowable values: APPROVED, DECLINED, ERROR.

Example: APPROVED
cardstringOptional

Card number used for the transaction.

cscstringOptional

Card Security Code used.

Example: 999
cvmstringOptional

Cardholder Verification Method used. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON
authorization-codestringOptional

Code indicating the transaction authorization.

Example: AE12368
avs-result-codestringOptional

Result code from Address Verification Service. Allowable values: X, Y, A, W, Z, N, U, R, S, G.

Example: X
avs-result-code-descriptionstringOptional

Description of the AVS result.

Example: All digits match (9-digit Zip Code)
csc-result-codestringOptional

Result code from CSC verification. Allowable values: M, N, P, S, U, X.

Example: X
csc-result-code-descriptionstringOptional

Description of the CSC result.

Example: Service provider did not respond
tip-adjusted-amountstringOptional

Amount of the adjusted tip.

Example: 1.0
avs-streetstringOptional

Street used in AVS check.

Example: Example Street
avs-zipstringOptional

ZIP code used in AVS check.

Example: 85284
token-descriptionstringOptional

Description of the token created.

original-amountstringOptional

Original amount before adjustments.

Example: 12.0
tip-amountstringOptional

Tip amount included in the transaction.

Example: 0.2
ref-idstringOptional

Reference ID for the transaction.

Example: 568972
entry-methodstringOptional

Method used to enter payment data of the transaction. For example, Swipe/Manual.

Example: EMV_DIP
batch-string-idstringOptional

Identifies the settlement batch ID.

Example: 000101
order-idstringOptional

Order id passed in with the transaction.

Example: order99
purchase-orderstringOptional

Purchase order number.

Example: purcahseOrder88
customer-idstringOptional

Customer id passed in with the transaction.

Example: 1234Customer
email-addressstringOptional

Email address associated with the transaction.

Example: test@test.com
display-messagestringOptional

Displayable message about transaction result.

Example: Transaction Approved
result-codestringOptional

Result code associated with transaction result.

Example: 000
billing-is-shippingbooleanOptional

Indicates if billing and shipping addresses are the same.

Example: true
tip-adjustedstringOptional

Indicates if the tip was adjusted.

Example: false
exp-datestringOptional

Expiration date of the card.

Example: 1232
client-ipstringOptional

IP address of the client initiating the transaction.

Example: 127.0.0.1
voidedstringOptional

Indicates if the transaction was voided.

Example: false
pendingstringOptional

Indicates if the transaction is pending.

Example: false
voided-authstringOptional

Indicates if the authorization was voided.

Example: false
settledstringOptional

Indicates if the transaction has been settled.

Example: false
statusstringOptional

Status of the transaction. For example, approved.

Example: approved
emv-datastringOptional

Raw EMV data string.

Example: 0099daje93993903
key-serial-numberstringOptional

Serial number of the encryption key used.

Example: 0099daje93993903
emv-entry-methodstringOptional

Method used to enter EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Type of software used for the transaction.

Example: MySoftware_Version1.3
customer-first-namestringOptional

First name of the customer.

Example: John
customer-last-namestringOptional

Last name of the customer.

Example: Doe
plan-namestringOptional

Name of the payment plan used.

Example: Plan 56
card-typestringOptional

Type of card used. For example, VISA.

Example: VISA
contactlessstringOptional

Indicates if contactless payment was used.

Example: false
contactless-devicestringOptional

Indicates if a contactless device was used.

Example: false
sales-tax-typestringOptional

Type of sales tax applied.

sales-tax-amountstringOptional

Amount of sales tax applied.

Example: 6.0
add-tax-to-amountbooleanOptional

Indicates if tax was added to the transaction amount.

Example: false
emv-data-responsestringOptional

Response data from EMV processing.

signature-base-64-imagestringOptional

Base64-encoded image of the signature.

last-fourstringOptional

Last four digits of the card number.

check-field-duplicatebooleanOptional

Indicates if a duplicate check was performed.

service-feestringOptional

Service fee applied to the transaction

base-amountstringOptional

Base amount before taxes and fees.

merchant-idstringOptional

Identifier for the merchant.

terminal-idstringOptional

Identifier for the terminal used.

surcharge-appliedbooleanOptional

Indicates if a surcharge was applied.

partial-authorizationbooleanOptional

Indicates if partial authorization was allowed.

Example: false
partial-approvedbooleanOptional

Indicates if the transaction was partially approved.

Example: false
secure3d-ecistringOptional

Electronic Commerce Indicator for 3D Secure.

secure3d-result-codestringOptional

Result code from 3D Secure authentication.

total-amountstringOptional

Total amount including all charges.

external-transaction-referencestringOptional

External reference ID for the transaction.

token-idstringOptional

Identifier of the payment token.

create-tokenbooleanOptional

Indicates if a token should be created for the transaction.

Example: true
digital-wallet-typestringOptional

Type of digital wallet used. For example, GOOGLE.

Example: GOOGLE
post/rest/v2/terminal/transactions/sale
POST /rest/v2/terminal/transactions/sale HTTP/1.1
api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 2317

{
  "type": "SALE",
  "amount": "80.00",
  "create-token": "false",
  "card": "4111111111111111",
  "secure3d": "AAEBBBYSNAAAAA+gcCAjdAAAAAA=",
  "secure3d-eci": "05",
  "secure3d-platform": "EVERVAULT",
  "secure3d-directory-server-transaction-id": "ccb4016e-776c-56f1-8000-0000849d676e",
  "secure3d-protocol-version": "2.2.0",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "csc": "999",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "cvm": "NON (None)",
  "exp-date": "0932",
  "track2-data": "text",
  "encrypted-track-data": "text",
  "track-format": "IDTECH",
  "tip-amount": "0.9",
  "invoice": "invoice123",
  "authorization-code": "AC789U",
  "purchase-order": "PO789",
  "email-receipt": false,
  "email-address": "test@test.com",
  "customer-id": "Customer 1234",
  "order-id": "99988d",
  "description": "Transaction desc",
  "client-ip": "127.0.0.1",
  "billing-is-shipping": "false",
  "merchant-legacy-token": false,
  "token-description": "text",
  "card-type": "VISA",
  "emv-data": "text",
  "key-serial-number": "text",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "software-type-version": "text",
  "pin-data": "text",
  "contactless": false,
  "contactless-device": false,
  "sales-tax-amount": "90.0",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "check-field": "invoice",
  "service-fee": "2.9",
  "check-field-mid": true,
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "is-amex": false,
  "is-sp30": false,
  "card-inquiry": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "add-tax-to-amount": false
}
{
  "amount": "text",
  "currency": "text",
  "id": "123456",
  "invoice": "Test56",
  "description": "transaction description",
  "comments": "These are my comments",
  "created": "8/10/2017 12:12:12:00 UTC",
  "type": "SALE",
  "result": "APPROVED",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "card": "text",
  "csc": "999",
  "cvm": "NON",
  "authorization-code": "AE12368",
  "avs-result-code": "X",
  "avs-result-code-description": "All digits match (9-digit Zip Code)",
  "csc-result-code": "X",
  "csc-result-code-description": "Service provider did not respond",
  "tip-adjusted-amount": "1.0",
  "avs-street": "Example Street",
  "avs-zip": "85284",
  "token-description": "text",
  "original-amount": "12.0",
  "tip-amount": "0.2",
  "ref-id": "568972",
  "entry-method": "EMV_DIP",
  "batch-string-id": "000101",
  "order-id": "order99",
  "purchase-order": "purcahseOrder88",
  "customer-id": "1234Customer",
  "email-address": "test@test.com",
  "display-message": "Transaction Approved",
  "result-code": "000",
  "billing-is-shipping": true,
  "tip-adjusted": "false",
  "exp-date": "1232",
  "client-ip": "127.0.0.1",
  "voided": "false",
  "pending": "false",
  "voided-auth": "false",
  "settled": "false",
  "status": "approved",
  "emv-data": "0099daje93993903",
  "key-serial-number": "0099daje93993903",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "customer-first-name": "John",
  "customer-last-name": "Doe",
  "plan-name": "Plan 56",
  "card-type": "VISA",
  "contactless": "false",
  "contactless-device": "false",
  "sales-tax-type": "text",
  "sales-tax-amount": "6.0",
  "add-tax-to-amount": false,
  "emv-data-response": "text",
  "emv": {
    "application-name": "Visa Debit",
    "application-id": "A0000000041010",
    "terminal-verification-results": "0400088000",
    "transaction-status-information": "E800",
    "iad": "ABC123",
    "transaction-certificate": "CERT1234",
    "application-transaction-counter": "0001"
  },
  "signature-base-64-image": "text",
  "last-four": "text",
  "check-field-duplicate": true,
  "service-fee": "text",
  "base-amount": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "merchant-id": "text",
  "terminal-id": "text",
  "surcharge-applied": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "partial-approved": false,
  "additional-amounts": [
    {
      "amount": "text",
      "account-type": "text",
      "amount-type": "text"
    }
  ],
  "secure3d-eci": "text",
  "secure3d-result-code": "text",
  "total-amount": "text",
  "external-transaction-reference": "text",
  "token-id": "text",
  "create-token": true,
  "digital-wallet-type": "GOOGLE"
}

Create Refund Transaction

post

Create a refund transaction for a previously completed payment.

Header parameters
api-keystringRequired

An access API key issued to you by Xplor Pay.

Body
amountstringRequired

Total transaction amount.

Example: 80.00
typestringRequired

Transaction type to process. For example, SALE, AUTH, REFUND. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
cardstringOptional

Card number or payment token.

Example: 4111111111111111
secure3dstringRequired

3‑D Secure cryptogram or CAVV (Cardholder Authentication Verification Value) provided by the 3DS provider.

Example: AAEBBBYSNAAAAA+gcCAjdAAAAAA=
secure3d-ecistringRequired

Electronic Commerce Indicator from the issuer.

Example: 05
secure3d-platformstringRequired

Name of the platform or provider used to perform 3‑D Secure (3DS) authentication.

Example: EVERVAULT
secure3d-directory-server-transaction-idstringRequired

Directory Server Transaction ID that ties the authentication to the transaction authorization.

Example: ccb4016e-776c-56f1-8000-0000849d676e
secure3d-protocol-versionstringRequired

3‑D Secure protocol version used to ensure correct liability and routing.

Example: 2.2.0
idstringOptional

Transaction identifier from a previous sale or authorization.

cscstringOptional

Card security code.

Example: 999
commentsstringOptional

Additional notes for the transaction.

Example: Bad tipper .90 on 80.00 transaction
cvmstringOptional

Cardholder verification method. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON (None)
exp-datestringOptional

Card expiration date in MMyy format.

Example: 0932
track2-datastringOptional

Clear-text Track 2 data.

Example: text
encrypted-track-datastringOptional

Encrypted track data; requires track-format.

Example: text
track-formatstringOptional

Format of encrypted track data. Allowable values: MAGTEK, IDTECH, DEJAVOO, PAX.

tip-amountstringOptional

Tip amount applied to the transaction.

Example: 0.9
invoicestringOptional

Merchant-defined invoice number.

Example: invoice123
authorization-codestringOptional

Authorization code for a forced sale obtained from an external processor.

Example: AC789U
purchase-orderstringOptional

Merchant-defined purchase order number.

Example: PO789
email-receiptbooleanOptional

Indicates whether to send an email receipt to the customer.

Example: false
email-addressstringOptional

The customer's email address.

Example: test@test.com
customer-idstringOptional

Merchant-defined customer identifier.

Example: Customer 1234
order-idstringOptional

Merchant-defined order identifier.

Example: 99988d
descriptionstringOptional

Description of the transaction.

Example: Transaction desc
client-ipstringOptional

IP address where the request originated.

Example: 127.0.0.1
billing-is-shippingstringOptional

Indicates whether billing and shipping addresses match.

Example: false
create-tokenstringOptional

Creates a payment token during the transaction.

Example: false
merchant-legacy-tokenbooleanOptional

Indicates use of a legacy payment token.

Example: false
token-descriptionstringOptional

Description for the created token.

Example: text
card-typestringOptional

Card brand when creating a token. Allowable values: VISA, MASTERCARD, AMERICAN EXPRESS, DISCOVER, DINERS CLUB, JCB.

Example: VISA
emv-datastringOptional

EMV transaction data payload.

Example: text
key-serial-numberstringOptional

Key serial number for EMV encryption.

Example: text
emv-entry-methodstringOptional

Method used to capture EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Identifies the integrating application.

Example: MySoftware_Version1.3
software-type-versionstringOptional

Version of the integrating application.

Example: text
pin-datastringOptional

Encrypted PIN data for PIN-based transactions.

Example: text
contactlessbooleanOptional

Indicates contactless usage (full EMV only).

Example: false
contactless-devicebooleanOptional

Indicates contactless device usage (full EMV only).

Example: false
sales-tax-amountstringOptional

Sales tax amount applied to the transaction.

Example: 90.0
sales-tax-typestringOptional

Sales tax classification. Allowable values: LOCAL_SALES_TAX, TAX_EXEMPT.

Example: LOCAL_SALES_TAX
check-fieldstringOptional

Field used for duplicate transaction checks.

Example: invoice
service-feestringOptional

Service fee applied to the transaction.

Example: 2.9
check-field-midbooleanOptional

Enables merchant-level duplicate validation for EMV.

Example: true
is-amexbooleanOptional

Indicates whether the card is American Express.

Example: false
is-sp30booleanOptional

Indicates whether the transaction is processed on an SP30 terminal.

Example: false
card-inquirybooleanOptional

Validates the card before token storage.

Example: true
partial-authorizationbooleanOptional

Allows partial approval when full amount is unavailable.

Example: false
add-tax-to-amountbooleanRequired

Indicates whether to add tax to the transaction amount.

Example: false
Responses
200

Successful Sale Transaction

Contains all details related to the authorized transaction.

amountstringOptional

Total value associated with the transaction.

currencystringOptional

Currency used for the transaction.

idstringOptional

Unique transaction ID.

Example: 123456
invoicestringOptional

Invoice number associated with the transaction.

Example: Test56
descriptionstringOptional

Description of the transaction.

Example: transaction description
commentsstringOptional

Comments associated with the transaction.

Example: These are my comments
serverIdstringOptionalDeprecated
createdstringOptional

Date and time when the transaction was created.

Example: 8/10/2017 12:12:12:00 UTC
typestringOptional

Identifies the transaction type. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
resultstringOptional

Result of the transaction. For example, APPROVED. Allowable values: APPROVED, DECLINED, ERROR.

Example: APPROVED
cardstringOptional

Card number used for the transaction.

cscstringOptional

Card Security Code used.

Example: 999
cvmstringOptional

Cardholder Verification Method used. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON
authorization-codestringOptional

Code indicating the transaction authorization.

Example: AE12368
avs-result-codestringOptional

Result code from Address Verification Service. Allowable values: X, Y, A, W, Z, N, U, R, S, G.

Example: X
avs-result-code-descriptionstringOptional

Description of the AVS result.

Example: All digits match (9-digit Zip Code)
csc-result-codestringOptional

Result code from CSC verification. Allowable values: M, N, P, S, U, X.

Example: X
csc-result-code-descriptionstringOptional

Description of the CSC result.

Example: Service provider did not respond
tip-adjusted-amountstringOptional

Amount of the adjusted tip.

Example: 1.0
avs-streetstringOptional

Street used in AVS check.

Example: Example Street
avs-zipstringOptional

ZIP code used in AVS check.

Example: 85284
token-descriptionstringOptional

Description of the token created.

original-amountstringOptional

Original amount before adjustments.

Example: 12.0
tip-amountstringOptional

Tip amount included in the transaction.

Example: 0.2
ref-idstringOptional

Reference ID for the transaction.

Example: 568972
entry-methodstringOptional

Method used to enter payment data of the transaction. For example, Swipe/Manual.

Example: EMV_DIP
batch-string-idstringOptional

Identifies the settlement batch ID.

Example: 000101
order-idstringOptional

Order id passed in with the transaction.

Example: order99
purchase-orderstringOptional

Purchase order number.

Example: purcahseOrder88
customer-idstringOptional

Customer id passed in with the transaction.

Example: 1234Customer
email-addressstringOptional

Email address associated with the transaction.

Example: test@test.com
display-messagestringOptional

Displayable message about transaction result.

Example: Transaction Approved
result-codestringOptional

Result code associated with transaction result.

Example: 000
billing-is-shippingbooleanOptional

Indicates if billing and shipping addresses are the same.

Example: true
tip-adjustedstringOptional

Indicates if the tip was adjusted.

Example: false
exp-datestringOptional

Expiration date of the card.

Example: 1232
client-ipstringOptional

IP address of the client initiating the transaction.

Example: 127.0.0.1
voidedstringOptional

Indicates if the transaction was voided.

Example: false
pendingstringOptional

Indicates if the transaction is pending.

Example: false
voided-authstringOptional

Indicates if the authorization was voided.

Example: false
settledstringOptional

Indicates if the transaction has been settled.

Example: false
statusstringOptional

Status of the transaction. For example, approved.

Example: approved
emv-datastringOptional

Raw EMV data string.

Example: 0099daje93993903
key-serial-numberstringOptional

Serial number of the encryption key used.

Example: 0099daje93993903
emv-entry-methodstringOptional

Method used to enter EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Type of software used for the transaction.

Example: MySoftware_Version1.3
customer-first-namestringOptional

First name of the customer.

Example: John
customer-last-namestringOptional

Last name of the customer.

Example: Doe
plan-namestringOptional

Name of the payment plan used.

Example: Plan 56
card-typestringOptional

Type of card used. For example, VISA.

Example: VISA
contactlessstringOptional

Indicates if contactless payment was used.

Example: false
contactless-devicestringOptional

Indicates if a contactless device was used.

Example: false
sales-tax-typestringOptional

Type of sales tax applied.

sales-tax-amountstringOptional

Amount of sales tax applied.

Example: 6.0
add-tax-to-amountbooleanOptional

Indicates if tax was added to the transaction amount.

Example: false
emv-data-responsestringOptional

Response data from EMV processing.

signature-base-64-imagestringOptional

Base64-encoded image of the signature.

last-fourstringOptional

Last four digits of the card number.

check-field-duplicatebooleanOptional

Indicates if a duplicate check was performed.

service-feestringOptional

Service fee applied to the transaction

base-amountstringOptional

Base amount before taxes and fees.

merchant-idstringOptional

Identifier for the merchant.

terminal-idstringOptional

Identifier for the terminal used.

surcharge-appliedbooleanOptional

Indicates if a surcharge was applied.

partial-authorizationbooleanOptional

Indicates if partial authorization was allowed.

Example: false
partial-approvedbooleanOptional

Indicates if the transaction was partially approved.

Example: false
secure3d-ecistringOptional

Electronic Commerce Indicator for 3D Secure.

secure3d-result-codestringOptional

Result code from 3D Secure authentication.

total-amountstringOptional

Total amount including all charges.

external-transaction-referencestringOptional

External reference ID for the transaction.

token-idstringOptional

Identifier of the payment token.

create-tokenbooleanOptional

Indicates if a token should be created for the transaction.

Example: true
digital-wallet-typestringOptional

Type of digital wallet used. For example, GOOGLE.

Example: GOOGLE
post/rest/v2/terminal/transactions/refund
POST /rest/v2/terminal/transactions/refund HTTP/1.1
api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 2319

{
  "type": "REFUND",
  "amount": "80.00",
  "create-token": "false",
  "card": "4111111111111111",
  "secure3d": "AAEBBBYSNAAAAA+gcCAjdAAAAAA=",
  "secure3d-eci": "05",
  "secure3d-platform": "EVERVAULT",
  "secure3d-directory-server-transaction-id": "ccb4016e-776c-56f1-8000-0000849d676e",
  "secure3d-protocol-version": "2.2.0",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "csc": "999",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "cvm": "NON (None)",
  "exp-date": "0932",
  "track2-data": "text",
  "encrypted-track-data": "text",
  "track-format": "IDTECH",
  "tip-amount": "0.9",
  "invoice": "invoice123",
  "authorization-code": "AC789U",
  "purchase-order": "PO789",
  "email-receipt": false,
  "email-address": "test@test.com",
  "customer-id": "Customer 1234",
  "order-id": "99988d",
  "description": "Transaction desc",
  "client-ip": "127.0.0.1",
  "billing-is-shipping": "false",
  "merchant-legacy-token": false,
  "token-description": "text",
  "card-type": "VISA",
  "emv-data": "text",
  "key-serial-number": "text",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "software-type-version": "text",
  "pin-data": "text",
  "contactless": false,
  "contactless-device": false,
  "sales-tax-amount": "90.0",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "check-field": "invoice",
  "service-fee": "2.9",
  "check-field-mid": true,
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "is-amex": false,
  "is-sp30": false,
  "card-inquiry": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "add-tax-to-amount": false
}
{
  "amount": "text",
  "currency": "text",
  "id": "123456",
  "invoice": "Test56",
  "description": "transaction description",
  "comments": "These are my comments",
  "created": "8/10/2017 12:12:12:00 UTC",
  "type": "SALE",
  "result": "APPROVED",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "card": "text",
  "csc": "999",
  "cvm": "NON",
  "authorization-code": "AE12368",
  "avs-result-code": "X",
  "avs-result-code-description": "All digits match (9-digit Zip Code)",
  "csc-result-code": "X",
  "csc-result-code-description": "Service provider did not respond",
  "tip-adjusted-amount": "1.0",
  "avs-street": "Example Street",
  "avs-zip": "85284",
  "token-description": "text",
  "original-amount": "12.0",
  "tip-amount": "0.2",
  "ref-id": "568972",
  "entry-method": "EMV_DIP",
  "batch-string-id": "000101",
  "order-id": "order99",
  "purchase-order": "purcahseOrder88",
  "customer-id": "1234Customer",
  "email-address": "test@test.com",
  "display-message": "Transaction Approved",
  "result-code": "000",
  "billing-is-shipping": true,
  "tip-adjusted": "false",
  "exp-date": "1232",
  "client-ip": "127.0.0.1",
  "voided": "false",
  "pending": "false",
  "voided-auth": "false",
  "settled": "false",
  "status": "approved",
  "emv-data": "0099daje93993903",
  "key-serial-number": "0099daje93993903",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "customer-first-name": "John",
  "customer-last-name": "Doe",
  "plan-name": "Plan 56",
  "card-type": "VISA",
  "contactless": "false",
  "contactless-device": "false",
  "sales-tax-type": "text",
  "sales-tax-amount": "6.0",
  "add-tax-to-amount": false,
  "emv-data-response": "text",
  "emv": {
    "application-name": "Visa Debit",
    "application-id": "A0000000041010",
    "terminal-verification-results": "0400088000",
    "transaction-status-information": "E800",
    "iad": "ABC123",
    "transaction-certificate": "CERT1234",
    "application-transaction-counter": "0001"
  },
  "signature-base-64-image": "text",
  "last-four": "text",
  "check-field-duplicate": true,
  "service-fee": "text",
  "base-amount": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "merchant-id": "text",
  "terminal-id": "text",
  "surcharge-applied": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "partial-approved": false,
  "additional-amounts": [
    {
      "amount": "text",
      "account-type": "text",
      "amount-type": "text"
    }
  ],
  "secure3d-eci": "text",
  "secure3d-result-code": "text",
  "total-amount": "text",
  "external-transaction-reference": "text",
  "token-id": "text",
  "create-token": true,
  "digital-wallet-type": "GOOGLE"
}

Create Forced Sale Transaction

post

Create a forced sale transaction using an existing authorization code without requesting a new authorization.

Header parameters
api-keystringRequired

An access API key issued to you by Xplor Pay.

Body
amountstringRequired

Total transaction amount.

Example: 80.00
typestringRequired

Transaction type to process. For example, SALE, AUTH, REFUND. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
cardstringOptional

Card number or payment token.

Example: 4111111111111111
secure3dstringRequired

3‑D Secure cryptogram or CAVV (Cardholder Authentication Verification Value) provided by the 3DS provider.

Example: AAEBBBYSNAAAAA+gcCAjdAAAAAA=
secure3d-ecistringRequired

Electronic Commerce Indicator from the issuer.

Example: 05
secure3d-platformstringRequired

Name of the platform or provider used to perform 3‑D Secure (3DS) authentication.

Example: EVERVAULT
secure3d-directory-server-transaction-idstringRequired

Directory Server Transaction ID that ties the authentication to the transaction authorization.

Example: ccb4016e-776c-56f1-8000-0000849d676e
secure3d-protocol-versionstringRequired

3‑D Secure protocol version used to ensure correct liability and routing.

Example: 2.2.0
idstringOptional

Transaction identifier from a previous sale or authorization.

cscstringOptional

Card security code.

Example: 999
commentsstringOptional

Additional notes for the transaction.

Example: Bad tipper .90 on 80.00 transaction
cvmstringOptional

Cardholder verification method. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON (None)
exp-datestringOptional

Card expiration date in MMyy format.

Example: 0932
track2-datastringOptional

Clear-text Track 2 data.

Example: text
encrypted-track-datastringOptional

Encrypted track data; requires track-format.

Example: text
track-formatstringOptional

Format of encrypted track data. Allowable values: MAGTEK, IDTECH, DEJAVOO, PAX.

tip-amountstringOptional

Tip amount applied to the transaction.

Example: 0.9
invoicestringOptional

Merchant-defined invoice number.

Example: invoice123
authorization-codestringOptional

Authorization code for a forced sale obtained from an external processor.

Example: AC789U
purchase-orderstringOptional

Merchant-defined purchase order number.

Example: PO789
email-receiptbooleanOptional

Indicates whether to send an email receipt to the customer.

Example: false
email-addressstringOptional

The customer's email address.

Example: test@test.com
customer-idstringOptional

Merchant-defined customer identifier.

Example: Customer 1234
order-idstringOptional

Merchant-defined order identifier.

Example: 99988d
descriptionstringOptional

Description of the transaction.

Example: Transaction desc
client-ipstringOptional

IP address where the request originated.

Example: 127.0.0.1
billing-is-shippingstringOptional

Indicates whether billing and shipping addresses match.

Example: false
create-tokenstringOptional

Creates a payment token during the transaction.

Example: false
merchant-legacy-tokenbooleanOptional

Indicates use of a legacy payment token.

Example: false
token-descriptionstringOptional

Description for the created token.

Example: text
card-typestringOptional

Card brand when creating a token. Allowable values: VISA, MASTERCARD, AMERICAN EXPRESS, DISCOVER, DINERS CLUB, JCB.

Example: VISA
emv-datastringOptional

EMV transaction data payload.

Example: text
key-serial-numberstringOptional

Key serial number for EMV encryption.

Example: text
emv-entry-methodstringOptional

Method used to capture EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Identifies the integrating application.

Example: MySoftware_Version1.3
software-type-versionstringOptional

Version of the integrating application.

Example: text
pin-datastringOptional

Encrypted PIN data for PIN-based transactions.

Example: text
contactlessbooleanOptional

Indicates contactless usage (full EMV only).

Example: false
contactless-devicebooleanOptional

Indicates contactless device usage (full EMV only).

Example: false
sales-tax-amountstringOptional

Sales tax amount applied to the transaction.

Example: 90.0
sales-tax-typestringOptional

Sales tax classification. Allowable values: LOCAL_SALES_TAX, TAX_EXEMPT.

Example: LOCAL_SALES_TAX
check-fieldstringOptional

Field used for duplicate transaction checks.

Example: invoice
service-feestringOptional

Service fee applied to the transaction.

Example: 2.9
check-field-midbooleanOptional

Enables merchant-level duplicate validation for EMV.

Example: true
is-amexbooleanOptional

Indicates whether the card is American Express.

Example: false
is-sp30booleanOptional

Indicates whether the transaction is processed on an SP30 terminal.

Example: false
card-inquirybooleanOptional

Validates the card before token storage.

Example: true
partial-authorizationbooleanOptional

Allows partial approval when full amount is unavailable.

Example: false
add-tax-to-amountbooleanRequired

Indicates whether to add tax to the transaction amount.

Example: false
Responses
200

Successful Sale Transaction

Contains all details related to the authorized transaction.

amountstringOptional

Total value associated with the transaction.

currencystringOptional

Currency used for the transaction.

idstringOptional

Unique transaction ID.

Example: 123456
invoicestringOptional

Invoice number associated with the transaction.

Example: Test56
descriptionstringOptional

Description of the transaction.

Example: transaction description
commentsstringOptional

Comments associated with the transaction.

Example: These are my comments
serverIdstringOptionalDeprecated
createdstringOptional

Date and time when the transaction was created.

Example: 8/10/2017 12:12:12:00 UTC
typestringOptional

Identifies the transaction type. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
resultstringOptional

Result of the transaction. For example, APPROVED. Allowable values: APPROVED, DECLINED, ERROR.

Example: APPROVED
cardstringOptional

Card number used for the transaction.

cscstringOptional

Card Security Code used.

Example: 999
cvmstringOptional

Cardholder Verification Method used. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON
authorization-codestringOptional

Code indicating the transaction authorization.

Example: AE12368
avs-result-codestringOptional

Result code from Address Verification Service. Allowable values: X, Y, A, W, Z, N, U, R, S, G.

Example: X
avs-result-code-descriptionstringOptional

Description of the AVS result.

Example: All digits match (9-digit Zip Code)
csc-result-codestringOptional

Result code from CSC verification. Allowable values: M, N, P, S, U, X.

Example: X
csc-result-code-descriptionstringOptional

Description of the CSC result.

Example: Service provider did not respond
tip-adjusted-amountstringOptional

Amount of the adjusted tip.

Example: 1.0
avs-streetstringOptional

Street used in AVS check.

Example: Example Street
avs-zipstringOptional

ZIP code used in AVS check.

Example: 85284
token-descriptionstringOptional

Description of the token created.

original-amountstringOptional

Original amount before adjustments.

Example: 12.0
tip-amountstringOptional

Tip amount included in the transaction.

Example: 0.2
ref-idstringOptional

Reference ID for the transaction.

Example: 568972
entry-methodstringOptional

Method used to enter payment data of the transaction. For example, Swipe/Manual.

Example: EMV_DIP
batch-string-idstringOptional

Identifies the settlement batch ID.

Example: 000101
order-idstringOptional

Order id passed in with the transaction.

Example: order99
purchase-orderstringOptional

Purchase order number.

Example: purcahseOrder88
customer-idstringOptional

Customer id passed in with the transaction.

Example: 1234Customer
email-addressstringOptional

Email address associated with the transaction.

Example: test@test.com
display-messagestringOptional

Displayable message about transaction result.

Example: Transaction Approved
result-codestringOptional

Result code associated with transaction result.

Example: 000
billing-is-shippingbooleanOptional

Indicates if billing and shipping addresses are the same.

Example: true
tip-adjustedstringOptional

Indicates if the tip was adjusted.

Example: false
exp-datestringOptional

Expiration date of the card.

Example: 1232
client-ipstringOptional

IP address of the client initiating the transaction.

Example: 127.0.0.1
voidedstringOptional

Indicates if the transaction was voided.

Example: false
pendingstringOptional

Indicates if the transaction is pending.

Example: false
voided-authstringOptional

Indicates if the authorization was voided.

Example: false
settledstringOptional

Indicates if the transaction has been settled.

Example: false
statusstringOptional

Status of the transaction. For example, approved.

Example: approved
emv-datastringOptional

Raw EMV data string.

Example: 0099daje93993903
key-serial-numberstringOptional

Serial number of the encryption key used.

Example: 0099daje93993903
emv-entry-methodstringOptional

Method used to enter EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Type of software used for the transaction.

Example: MySoftware_Version1.3
customer-first-namestringOptional

First name of the customer.

Example: John
customer-last-namestringOptional

Last name of the customer.

Example: Doe
plan-namestringOptional

Name of the payment plan used.

Example: Plan 56
card-typestringOptional

Type of card used. For example, VISA.

Example: VISA
contactlessstringOptional

Indicates if contactless payment was used.

Example: false
contactless-devicestringOptional

Indicates if a contactless device was used.

Example: false
sales-tax-typestringOptional

Type of sales tax applied.

sales-tax-amountstringOptional

Amount of sales tax applied.

Example: 6.0
add-tax-to-amountbooleanOptional

Indicates if tax was added to the transaction amount.

Example: false
emv-data-responsestringOptional

Response data from EMV processing.

signature-base-64-imagestringOptional

Base64-encoded image of the signature.

last-fourstringOptional

Last four digits of the card number.

check-field-duplicatebooleanOptional

Indicates if a duplicate check was performed.

service-feestringOptional

Service fee applied to the transaction

base-amountstringOptional

Base amount before taxes and fees.

merchant-idstringOptional

Identifier for the merchant.

terminal-idstringOptional

Identifier for the terminal used.

surcharge-appliedbooleanOptional

Indicates if a surcharge was applied.

partial-authorizationbooleanOptional

Indicates if partial authorization was allowed.

Example: false
partial-approvedbooleanOptional

Indicates if the transaction was partially approved.

Example: false
secure3d-ecistringOptional

Electronic Commerce Indicator for 3D Secure.

secure3d-result-codestringOptional

Result code from 3D Secure authentication.

total-amountstringOptional

Total amount including all charges.

external-transaction-referencestringOptional

External reference ID for the transaction.

token-idstringOptional

Identifier of the payment token.

create-tokenbooleanOptional

Indicates if a token should be created for the transaction.

Example: true
digital-wallet-typestringOptional

Type of digital wallet used. For example, GOOGLE.

Example: GOOGLE
post/rest/v2/terminal/transactions/forced-sale
POST /rest/v2/terminal/transactions/forced-sale HTTP/1.1
api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 2324

{
  "type": "FORCED SALE",
  "amount": "80.00",
  "create-token": "false",
  "card": "4111111111111111",
  "secure3d": "AAEBBBYSNAAAAA+gcCAjdAAAAAA=",
  "secure3d-eci": "05",
  "secure3d-platform": "EVERVAULT",
  "secure3d-directory-server-transaction-id": "ccb4016e-776c-56f1-8000-0000849d676e",
  "secure3d-protocol-version": "2.2.0",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "csc": "999",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "cvm": "NON (None)",
  "exp-date": "0932",
  "track2-data": "text",
  "encrypted-track-data": "text",
  "track-format": "IDTECH",
  "tip-amount": "0.9",
  "invoice": "invoice123",
  "authorization-code": "AC789U",
  "purchase-order": "PO789",
  "email-receipt": false,
  "email-address": "test@test.com",
  "customer-id": "Customer 1234",
  "order-id": "99988d",
  "description": "Transaction desc",
  "client-ip": "127.0.0.1",
  "billing-is-shipping": "false",
  "merchant-legacy-token": false,
  "token-description": "text",
  "card-type": "VISA",
  "emv-data": "text",
  "key-serial-number": "text",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "software-type-version": "text",
  "pin-data": "text",
  "contactless": false,
  "contactless-device": false,
  "sales-tax-amount": "90.0",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "check-field": "invoice",
  "service-fee": "2.9",
  "check-field-mid": true,
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "is-amex": false,
  "is-sp30": false,
  "card-inquiry": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "add-tax-to-amount": false
}
{
  "amount": "text",
  "currency": "text",
  "id": "123456",
  "invoice": "Test56",
  "description": "transaction description",
  "comments": "These are my comments",
  "created": "8/10/2017 12:12:12:00 UTC",
  "type": "SALE",
  "result": "APPROVED",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "card": "text",
  "csc": "999",
  "cvm": "NON",
  "authorization-code": "AE12368",
  "avs-result-code": "X",
  "avs-result-code-description": "All digits match (9-digit Zip Code)",
  "csc-result-code": "X",
  "csc-result-code-description": "Service provider did not respond",
  "tip-adjusted-amount": "1.0",
  "avs-street": "Example Street",
  "avs-zip": "85284",
  "token-description": "text",
  "original-amount": "12.0",
  "tip-amount": "0.2",
  "ref-id": "568972",
  "entry-method": "EMV_DIP",
  "batch-string-id": "000101",
  "order-id": "order99",
  "purchase-order": "purcahseOrder88",
  "customer-id": "1234Customer",
  "email-address": "test@test.com",
  "display-message": "Transaction Approved",
  "result-code": "000",
  "billing-is-shipping": true,
  "tip-adjusted": "false",
  "exp-date": "1232",
  "client-ip": "127.0.0.1",
  "voided": "false",
  "pending": "false",
  "voided-auth": "false",
  "settled": "false",
  "status": "approved",
  "emv-data": "0099daje93993903",
  "key-serial-number": "0099daje93993903",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "customer-first-name": "John",
  "customer-last-name": "Doe",
  "plan-name": "Plan 56",
  "card-type": "VISA",
  "contactless": "false",
  "contactless-device": "false",
  "sales-tax-type": "text",
  "sales-tax-amount": "6.0",
  "add-tax-to-amount": false,
  "emv-data-response": "text",
  "emv": {
    "application-name": "Visa Debit",
    "application-id": "A0000000041010",
    "terminal-verification-results": "0400088000",
    "transaction-status-information": "E800",
    "iad": "ABC123",
    "transaction-certificate": "CERT1234",
    "application-transaction-counter": "0001"
  },
  "signature-base-64-image": "text",
  "last-four": "text",
  "check-field-duplicate": true,
  "service-fee": "text",
  "base-amount": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "merchant-id": "text",
  "terminal-id": "text",
  "surcharge-applied": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "partial-approved": false,
  "additional-amounts": [
    {
      "amount": "text",
      "account-type": "text",
      "amount-type": "text"
    }
  ],
  "secure3d-eci": "text",
  "secure3d-result-code": "text",
  "total-amount": "text",
  "external-transaction-reference": "text",
  "token-id": "text",
  "create-token": true,
  "digital-wallet-type": "GOOGLE"
}

Authorize Terminal Transaction

post

Create an authorization transaction on a payment terminal to validate available funds.

Header parameters
api-keystringRequired

An access API key issued to you by Xplor Pay.

Body
amountstringRequired

Total transaction amount.

Example: 80.00
typestringRequired

Transaction type to process. For example, SALE, AUTH, REFUND. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
cardstringOptional

Card number or payment token.

Example: 4111111111111111
secure3dstringRequired

3‑D Secure cryptogram or CAVV (Cardholder Authentication Verification Value) provided by the 3DS provider.

Example: AAEBBBYSNAAAAA+gcCAjdAAAAAA=
secure3d-ecistringRequired

Electronic Commerce Indicator from the issuer.

Example: 05
secure3d-platformstringRequired

Name of the platform or provider used to perform 3‑D Secure (3DS) authentication.

Example: EVERVAULT
secure3d-directory-server-transaction-idstringRequired

Directory Server Transaction ID that ties the authentication to the transaction authorization.

Example: ccb4016e-776c-56f1-8000-0000849d676e
secure3d-protocol-versionstringRequired

3‑D Secure protocol version used to ensure correct liability and routing.

Example: 2.2.0
idstringOptional

Transaction identifier from a previous sale or authorization.

cscstringOptional

Card security code.

Example: 999
commentsstringOptional

Additional notes for the transaction.

Example: Bad tipper .90 on 80.00 transaction
cvmstringOptional

Cardholder verification method. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON (None)
exp-datestringOptional

Card expiration date in MMyy format.

Example: 0932
track2-datastringOptional

Clear-text Track 2 data.

Example: text
encrypted-track-datastringOptional

Encrypted track data; requires track-format.

Example: text
track-formatstringOptional

Format of encrypted track data. Allowable values: MAGTEK, IDTECH, DEJAVOO, PAX.

tip-amountstringOptional

Tip amount applied to the transaction.

Example: 0.9
invoicestringOptional

Merchant-defined invoice number.

Example: invoice123
authorization-codestringOptional

Authorization code for a forced sale obtained from an external processor.

Example: AC789U
purchase-orderstringOptional

Merchant-defined purchase order number.

Example: PO789
email-receiptbooleanOptional

Indicates whether to send an email receipt to the customer.

Example: false
email-addressstringOptional

The customer's email address.

Example: test@test.com
customer-idstringOptional

Merchant-defined customer identifier.

Example: Customer 1234
order-idstringOptional

Merchant-defined order identifier.

Example: 99988d
descriptionstringOptional

Description of the transaction.

Example: Transaction desc
client-ipstringOptional

IP address where the request originated.

Example: 127.0.0.1
billing-is-shippingstringOptional

Indicates whether billing and shipping addresses match.

Example: false
create-tokenstringOptional

Creates a payment token during the transaction.

Example: false
merchant-legacy-tokenbooleanOptional

Indicates use of a legacy payment token.

Example: false
token-descriptionstringOptional

Description for the created token.

Example: text
card-typestringOptional

Card brand when creating a token. Allowable values: VISA, MASTERCARD, AMERICAN EXPRESS, DISCOVER, DINERS CLUB, JCB.

Example: VISA
emv-datastringOptional

EMV transaction data payload.

Example: text
key-serial-numberstringOptional

Key serial number for EMV encryption.

Example: text
emv-entry-methodstringOptional

Method used to capture EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Identifies the integrating application.

Example: MySoftware_Version1.3
software-type-versionstringOptional

Version of the integrating application.

Example: text
pin-datastringOptional

Encrypted PIN data for PIN-based transactions.

Example: text
contactlessbooleanOptional

Indicates contactless usage (full EMV only).

Example: false
contactless-devicebooleanOptional

Indicates contactless device usage (full EMV only).

Example: false
sales-tax-amountstringOptional

Sales tax amount applied to the transaction.

Example: 90.0
sales-tax-typestringOptional

Sales tax classification. Allowable values: LOCAL_SALES_TAX, TAX_EXEMPT.

Example: LOCAL_SALES_TAX
check-fieldstringOptional

Field used for duplicate transaction checks.

Example: invoice
service-feestringOptional

Service fee applied to the transaction.

Example: 2.9
check-field-midbooleanOptional

Enables merchant-level duplicate validation for EMV.

Example: true
is-amexbooleanOptional

Indicates whether the card is American Express.

Example: false
is-sp30booleanOptional

Indicates whether the transaction is processed on an SP30 terminal.

Example: false
card-inquirybooleanOptional

Validates the card before token storage.

Example: true
partial-authorizationbooleanOptional

Allows partial approval when full amount is unavailable.

Example: false
add-tax-to-amountbooleanRequired

Indicates whether to add tax to the transaction amount.

Example: false
Responses
200

Successful Sale Transaction

Contains all details related to the authorized transaction.

amountstringOptional

Total value associated with the transaction.

currencystringOptional

Currency used for the transaction.

idstringOptional

Unique transaction ID.

Example: 123456
invoicestringOptional

Invoice number associated with the transaction.

Example: Test56
descriptionstringOptional

Description of the transaction.

Example: transaction description
commentsstringOptional

Comments associated with the transaction.

Example: These are my comments
serverIdstringOptionalDeprecated
createdstringOptional

Date and time when the transaction was created.

Example: 8/10/2017 12:12:12:00 UTC
typestringOptional

Identifies the transaction type. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
resultstringOptional

Result of the transaction. For example, APPROVED. Allowable values: APPROVED, DECLINED, ERROR.

Example: APPROVED
cardstringOptional

Card number used for the transaction.

cscstringOptional

Card Security Code used.

Example: 999
cvmstringOptional

Cardholder Verification Method used. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON
authorization-codestringOptional

Code indicating the transaction authorization.

Example: AE12368
avs-result-codestringOptional

Result code from Address Verification Service. Allowable values: X, Y, A, W, Z, N, U, R, S, G.

Example: X
avs-result-code-descriptionstringOptional

Description of the AVS result.

Example: All digits match (9-digit Zip Code)
csc-result-codestringOptional

Result code from CSC verification. Allowable values: M, N, P, S, U, X.

Example: X
csc-result-code-descriptionstringOptional

Description of the CSC result.

Example: Service provider did not respond
tip-adjusted-amountstringOptional

Amount of the adjusted tip.

Example: 1.0
avs-streetstringOptional

Street used in AVS check.

Example: Example Street
avs-zipstringOptional

ZIP code used in AVS check.

Example: 85284
token-descriptionstringOptional

Description of the token created.

original-amountstringOptional

Original amount before adjustments.

Example: 12.0
tip-amountstringOptional

Tip amount included in the transaction.

Example: 0.2
ref-idstringOptional

Reference ID for the transaction.

Example: 568972
entry-methodstringOptional

Method used to enter payment data of the transaction. For example, Swipe/Manual.

Example: EMV_DIP
batch-string-idstringOptional

Identifies the settlement batch ID.

Example: 000101
order-idstringOptional

Order id passed in with the transaction.

Example: order99
purchase-orderstringOptional

Purchase order number.

Example: purcahseOrder88
customer-idstringOptional

Customer id passed in with the transaction.

Example: 1234Customer
email-addressstringOptional

Email address associated with the transaction.

Example: test@test.com
display-messagestringOptional

Displayable message about transaction result.

Example: Transaction Approved
result-codestringOptional

Result code associated with transaction result.

Example: 000
billing-is-shippingbooleanOptional

Indicates if billing and shipping addresses are the same.

Example: true
tip-adjustedstringOptional

Indicates if the tip was adjusted.

Example: false
exp-datestringOptional

Expiration date of the card.

Example: 1232
client-ipstringOptional

IP address of the client initiating the transaction.

Example: 127.0.0.1
voidedstringOptional

Indicates if the transaction was voided.

Example: false
pendingstringOptional

Indicates if the transaction is pending.

Example: false
voided-authstringOptional

Indicates if the authorization was voided.

Example: false
settledstringOptional

Indicates if the transaction has been settled.

Example: false
statusstringOptional

Status of the transaction. For example, approved.

Example: approved
emv-datastringOptional

Raw EMV data string.

Example: 0099daje93993903
key-serial-numberstringOptional

Serial number of the encryption key used.

Example: 0099daje93993903
emv-entry-methodstringOptional

Method used to enter EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Type of software used for the transaction.

Example: MySoftware_Version1.3
customer-first-namestringOptional

First name of the customer.

Example: John
customer-last-namestringOptional

Last name of the customer.

Example: Doe
plan-namestringOptional

Name of the payment plan used.

Example: Plan 56
card-typestringOptional

Type of card used. For example, VISA.

Example: VISA
contactlessstringOptional

Indicates if contactless payment was used.

Example: false
contactless-devicestringOptional

Indicates if a contactless device was used.

Example: false
sales-tax-typestringOptional

Type of sales tax applied.

sales-tax-amountstringOptional

Amount of sales tax applied.

Example: 6.0
add-tax-to-amountbooleanOptional

Indicates if tax was added to the transaction amount.

Example: false
emv-data-responsestringOptional

Response data from EMV processing.

signature-base-64-imagestringOptional

Base64-encoded image of the signature.

last-fourstringOptional

Last four digits of the card number.

check-field-duplicatebooleanOptional

Indicates if a duplicate check was performed.

service-feestringOptional

Service fee applied to the transaction

base-amountstringOptional

Base amount before taxes and fees.

merchant-idstringOptional

Identifier for the merchant.

terminal-idstringOptional

Identifier for the terminal used.

surcharge-appliedbooleanOptional

Indicates if a surcharge was applied.

partial-authorizationbooleanOptional

Indicates if partial authorization was allowed.

Example: false
partial-approvedbooleanOptional

Indicates if the transaction was partially approved.

Example: false
secure3d-ecistringOptional

Electronic Commerce Indicator for 3D Secure.

secure3d-result-codestringOptional

Result code from 3D Secure authentication.

total-amountstringOptional

Total amount including all charges.

external-transaction-referencestringOptional

External reference ID for the transaction.

token-idstringOptional

Identifier of the payment token.

create-tokenbooleanOptional

Indicates if a token should be created for the transaction.

Example: true
digital-wallet-typestringOptional

Type of digital wallet used. For example, GOOGLE.

Example: GOOGLE
post/rest/v2/terminal/transactions/auth
POST /rest/v2/terminal/transactions/auth HTTP/1.1
api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 2317

{
  "type": "AUTH",
  "amount": "80.00",
  "create-token": "false",
  "card": "4111111111111111",
  "secure3d": "AAEBBBYSNAAAAA+gcCAjdAAAAAA=",
  "secure3d-eci": "05",
  "secure3d-platform": "EVERVAULT",
  "secure3d-directory-server-transaction-id": "ccb4016e-776c-56f1-8000-0000849d676e",
  "secure3d-protocol-version": "2.2.0",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "csc": "999",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "cvm": "NON (None)",
  "exp-date": "0932",
  "track2-data": "text",
  "encrypted-track-data": "text",
  "track-format": "IDTECH",
  "tip-amount": "0.9",
  "invoice": "invoice123",
  "authorization-code": "AC789U",
  "purchase-order": "PO789",
  "email-receipt": false,
  "email-address": "test@test.com",
  "customer-id": "Customer 1234",
  "order-id": "99988d",
  "description": "Transaction desc",
  "client-ip": "127.0.0.1",
  "billing-is-shipping": "false",
  "merchant-legacy-token": false,
  "token-description": "text",
  "card-type": "VISA",
  "emv-data": "text",
  "key-serial-number": "text",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "software-type-version": "text",
  "pin-data": "text",
  "contactless": false,
  "contactless-device": false,
  "sales-tax-amount": "90.0",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "check-field": "invoice",
  "service-fee": "2.9",
  "check-field-mid": true,
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "is-amex": false,
  "is-sp30": false,
  "card-inquiry": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "add-tax-to-amount": false
}
{
  "amount": "text",
  "currency": "text",
  "id": "123456",
  "invoice": "Test56",
  "description": "transaction description",
  "comments": "These are my comments",
  "created": "8/10/2017 12:12:12:00 UTC",
  "type": "SALE",
  "result": "APPROVED",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "card": "text",
  "csc": "999",
  "cvm": "NON",
  "authorization-code": "AE12368",
  "avs-result-code": "X",
  "avs-result-code-description": "All digits match (9-digit Zip Code)",
  "csc-result-code": "X",
  "csc-result-code-description": "Service provider did not respond",
  "tip-adjusted-amount": "1.0",
  "avs-street": "Example Street",
  "avs-zip": "85284",
  "token-description": "text",
  "original-amount": "12.0",
  "tip-amount": "0.2",
  "ref-id": "568972",
  "entry-method": "EMV_DIP",
  "batch-string-id": "000101",
  "order-id": "order99",
  "purchase-order": "purcahseOrder88",
  "customer-id": "1234Customer",
  "email-address": "test@test.com",
  "display-message": "Transaction Approved",
  "result-code": "000",
  "billing-is-shipping": true,
  "tip-adjusted": "false",
  "exp-date": "1232",
  "client-ip": "127.0.0.1",
  "voided": "false",
  "pending": "false",
  "voided-auth": "false",
  "settled": "false",
  "status": "approved",
  "emv-data": "0099daje93993903",
  "key-serial-number": "0099daje93993903",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "customer-first-name": "John",
  "customer-last-name": "Doe",
  "plan-name": "Plan 56",
  "card-type": "VISA",
  "contactless": "false",
  "contactless-device": "false",
  "sales-tax-type": "text",
  "sales-tax-amount": "6.0",
  "add-tax-to-amount": false,
  "emv-data-response": "text",
  "emv": {
    "application-name": "Visa Debit",
    "application-id": "A0000000041010",
    "terminal-verification-results": "0400088000",
    "transaction-status-information": "E800",
    "iad": "ABC123",
    "transaction-certificate": "CERT1234",
    "application-transaction-counter": "0001"
  },
  "signature-base-64-image": "text",
  "last-four": "text",
  "check-field-duplicate": true,
  "service-fee": "text",
  "base-amount": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "merchant-id": "text",
  "terminal-id": "text",
  "surcharge-applied": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "partial-approved": false,
  "additional-amounts": [
    {
      "amount": "text",
      "account-type": "text",
      "amount-type": "text"
    }
  ],
  "secure3d-eci": "text",
  "secure3d-result-code": "text",
  "total-amount": "text",
  "external-transaction-reference": "text",
  "token-id": "text",
  "create-token": true,
  "digital-wallet-type": "GOOGLE"
}

Create Terminal Transaction

post

Create and process a semi-integrated payment transaction initiated from a payment terminal.

Header parameters
api-keystringRequired

An access API key issued to you by Xplor Pay.

Body
amountstringRequired

Total transaction amount.

Example: 80.00
typestringRequired

Transaction type to process. For example, SALE, AUTH, REFUND. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
cardstringOptional

Card number or payment token.

Example: 4111111111111111
secure3dstringRequired

3‑D Secure cryptogram or CAVV (Cardholder Authentication Verification Value) provided by the 3DS provider.

Example: AAEBBBYSNAAAAA+gcCAjdAAAAAA=
secure3d-ecistringRequired

Electronic Commerce Indicator from the issuer.

Example: 05
secure3d-platformstringRequired

Name of the platform or provider used to perform 3‑D Secure (3DS) authentication.

Example: EVERVAULT
secure3d-directory-server-transaction-idstringRequired

Directory Server Transaction ID that ties the authentication to the transaction authorization.

Example: ccb4016e-776c-56f1-8000-0000849d676e
secure3d-protocol-versionstringRequired

3‑D Secure protocol version used to ensure correct liability and routing.

Example: 2.2.0
idstringOptional

Transaction identifier from a previous sale or authorization.

cscstringOptional

Card security code.

Example: 999
commentsstringOptional

Additional notes for the transaction.

Example: Bad tipper .90 on 80.00 transaction
cvmstringOptional

Cardholder verification method. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON (None)
exp-datestringOptional

Card expiration date in MMyy format.

Example: 0932
track2-datastringOptional

Clear-text Track 2 data.

Example: text
encrypted-track-datastringOptional

Encrypted track data; requires track-format.

Example: text
track-formatstringOptional

Format of encrypted track data. Allowable values: MAGTEK, IDTECH, DEJAVOO, PAX.

tip-amountstringOptional

Tip amount applied to the transaction.

Example: 0.9
invoicestringOptional

Merchant-defined invoice number.

Example: invoice123
authorization-codestringOptional

Authorization code for a forced sale obtained from an external processor.

Example: AC789U
purchase-orderstringOptional

Merchant-defined purchase order number.

Example: PO789
email-receiptbooleanOptional

Indicates whether to send an email receipt to the customer.

Example: false
email-addressstringOptional

The customer's email address.

Example: test@test.com
customer-idstringOptional

Merchant-defined customer identifier.

Example: Customer 1234
order-idstringOptional

Merchant-defined order identifier.

Example: 99988d
descriptionstringOptional

Description of the transaction.

Example: Transaction desc
client-ipstringOptional

IP address where the request originated.

Example: 127.0.0.1
billing-is-shippingstringOptional

Indicates whether billing and shipping addresses match.

Example: false
create-tokenstringOptional

Creates a payment token during the transaction.

Example: false
merchant-legacy-tokenbooleanOptional

Indicates use of a legacy payment token.

Example: false
token-descriptionstringOptional

Description for the created token.

Example: text
card-typestringOptional

Card brand when creating a token. Allowable values: VISA, MASTERCARD, AMERICAN EXPRESS, DISCOVER, DINERS CLUB, JCB.

Example: VISA
emv-datastringOptional

EMV transaction data payload.

Example: text
key-serial-numberstringOptional

Key serial number for EMV encryption.

Example: text
emv-entry-methodstringOptional

Method used to capture EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Identifies the integrating application.

Example: MySoftware_Version1.3
software-type-versionstringOptional

Version of the integrating application.

Example: text
pin-datastringOptional

Encrypted PIN data for PIN-based transactions.

Example: text
contactlessbooleanOptional

Indicates contactless usage (full EMV only).

Example: false
contactless-devicebooleanOptional

Indicates contactless device usage (full EMV only).

Example: false
sales-tax-amountstringOptional

Sales tax amount applied to the transaction.

Example: 90.0
sales-tax-typestringOptional

Sales tax classification. Allowable values: LOCAL_SALES_TAX, TAX_EXEMPT.

Example: LOCAL_SALES_TAX
check-fieldstringOptional

Field used for duplicate transaction checks.

Example: invoice
service-feestringOptional

Service fee applied to the transaction.

Example: 2.9
check-field-midbooleanOptional

Enables merchant-level duplicate validation for EMV.

Example: true
is-amexbooleanOptional

Indicates whether the card is American Express.

Example: false
is-sp30booleanOptional

Indicates whether the transaction is processed on an SP30 terminal.

Example: false
card-inquirybooleanOptional

Validates the card before token storage.

Example: true
partial-authorizationbooleanOptional

Allows partial approval when full amount is unavailable.

Example: false
add-tax-to-amountbooleanRequired

Indicates whether to add tax to the transaction amount.

Example: false
Responses
200

Successful Sale Transaction

Contains all details related to the authorized transaction.

amountstringOptional

Total value associated with the transaction.

currencystringOptional

Currency used for the transaction.

idstringOptional

Unique transaction ID.

Example: 123456
invoicestringOptional

Invoice number associated with the transaction.

Example: Test56
descriptionstringOptional

Description of the transaction.

Example: transaction description
commentsstringOptional

Comments associated with the transaction.

Example: These are my comments
serverIdstringOptionalDeprecated
createdstringOptional

Date and time when the transaction was created.

Example: 8/10/2017 12:12:12:00 UTC
typestringOptional

Identifies the transaction type. Allowable values: AUTH, SALE, REFUND, VOID, CAPTURE, FORCED SALE, CARD INQUIRY.

Example: SALE
resultstringOptional

Result of the transaction. For example, APPROVED. Allowable values: APPROVED, DECLINED, ERROR.

Example: APPROVED
cardstringOptional

Card number used for the transaction.

cscstringOptional

Card Security Code used.

Example: 999
cvmstringOptional

Cardholder Verification Method used. Allowable values: NON (None), MSG(Manual Signature), OFC(Offline Pin in the Clear), PIN(Online Pin), OFE(Offline Encrypted Pin).

Example: NON
authorization-codestringOptional

Code indicating the transaction authorization.

Example: AE12368
avs-result-codestringOptional

Result code from Address Verification Service. Allowable values: X, Y, A, W, Z, N, U, R, S, G.

Example: X
avs-result-code-descriptionstringOptional

Description of the AVS result.

Example: All digits match (9-digit Zip Code)
csc-result-codestringOptional

Result code from CSC verification. Allowable values: M, N, P, S, U, X.

Example: X
csc-result-code-descriptionstringOptional

Description of the CSC result.

Example: Service provider did not respond
tip-adjusted-amountstringOptional

Amount of the adjusted tip.

Example: 1.0
avs-streetstringOptional

Street used in AVS check.

Example: Example Street
avs-zipstringOptional

ZIP code used in AVS check.

Example: 85284
token-descriptionstringOptional

Description of the token created.

original-amountstringOptional

Original amount before adjustments.

Example: 12.0
tip-amountstringOptional

Tip amount included in the transaction.

Example: 0.2
ref-idstringOptional

Reference ID for the transaction.

Example: 568972
entry-methodstringOptional

Method used to enter payment data of the transaction. For example, Swipe/Manual.

Example: EMV_DIP
batch-string-idstringOptional

Identifies the settlement batch ID.

Example: 000101
order-idstringOptional

Order id passed in with the transaction.

Example: order99
purchase-orderstringOptional

Purchase order number.

Example: purcahseOrder88
customer-idstringOptional

Customer id passed in with the transaction.

Example: 1234Customer
email-addressstringOptional

Email address associated with the transaction.

Example: test@test.com
display-messagestringOptional

Displayable message about transaction result.

Example: Transaction Approved
result-codestringOptional

Result code associated with transaction result.

Example: 000
billing-is-shippingbooleanOptional

Indicates if billing and shipping addresses are the same.

Example: true
tip-adjustedstringOptional

Indicates if the tip was adjusted.

Example: false
exp-datestringOptional

Expiration date of the card.

Example: 1232
client-ipstringOptional

IP address of the client initiating the transaction.

Example: 127.0.0.1
voidedstringOptional

Indicates if the transaction was voided.

Example: false
pendingstringOptional

Indicates if the transaction is pending.

Example: false
voided-authstringOptional

Indicates if the authorization was voided.

Example: false
settledstringOptional

Indicates if the transaction has been settled.

Example: false
statusstringOptional

Status of the transaction. For example, approved.

Example: approved
emv-datastringOptional

Raw EMV data string.

Example: 0099daje93993903
key-serial-numberstringOptional

Serial number of the encryption key used.

Example: 0099daje93993903
emv-entry-methodstringOptional

Method used to enter EMV data. Allowable values: EMV_DIP, EMV_CONTACTLESS, EMV_FALLBACK_SWIPE, EMV_FALLBACK_NONTECH.

Example: EMV_DIP
software-typestringOptional

Type of software used for the transaction.

Example: MySoftware_Version1.3
customer-first-namestringOptional

First name of the customer.

Example: John
customer-last-namestringOptional

Last name of the customer.

Example: Doe
plan-namestringOptional

Name of the payment plan used.

Example: Plan 56
card-typestringOptional

Type of card used. For example, VISA.

Example: VISA
contactlessstringOptional

Indicates if contactless payment was used.

Example: false
contactless-devicestringOptional

Indicates if a contactless device was used.

Example: false
sales-tax-typestringOptional

Type of sales tax applied.

sales-tax-amountstringOptional

Amount of sales tax applied.

Example: 6.0
add-tax-to-amountbooleanOptional

Indicates if tax was added to the transaction amount.

Example: false
emv-data-responsestringOptional

Response data from EMV processing.

signature-base-64-imagestringOptional

Base64-encoded image of the signature.

last-fourstringOptional

Last four digits of the card number.

check-field-duplicatebooleanOptional

Indicates if a duplicate check was performed.

service-feestringOptional

Service fee applied to the transaction

base-amountstringOptional

Base amount before taxes and fees.

merchant-idstringOptional

Identifier for the merchant.

terminal-idstringOptional

Identifier for the terminal used.

surcharge-appliedbooleanOptional

Indicates if a surcharge was applied.

partial-authorizationbooleanOptional

Indicates if partial authorization was allowed.

Example: false
partial-approvedbooleanOptional

Indicates if the transaction was partially approved.

Example: false
secure3d-ecistringOptional

Electronic Commerce Indicator for 3D Secure.

secure3d-result-codestringOptional

Result code from 3D Secure authentication.

total-amountstringOptional

Total amount including all charges.

external-transaction-referencestringOptional

External reference ID for the transaction.

token-idstringOptional

Identifier of the payment token.

create-tokenbooleanOptional

Indicates if a token should be created for the transaction.

Example: true
digital-wallet-typestringOptional

Type of digital wallet used. For example, GOOGLE.

Example: GOOGLE
post/rest/v2/terminal/transactions
POST /rest/v2/terminal/transactions HTTP/1.1
api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 2327

{
  "amount": "80.00",
  "type": "SALE",
  "card": "4111111111111111",
  "secure3d": "AAEBBBYSNAAAAA+gcCAjdAAAAAA=",
  "secure3d-eci": "05",
  "secure3d-platform": "EVERVAULT",
  "secure3d-directory-server-transaction-id": "ccb4016e-776c-56f1-8000-0000849d676e",
  "secure3d-protocol-version": "2.2.0",
  "id": "text",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "csc": "999",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "cvm": "NON (None)",
  "exp-date": "0932",
  "track2-data": "text",
  "encrypted-track-data": "text",
  "track-format": "text",
  "tip-amount": "0.9",
  "invoice": "invoice123",
  "authorization-code": "AC789U",
  "purchase-order": "PO789",
  "email-receipt": false,
  "email-address": "test@test.com",
  "customer-id": "Customer 1234",
  "order-id": "99988d",
  "description": "Transaction desc",
  "client-ip": "127.0.0.1",
  "billing-is-shipping": "false",
  "create-token": "false",
  "merchant-legacy-token": false,
  "token-description": "text",
  "card-type": "VISA",
  "emv-data": "text",
  "key-serial-number": "text",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "software-type-version": "text",
  "pin-data": "text",
  "contactless": false,
  "contactless-device": false,
  "sales-tax-amount": "90.0",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "check-field": "invoice",
  "service-fee": "2.9",
  "check-field-mid": true,
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "is-amex": false,
  "is-sp30": false,
  "card-inquiry": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "add-tax-to-amount": false
}
{
  "amount": "text",
  "currency": "text",
  "id": "123456",
  "invoice": "Test56",
  "description": "transaction description",
  "comments": "These are my comments",
  "created": "8/10/2017 12:12:12:00 UTC",
  "type": "SALE",
  "result": "APPROVED",
  "billing": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "shipping": {
    "company": "text",
    "street": "text",
    "street2": "text",
    "city": "text",
    "state": "text",
    "zip": "text",
    "country": "text",
    "phone": "text",
    "first-name": "text",
    "last-name": "text",
    "from-zip": "text"
  },
  "card": "text",
  "csc": "999",
  "cvm": "NON",
  "authorization-code": "AE12368",
  "avs-result-code": "X",
  "avs-result-code-description": "All digits match (9-digit Zip Code)",
  "csc-result-code": "X",
  "csc-result-code-description": "Service provider did not respond",
  "tip-adjusted-amount": "1.0",
  "avs-street": "Example Street",
  "avs-zip": "85284",
  "token-description": "text",
  "original-amount": "12.0",
  "tip-amount": "0.2",
  "ref-id": "568972",
  "entry-method": "EMV_DIP",
  "batch-string-id": "000101",
  "order-id": "order99",
  "purchase-order": "purcahseOrder88",
  "customer-id": "1234Customer",
  "email-address": "test@test.com",
  "display-message": "Transaction Approved",
  "result-code": "000",
  "billing-is-shipping": true,
  "tip-adjusted": "false",
  "exp-date": "1232",
  "client-ip": "127.0.0.1",
  "voided": "false",
  "pending": "false",
  "voided-auth": "false",
  "settled": "false",
  "status": "approved",
  "emv-data": "0099daje93993903",
  "key-serial-number": "0099daje93993903",
  "emv-entry-method": "EMV_DIP",
  "software-type": "MySoftware_Version1.3",
  "customer-first-name": "John",
  "customer-last-name": "Doe",
  "plan-name": "Plan 56",
  "card-type": "VISA",
  "contactless": "false",
  "contactless-device": "false",
  "sales-tax-type": "text",
  "sales-tax-amount": "6.0",
  "add-tax-to-amount": false,
  "emv-data-response": "text",
  "emv": {
    "application-name": "Visa Debit",
    "application-id": "A0000000041010",
    "terminal-verification-results": "0400088000",
    "transaction-status-information": "E800",
    "iad": "ABC123",
    "transaction-certificate": "CERT1234",
    "application-transaction-counter": "0001"
  },
  "signature-base-64-image": "text",
  "last-four": "text",
  "check-field-duplicate": true,
  "service-fee": "text",
  "base-amount": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "merchant-id": "text",
  "terminal-id": "text",
  "surcharge-applied": true,
  "level3": {
    "vat-tax-amount": "0.0",
    "vat-tax-rate": "0.0",
    "order-date": "2024-10-15",
    "customer-vat-registration-number": "DE123456789",
    "summary-commodity-code": "1234",
    "discount-amount": "0.0",
    "destination-country-code": "USA",
    "freight-amount": "0.0",
    "duty-amount": "0.0",
    "level3-items": {
      "level3-items": [
        {
          "item-description": "text",
          "item-commodity-code": "text",
          "item-quantity": "text",
          "item-unit-of-measure": "text",
          "item-unit-cost": "text",
          "item-product-code": "text",
          "item-tax-amount": "text",
          "item-tax-rate": "text",
          "item-discount": "text",
          "item-line-total": "text",
          "item-net-gross-ind": "text",
          "item-discount-rate": "text"
        }
      ]
    }
  },
  "partial-authorization": false,
  "partial-approved": false,
  "additional-amounts": [
    {
      "amount": "text",
      "account-type": "text",
      "amount-type": "text"
    }
  ],
  "secure3d-eci": "text",
  "secure3d-result-code": "text",
  "total-amount": "text",
  "external-transaction-reference": "text",
  "token-id": "text",
  "create-token": true,
  "digital-wallet-type": "GOOGLE"
}

Last updated

Was this helpful?