Transactions

Transaction Controller

Search Transactions

get

Transactions will only be available in the Quest system for up to 90 days. Valid formats for the ‘start-date’ and ‘end-date’ fields include the following: MM-dd-yyyy hh:mm a, MM-dd-yy HH:mm, MM-dd-yy HH:mm z, yyyy-MM-dd HH:mm, yyyy-MM-dd HH:mm z

Query parameters
levelanyOptional

Level of transaction search. Default is terminal level. Set to 'merchant' to query all terminals for this merchant.

idanyOptional

ID of the transaction. This can be used to do follow-up transactions (void, refund, capture, etc.)

amountanyOptional

Amount of the transactions

typeanyOptional

type of transaction

statusanyOptional

status of the transaction (APPROVED, DECLINED, etc)

last-fouranyOptional

last four digits of card number submitted

authorization-codeanyOptional

authorization code from issuer

invoiceanyOptional

invoice number if one was included in the request

order-idanyOptional

order ID if one was included in the request

display-messageanyOptional

result message (i.e. "transaction approved")

start-dateanyOptional

filters the transactions list by the created date/time. Setting start date will return transactions that were processed after this date/time. Setting both start and end date creates a range

end-dateanyOptional

use with start date to create range

pageanyOptional

page number

page-sizeanyOptional

page-size

isDescendinganyOptional

list results in descending order, default is true

Header parameters
api-keyanyRequired

api-key-value

Responses
200

Success

application/json
get
GET //rest/v2/transactions HTTP/1.1
Host: gateway-sb.clearent.net
Accept: */*
{
  "payloadType": "text",
  "transaction": {
    "action": {
      "client-key": "text",
      "data": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "environment": "text",
      "locale": "text",
      "method": "text",
      "payment-method-type": "text",
      "qr-code-data": "text",
      "sub-type": "text",
      "type": "text",
      "url": "text"
    },
    "add-tax-to-amount": false,
    "additional-amounts": [
      {
        "account-type": "text",
        "amount": "text",
        "amount-type": "text"
      }
    ],
    "billing": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "card": "text",
    "create-token": true,
    "digital-wallet-type": "GOOGLE",
    "emv": {
      "application-id": "A0000000041010",
      "application-name": "Visa Debit",
      "application-transaction-counter": "text",
      "iad": "text",
      "terminal-verification-results": "0400088000",
      "transaction-certificate": "text",
      "transaction-status-information": "E800"
    },
    "external-transaction-reference": "text",
    "funding-reference": "text",
    "issuer_id": "10",
    "level3": "TRUE",
    "moto": true,
    "network-transaction-reference": "text",
    "original-processing-party-reference": "text",
    "partial-approved": false,
    "partial-authorization": false,
    "processing-party-reference": "text",
    "secure3d-eci": "text",
    "secure3d-result-code": "text",
    "serverId": "text",
    "shipping": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "token-id": "text",
    "amount": "text",
    "authorization-code": "AE12368",
    "avs-result-code": "X",
    "avs-result-code-description": "All digits match (9-digit Zip Code)",
    "avs-street": "Example Street",
    "avs-zip": "85284",
    "base-amount": "text",
    "batch-string-id": "000101",
    "billing-is-shipping": "true",
    "card-type": "VISA",
    "check-field-duplicate": false,
    "client-ip": "127.0.0.1",
    "comments": "These are my comments",
    "contactless": "false",
    "contactless-device": "false",
    "created": "8/10/2017 12:12:12:00 UTC",
    "csc": "999",
    "csc-result-code": "X",
    "csc-result-code-description": "Service provider did not respond",
    "currency": "text",
    "customer-first-name": "John",
    "customer-id": "1234Customer",
    "customer-last-name": "Doe",
    "cvm": "NON",
    "description": "transaction description",
    "display-message": "Transaction Approved",
    "email-address": "[email protected]",
    "emv-data": "0099daje93993903",
    "emv-data-response": "text",
    "emv-entry-method": "EMV_DIP",
    "entry-method": "EMV_DIP",
    "exp-date": "1232",
    "first-recurring-transaction": "false",
    "id": "123456",
    "invoice": "Test56",
    "key-serial-number": "0099daje93993903",
    "last-four": "text",
    "merchant-id": "text",
    "order-id": "order99",
    "original-amount": "12.00",
    "pending": "false",
    "plan-name": "Plan 56",
    "platform-fees": [
      {
        "fee-name": "DealManager"
      }
    ],
    "purchase-order": "purcahseOrder88",
    "ref-id": "568972",
    "result": "APPROVED",
    "result-code": "000",
    "sales-tax-amount": "6.00",
    "sales-tax-type": "text",
    "service-fee": "text",
    "settled": "false",
    "signature-base-64-image": "text",
    "software-type": "MySoftware_Version1.3",
    "status": "approved",
    "surcharge-applied": false,
    "terminal-id": "text",
    "tip-adjusted": "false",
    "tip-adjusted-amount": "1.00",
    "tip-amount": "0.20",
    "total-amount": "text",
    "type": "SALE",
    "voided": "false",
    "voided-auth": "false",
    "token-description": "text"
  }
}

Authorization Transaction

post

Any amount value $1.00 or greater will produce an approval. Any amount value under $1.00 will produce a decline for your testing.

This endpoint used when a merchant wishes to obtain a pre-approval, auth only, or “pre auth”. An auth is later closed with a capture.

Required Fields for Sale: { "type": "AUTH", "exp-date":"for test any future date", "amount": "1.00", "card": "4111111111111111" }

Header parameters
api-keyanyRequired

apiKeyValue

Body
add-tax-to-amountbooleanOptional

This field controls sales-tax-amount with respect to the total amount used for authorization and capture

authorization-codestring · max: 255Optional

Required for Forced Sale. The authorization code of the transactions obtained from another source

Example: AC789U
billing-is-shippingstringOptional

True if shipping address matches billing address

Example: false
cardstringOptional

card number or credit card token. When merchant-legacy-token flag is true, this is merchant token id, used for identifying the card token

Example: 4111111111111111
card-inquirybooleanOptional

When tokenizing the card our system will run a card inquiry by default to ensure the card is valid prior to storing the card. To override this pass false.

Example: true
check-field-midbooleanOptional

Optional duplication check for transactions. If you send in true we will validate the check-field field sent in is not duplicated for EMV transactions on a merchant level.

Example: true
client-ipstring · max: 255Optional

IP Address of where request orginiated (Create for ecommerce apps)

Example: 127.0.0.1
commentsstring · max: 225Optional

Additonal Comments about the transaction

Example: Bad tipper .90 on 80.00 transaction
contactlessstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
contactless-devicestringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
cscstringOptional

Optional field to pass with transactions where you pass the card data, 3- or 4- digit number

Example: 999
customer-idstring · max: 255Optional

Customer Identifier of the transaction

Example: Customer 1234
descriptionstring · max: 255Optional

Description of the transaction

Example: Transaction desc
email-addressstring · max: 255Optional

email address to associate to the transaction

Example: [email protected]
email-receiptstringOptional

pass in if you would like to email a receipt. If true, email-address is required.

Example: false
encrypted-track-datastringOptional

Encrypted Track Data can be passed instead of card number, Requires TrackFromat to be set

invoicestringOptional

VarChar value up to 100 characters.

Example: invoice123
is-amexbooleanOptional

Optional field to signify if card being used is an American Express card

is-sp30booleanOptional

Optional field to signify if terminal being used is a SP30

order-idstring · max: 255Optional

Order Id

Example: 99988d
partial-authorizationbooleanOptional

pass in if you would like to check partial authorization.

pin-datastringOptional
purchase-orderstring · max: 255Optional

VarChar value up to 100 characters.

Example: PO789
sales-tax-amountstring · max: 12Optional

Optional for Capture and Sale transactions, required to qualify with Level II. Sales tax amount will be added to transaction amount for auth/capture unless the add-tax-to-amount field is used and set to false.

Example: 90.00
sales-tax-typestring · enumOptional

Optional for Capture and Sale transactions, required to qualify with Level II

Example: LOCAL_SALES_TAXPossible values:
secure3dstring · max: 40Optional

Optional; encrypted CAVV data for 3DS

secure3d-ecistring · max: 2Optional

Optional; 3DS Electronic Commerce Indicator

secure3d-platformstringOptional

Optional field to indicate Google or Apple pay

Example: GOOGLE
secure3d-xidstringOptional

Optional field to identify transaction from Google or Apple pay

service-feestring · max: 12Optional

Optional on a SALE/Capture. Requires 2 decimal places. Must be less than or equal to 3.99% of total amount (amount + sales-tax-amount + tip-amount). The service-fee amount will be added to the transaction amount, under certain conditions, with the total used for auth/capture.

Example: 2.90
software-typestring · max: 255Optional

Not Required, but will help with troubleshooting if you have issues or problems

Example: MySoftware_Version1.3
tip-amountstring · max: 12Optional

optional on a SALE/Capture. Requires 2 decimal places. The tip-amount will be added to the transaction amount provided; the total will be used for auth/capture.

Example: 0.90
track2-datastringOptional

Clear Text track data can be passed instead of card

typestring · enumRequired

Type of transaction you would like to run

Example: SALEPossible values:
amountstring · max: 12Required

amount of transaction

Example: 80.00
exp-datestringOptional

expiration date, MMyy format

Example: 0932
idstring · max: 19Optional

id returned on a sale or auth; use for void, capture, refund, and tip-adjust

software-type-versionstringOptional

Not Required, but will help with troubleshooting if you have isseus or problems

card-typestring · enumOptional

Required if create-token is true. Type of card

Example: VISAPossible values:
create-tokenstringOptional

pass in if you would like to create a token as part of the transaction, Optional on an AUTH or SALE

Example: false
merchant-legacy-tokenstringOptional

pass in if you would like to use a legacy token in your transaction request, Optional on an AUTH or SALE

Example: false
token-descriptionstring · max: 255Optional

Required if create-token is true. Description of the token (ie savings acct

track-formatstring · enumOptional

Encrypted Track Data can be passed instead of card, the format of that encrypted data

Possible values:
check-fieldstring · max: 15Optional

Optional duplication check for transactions. If you send in a check field we will validate that field is not duplicated for EMV transactions.

Example: invoice
cvmstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
emv-datastringOptional

Used for FULL EMV integrations only (not for semi integrated)

emv-entry-methodstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
key-serial-numberstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Responses
200

Successful Transaction

application/json
post
POST //rest/v2/transactions/auth HTTP/1.1
Host: gateway-sb.clearent.net
Content-Type: application/json
Accept: */*
Content-Length: 1716

{
  "add-tax-to-amount": false,
  "authorization-code": "AC789U",
  "billing": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "billing-is-shipping": "false",
  "card": "4111111111111111",
  "card-inquiry": true,
  "check-field-mid": true,
  "client-ip": "127.0.0.1",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "contactless": "false",
  "contactless-device": "false",
  "csc": "999",
  "customer-id": "Customer 1234",
  "description": "Transaction desc",
  "email-address": "[email protected]",
  "email-receipt": "false",
  "encrypted-track-data": "text",
  "invoice": "invoice123",
  "is-amex": false,
  "is-sp30": false,
  "level3": "TRUE",
  "order-id": "99988d",
  "partial-authorization": false,
  "pin-data": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "purchase-order": "PO789",
  "sales-tax-amount": "90.00",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "secure3d": "text",
  "secure3d-eci": "text",
  "secure3d-platform": "GOOGLE",
  "secure3d-xid": "text",
  "service-fee": "2.90",
  "shipping": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "software-type": "MySoftware_Version1.3",
  "tip-amount": "0.90",
  "track2-data": "text",
  "type": "SALE",
  "amount": "80.00",
  "exp-date": "0932",
  "id": "text",
  "software-type-version": "text",
  "card-type": "VISA",
  "create-token": "false",
  "merchant-legacy-token": "false",
  "token-description": "text",
  "track-format": "MAGTEK",
  "check-field": "invoice",
  "cvm": "NON (None)",
  "emv-data": "text",
  "emv-entry-method": "EMV_DIP",
  "key-serial-number": "text"
}
{
  "payloadType": "text",
  "transaction": {
    "action": {
      "client-key": "text",
      "data": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "environment": "text",
      "locale": "text",
      "method": "text",
      "payment-method-type": "text",
      "qr-code-data": "text",
      "sub-type": "text",
      "type": "text",
      "url": "text"
    },
    "add-tax-to-amount": false,
    "additional-amounts": [
      {
        "account-type": "text",
        "amount": "text",
        "amount-type": "text"
      }
    ],
    "billing": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "card": "text",
    "create-token": true,
    "digital-wallet-type": "GOOGLE",
    "emv": {
      "application-id": "A0000000041010",
      "application-name": "Visa Debit",
      "application-transaction-counter": "text",
      "iad": "text",
      "terminal-verification-results": "0400088000",
      "transaction-certificate": "text",
      "transaction-status-information": "E800"
    },
    "external-transaction-reference": "text",
    "funding-reference": "text",
    "issuer_id": "10",
    "level3": "TRUE",
    "moto": true,
    "network-transaction-reference": "text",
    "original-processing-party-reference": "text",
    "partial-approved": false,
    "partial-authorization": false,
    "processing-party-reference": "text",
    "secure3d-eci": "text",
    "secure3d-result-code": "text",
    "serverId": "text",
    "shipping": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "token-id": "text",
    "amount": "text",
    "authorization-code": "AE12368",
    "avs-result-code": "X",
    "avs-result-code-description": "All digits match (9-digit Zip Code)",
    "avs-street": "Example Street",
    "avs-zip": "85284",
    "base-amount": "text",
    "batch-string-id": "000101",
    "billing-is-shipping": "true",
    "card-type": "VISA",
    "check-field-duplicate": false,
    "client-ip": "127.0.0.1",
    "comments": "These are my comments",
    "contactless": "false",
    "contactless-device": "false",
    "created": "8/10/2017 12:12:12:00 UTC",
    "csc": "999",
    "csc-result-code": "X",
    "csc-result-code-description": "Service provider did not respond",
    "currency": "text",
    "customer-first-name": "John",
    "customer-id": "1234Customer",
    "customer-last-name": "Doe",
    "cvm": "NON",
    "description": "transaction description",
    "display-message": "Transaction Approved",
    "email-address": "[email protected]",
    "emv-data": "0099daje93993903",
    "emv-data-response": "text",
    "emv-entry-method": "EMV_DIP",
    "entry-method": "EMV_DIP",
    "exp-date": "1232",
    "first-recurring-transaction": "false",
    "id": "123456",
    "invoice": "Test56",
    "key-serial-number": "0099daje93993903",
    "last-four": "text",
    "merchant-id": "text",
    "order-id": "order99",
    "original-amount": "12.00",
    "pending": "false",
    "plan-name": "Plan 56",
    "platform-fees": [
      {
        "fee-name": "DealManager"
      }
    ],
    "purchase-order": "purcahseOrder88",
    "ref-id": "568972",
    "result": "APPROVED",
    "result-code": "000",
    "sales-tax-amount": "6.00",
    "sales-tax-type": "text",
    "service-fee": "text",
    "settled": "false",
    "signature-base-64-image": "text",
    "software-type": "MySoftware_Version1.3",
    "status": "approved",
    "surcharge-applied": false,
    "terminal-id": "text",
    "tip-adjusted": "false",
    "tip-adjusted-amount": "1.00",
    "tip-amount": "0.20",
    "total-amount": "text",
    "type": "SALE",
    "voided": "false",
    "voided-auth": "false",
    "token-description": "text"
  }
}

Capture Transaction

post

Allows merchants to finalize previously authorized transactions. Inside the clearentRequest field, set the required fields, and hit try me. Required Fields for capture: {"type": "capture", "id":"id of transaction to capture", "amount": "1.00"}

Header parameters
api-keyanyRequired

apiKeyValue

Body
add-tax-to-amountbooleanOptional

This field controls sales-tax-amount with respect to the total amount used for authorization and capture

authorization-codestring · max: 255Optional

Required for Forced Sale. The authorization code of the transactions obtained from another source

Example: AC789U
billing-is-shippingstringOptional

True if shipping address matches billing address

Example: false
cardstringOptional

card number or credit card token. When merchant-legacy-token flag is true, this is merchant token id, used for identifying the card token

Example: 4111111111111111
card-inquirybooleanOptional

When tokenizing the card our system will run a card inquiry by default to ensure the card is valid prior to storing the card. To override this pass false.

Example: true
check-field-midbooleanOptional

Optional duplication check for transactions. If you send in true we will validate the check-field field sent in is not duplicated for EMV transactions on a merchant level.

Example: true
client-ipstring · max: 255Optional

IP Address of where request orginiated (Create for ecommerce apps)

Example: 127.0.0.1
commentsstring · max: 225Optional

Additonal Comments about the transaction

Example: Bad tipper .90 on 80.00 transaction
contactlessstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
contactless-devicestringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
cscstringOptional

Optional field to pass with transactions where you pass the card data, 3- or 4- digit number

Example: 999
customer-idstring · max: 255Optional

Customer Identifier of the transaction

Example: Customer 1234
descriptionstring · max: 255Optional

Description of the transaction

Example: Transaction desc
email-addressstring · max: 255Optional

email address to associate to the transaction

Example: [email protected]
email-receiptstringOptional

pass in if you would like to email a receipt. If true, email-address is required.

Example: false
encrypted-track-datastringOptional

Encrypted Track Data can be passed instead of card number, Requires TrackFromat to be set

invoicestringOptional

VarChar value up to 100 characters.

Example: invoice123
is-amexbooleanOptional

Optional field to signify if card being used is an American Express card

is-sp30booleanOptional

Optional field to signify if terminal being used is a SP30

order-idstring · max: 255Optional

Order Id

Example: 99988d
partial-authorizationbooleanOptional

pass in if you would like to check partial authorization.

pin-datastringOptional
purchase-orderstring · max: 255Optional

VarChar value up to 100 characters.

Example: PO789
sales-tax-amountstring · max: 12Optional

Optional for Capture and Sale transactions, required to qualify with Level II. Sales tax amount will be added to transaction amount for auth/capture unless the add-tax-to-amount field is used and set to false.

Example: 90.00
sales-tax-typestring · enumOptional

Optional for Capture and Sale transactions, required to qualify with Level II

Example: LOCAL_SALES_TAXPossible values:
secure3dstring · max: 40Optional

Optional; encrypted CAVV data for 3DS

secure3d-ecistring · max: 2Optional

Optional; 3DS Electronic Commerce Indicator

secure3d-platformstringOptional

Optional field to indicate Google or Apple pay

Example: GOOGLE
secure3d-xidstringOptional

Optional field to identify transaction from Google or Apple pay

service-feestring · max: 12Optional

Optional on a SALE/Capture. Requires 2 decimal places. Must be less than or equal to 3.99% of total amount (amount + sales-tax-amount + tip-amount). The service-fee amount will be added to the transaction amount, under certain conditions, with the total used for auth/capture.

Example: 2.90
software-typestring · max: 255Optional

Not Required, but will help with troubleshooting if you have issues or problems

Example: MySoftware_Version1.3
tip-amountstring · max: 12Optional

optional on a SALE/Capture. Requires 2 decimal places. The tip-amount will be added to the transaction amount provided; the total will be used for auth/capture.

Example: 0.90
track2-datastringOptional

Clear Text track data can be passed instead of card

typestring · enumRequired

Type of transaction you would like to run

Example: SALEPossible values:
amountstring · max: 12Required

amount of transaction

Example: 80.00
exp-datestringOptional

expiration date, MMyy format

Example: 0932
idstring · max: 19Optional

id returned on a sale or auth; use for void, capture, refund, and tip-adjust

software-type-versionstringOptional

Not Required, but will help with troubleshooting if you have isseus or problems

card-typestring · enumOptional

Required if create-token is true. Type of card

Example: VISAPossible values:
create-tokenstringOptional

pass in if you would like to create a token as part of the transaction, Optional on an AUTH or SALE

Example: false
merchant-legacy-tokenstringOptional

pass in if you would like to use a legacy token in your transaction request, Optional on an AUTH or SALE

Example: false
token-descriptionstring · max: 255Optional

Required if create-token is true. Description of the token (ie savings acct

track-formatstring · enumOptional

Encrypted Track Data can be passed instead of card, the format of that encrypted data

Possible values:
check-fieldstring · max: 15Optional

Optional duplication check for transactions. If you send in a check field we will validate that field is not duplicated for EMV transactions.

Example: invoice
cvmstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
emv-datastringOptional

Used for FULL EMV integrations only (not for semi integrated)

emv-entry-methodstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
key-serial-numberstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Responses
200

Successful Transaction

application/json
post
POST //rest/v2/transactions/capture HTTP/1.1
Host: gateway-sb.clearent.net
Content-Type: application/json
Accept: */*
Content-Length: 1716

{
  "add-tax-to-amount": false,
  "authorization-code": "AC789U",
  "billing": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "billing-is-shipping": "false",
  "card": "4111111111111111",
  "card-inquiry": true,
  "check-field-mid": true,
  "client-ip": "127.0.0.1",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "contactless": "false",
  "contactless-device": "false",
  "csc": "999",
  "customer-id": "Customer 1234",
  "description": "Transaction desc",
  "email-address": "[email protected]",
  "email-receipt": "false",
  "encrypted-track-data": "text",
  "invoice": "invoice123",
  "is-amex": false,
  "is-sp30": false,
  "level3": "TRUE",
  "order-id": "99988d",
  "partial-authorization": false,
  "pin-data": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "purchase-order": "PO789",
  "sales-tax-amount": "90.00",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "secure3d": "text",
  "secure3d-eci": "text",
  "secure3d-platform": "GOOGLE",
  "secure3d-xid": "text",
  "service-fee": "2.90",
  "shipping": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "software-type": "MySoftware_Version1.3",
  "tip-amount": "0.90",
  "track2-data": "text",
  "type": "SALE",
  "amount": "80.00",
  "exp-date": "0932",
  "id": "text",
  "software-type-version": "text",
  "card-type": "VISA",
  "create-token": "false",
  "merchant-legacy-token": "false",
  "token-description": "text",
  "track-format": "MAGTEK",
  "check-field": "invoice",
  "cvm": "NON (None)",
  "emv-data": "text",
  "emv-entry-method": "EMV_DIP",
  "key-serial-number": "text"
}
{
  "payloadType": "text",
  "transaction": {
    "action": {
      "client-key": "text",
      "data": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "environment": "text",
      "locale": "text",
      "method": "text",
      "payment-method-type": "text",
      "qr-code-data": "text",
      "sub-type": "text",
      "type": "text",
      "url": "text"
    },
    "add-tax-to-amount": false,
    "additional-amounts": [
      {
        "account-type": "text",
        "amount": "text",
        "amount-type": "text"
      }
    ],
    "billing": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "card": "text",
    "create-token": true,
    "digital-wallet-type": "GOOGLE",
    "emv": {
      "application-id": "A0000000041010",
      "application-name": "Visa Debit",
      "application-transaction-counter": "text",
      "iad": "text",
      "terminal-verification-results": "0400088000",
      "transaction-certificate": "text",
      "transaction-status-information": "E800"
    },
    "external-transaction-reference": "text",
    "funding-reference": "text",
    "issuer_id": "10",
    "level3": "TRUE",
    "moto": true,
    "network-transaction-reference": "text",
    "original-processing-party-reference": "text",
    "partial-approved": false,
    "partial-authorization": false,
    "processing-party-reference": "text",
    "secure3d-eci": "text",
    "secure3d-result-code": "text",
    "serverId": "text",
    "shipping": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "token-id": "text",
    "amount": "text",
    "authorization-code": "AE12368",
    "avs-result-code": "X",
    "avs-result-code-description": "All digits match (9-digit Zip Code)",
    "avs-street": "Example Street",
    "avs-zip": "85284",
    "base-amount": "text",
    "batch-string-id": "000101",
    "billing-is-shipping": "true",
    "card-type": "VISA",
    "check-field-duplicate": false,
    "client-ip": "127.0.0.1",
    "comments": "These are my comments",
    "contactless": "false",
    "contactless-device": "false",
    "created": "8/10/2017 12:12:12:00 UTC",
    "csc": "999",
    "csc-result-code": "X",
    "csc-result-code-description": "Service provider did not respond",
    "currency": "text",
    "customer-first-name": "John",
    "customer-id": "1234Customer",
    "customer-last-name": "Doe",
    "cvm": "NON",
    "description": "transaction description",
    "display-message": "Transaction Approved",
    "email-address": "[email protected]",
    "emv-data": "0099daje93993903",
    "emv-data-response": "text",
    "emv-entry-method": "EMV_DIP",
    "entry-method": "EMV_DIP",
    "exp-date": "1232",
    "first-recurring-transaction": "false",
    "id": "123456",
    "invoice": "Test56",
    "key-serial-number": "0099daje93993903",
    "last-four": "text",
    "merchant-id": "text",
    "order-id": "order99",
    "original-amount": "12.00",
    "pending": "false",
    "plan-name": "Plan 56",
    "platform-fees": [
      {
        "fee-name": "DealManager"
      }
    ],
    "purchase-order": "purcahseOrder88",
    "ref-id": "568972",
    "result": "APPROVED",
    "result-code": "000",
    "sales-tax-amount": "6.00",
    "sales-tax-type": "text",
    "service-fee": "text",
    "settled": "false",
    "signature-base-64-image": "text",
    "software-type": "MySoftware_Version1.3",
    "status": "approved",
    "surcharge-applied": false,
    "terminal-id": "text",
    "tip-adjusted": "false",
    "tip-adjusted-amount": "1.00",
    "tip-amount": "0.20",
    "total-amount": "text",
    "type": "SALE",
    "voided": "false",
    "voided-auth": "false",
    "token-description": "text"
  }
}

Forced Sale Transaction

post

All values must be above $1.00. Working with any amount under $1.00 will result in a decline during testing. A Forced Sale is a transaction initiated by the merchant with the intent to force the posting of the transaction. This occurs without receiving prior authorization from the issuer or when a “voice approval” is obtained. A Forced Sale does not require a matching authorization. Required fields for Forced Sale: {"type": "FORCED SALE", "exp-date": "for test any future date", "amount": "1.00", "card": "4111111111111111"}

Header parameters
api-keyanyRequired

apiKeyValue

Body
add-tax-to-amountbooleanOptional

This field controls sales-tax-amount with respect to the total amount used for authorization and capture

authorization-codestring · max: 255Optional

Required for Forced Sale. The authorization code of the transactions obtained from another source

Example: AC789U
billing-is-shippingstringOptional

True if shipping address matches billing address

Example: false
cardstringOptional

card number or credit card token. When merchant-legacy-token flag is true, this is merchant token id, used for identifying the card token

Example: 4111111111111111
card-inquirybooleanOptional

When tokenizing the card our system will run a card inquiry by default to ensure the card is valid prior to storing the card. To override this pass false.

Example: true
check-field-midbooleanOptional

Optional duplication check for transactions. If you send in true we will validate the check-field field sent in is not duplicated for EMV transactions on a merchant level.

Example: true
client-ipstring · max: 255Optional

IP Address of where request orginiated (Create for ecommerce apps)

Example: 127.0.0.1
commentsstring · max: 225Optional

Additonal Comments about the transaction

Example: Bad tipper .90 on 80.00 transaction
contactlessstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
contactless-devicestringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
cscstringOptional

Optional field to pass with transactions where you pass the card data, 3- or 4- digit number

Example: 999
customer-idstring · max: 255Optional

Customer Identifier of the transaction

Example: Customer 1234
descriptionstring · max: 255Optional

Description of the transaction

Example: Transaction desc
email-addressstring · max: 255Optional

email address to associate to the transaction

Example: [email protected]
email-receiptstringOptional

pass in if you would like to email a receipt. If true, email-address is required.

Example: false
encrypted-track-datastringOptional

Encrypted Track Data can be passed instead of card number, Requires TrackFromat to be set

invoicestringOptional

VarChar value up to 100 characters.

Example: invoice123
is-amexbooleanOptional

Optional field to signify if card being used is an American Express card

is-sp30booleanOptional

Optional field to signify if terminal being used is a SP30

order-idstring · max: 255Optional

Order Id

Example: 99988d
partial-authorizationbooleanOptional

pass in if you would like to check partial authorization.

pin-datastringOptional
purchase-orderstring · max: 255Optional

VarChar value up to 100 characters.

Example: PO789
sales-tax-amountstring · max: 12Optional

Optional for Capture and Sale transactions, required to qualify with Level II. Sales tax amount will be added to transaction amount for auth/capture unless the add-tax-to-amount field is used and set to false.

Example: 90.00
sales-tax-typestring · enumOptional

Optional for Capture and Sale transactions, required to qualify with Level II

Example: LOCAL_SALES_TAXPossible values:
secure3dstring · max: 40Optional

Optional; encrypted CAVV data for 3DS

secure3d-ecistring · max: 2Optional

Optional; 3DS Electronic Commerce Indicator

secure3d-platformstringOptional

Optional field to indicate Google or Apple pay

Example: GOOGLE
secure3d-xidstringOptional

Optional field to identify transaction from Google or Apple pay

service-feestring · max: 12Optional

Optional on a SALE/Capture. Requires 2 decimal places. Must be less than or equal to 3.99% of total amount (amount + sales-tax-amount + tip-amount). The service-fee amount will be added to the transaction amount, under certain conditions, with the total used for auth/capture.

Example: 2.90
software-typestring · max: 255Optional

Not Required, but will help with troubleshooting if you have issues or problems

Example: MySoftware_Version1.3
tip-amountstring · max: 12Optional

optional on a SALE/Capture. Requires 2 decimal places. The tip-amount will be added to the transaction amount provided; the total will be used for auth/capture.

Example: 0.90
track2-datastringOptional

Clear Text track data can be passed instead of card

typestring · enumRequired

Type of transaction you would like to run

Example: SALEPossible values:
amountstring · max: 12Required

amount of transaction

Example: 80.00
exp-datestringOptional

expiration date, MMyy format

Example: 0932
idstring · max: 19Optional

id returned on a sale or auth; use for void, capture, refund, and tip-adjust

software-type-versionstringOptional

Not Required, but will help with troubleshooting if you have isseus or problems

card-typestring · enumOptional

Required if create-token is true. Type of card

Example: VISAPossible values:
create-tokenstringOptional

pass in if you would like to create a token as part of the transaction, Optional on an AUTH or SALE

Example: false
merchant-legacy-tokenstringOptional

pass in if you would like to use a legacy token in your transaction request, Optional on an AUTH or SALE

Example: false
token-descriptionstring · max: 255Optional

Required if create-token is true. Description of the token (ie savings acct

track-formatstring · enumOptional

Encrypted Track Data can be passed instead of card, the format of that encrypted data

Possible values:
check-fieldstring · max: 15Optional

Optional duplication check for transactions. If you send in a check field we will validate that field is not duplicated for EMV transactions.

Example: invoice
cvmstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
emv-datastringOptional

Used for FULL EMV integrations only (not for semi integrated)

emv-entry-methodstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
key-serial-numberstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Responses
200

Successful Transaction

application/json
post
POST //rest/v2/transactions/forced-sale HTTP/1.1
Host: gateway-sb.clearent.net
Content-Type: application/json
Accept: */*
Content-Length: 1716

{
  "add-tax-to-amount": false,
  "authorization-code": "AC789U",
  "billing": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "billing-is-shipping": "false",
  "card": "4111111111111111",
  "card-inquiry": true,
  "check-field-mid": true,
  "client-ip": "127.0.0.1",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "contactless": "false",
  "contactless-device": "false",
  "csc": "999",
  "customer-id": "Customer 1234",
  "description": "Transaction desc",
  "email-address": "[email protected]",
  "email-receipt": "false",
  "encrypted-track-data": "text",
  "invoice": "invoice123",
  "is-amex": false,
  "is-sp30": false,
  "level3": "TRUE",
  "order-id": "99988d",
  "partial-authorization": false,
  "pin-data": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "purchase-order": "PO789",
  "sales-tax-amount": "90.00",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "secure3d": "text",
  "secure3d-eci": "text",
  "secure3d-platform": "GOOGLE",
  "secure3d-xid": "text",
  "service-fee": "2.90",
  "shipping": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "software-type": "MySoftware_Version1.3",
  "tip-amount": "0.90",
  "track2-data": "text",
  "type": "SALE",
  "amount": "80.00",
  "exp-date": "0932",
  "id": "text",
  "software-type-version": "text",
  "card-type": "VISA",
  "create-token": "false",
  "merchant-legacy-token": "false",
  "token-description": "text",
  "track-format": "MAGTEK",
  "check-field": "invoice",
  "cvm": "NON (None)",
  "emv-data": "text",
  "emv-entry-method": "EMV_DIP",
  "key-serial-number": "text"
}
{
  "payloadType": "text",
  "transaction": {
    "action": {
      "client-key": "text",
      "data": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "environment": "text",
      "locale": "text",
      "method": "text",
      "payment-method-type": "text",
      "qr-code-data": "text",
      "sub-type": "text",
      "type": "text",
      "url": "text"
    },
    "add-tax-to-amount": false,
    "additional-amounts": [
      {
        "account-type": "text",
        "amount": "text",
        "amount-type": "text"
      }
    ],
    "billing": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "card": "text",
    "create-token": true,
    "digital-wallet-type": "GOOGLE",
    "emv": {
      "application-id": "A0000000041010",
      "application-name": "Visa Debit",
      "application-transaction-counter": "text",
      "iad": "text",
      "terminal-verification-results": "0400088000",
      "transaction-certificate": "text",
      "transaction-status-information": "E800"
    },
    "external-transaction-reference": "text",
    "funding-reference": "text",
    "issuer_id": "10",
    "level3": "TRUE",
    "moto": true,
    "network-transaction-reference": "text",
    "original-processing-party-reference": "text",
    "partial-approved": false,
    "partial-authorization": false,
    "processing-party-reference": "text",
    "secure3d-eci": "text",
    "secure3d-result-code": "text",
    "serverId": "text",
    "shipping": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "token-id": "text",
    "amount": "text",
    "authorization-code": "AE12368",
    "avs-result-code": "X",
    "avs-result-code-description": "All digits match (9-digit Zip Code)",
    "avs-street": "Example Street",
    "avs-zip": "85284",
    "base-amount": "text",
    "batch-string-id": "000101",
    "billing-is-shipping": "true",
    "card-type": "VISA",
    "check-field-duplicate": false,
    "client-ip": "127.0.0.1",
    "comments": "These are my comments",
    "contactless": "false",
    "contactless-device": "false",
    "created": "8/10/2017 12:12:12:00 UTC",
    "csc": "999",
    "csc-result-code": "X",
    "csc-result-code-description": "Service provider did not respond",
    "currency": "text",
    "customer-first-name": "John",
    "customer-id": "1234Customer",
    "customer-last-name": "Doe",
    "cvm": "NON",
    "description": "transaction description",
    "display-message": "Transaction Approved",
    "email-address": "[email protected]",
    "emv-data": "0099daje93993903",
    "emv-data-response": "text",
    "emv-entry-method": "EMV_DIP",
    "entry-method": "EMV_DIP",
    "exp-date": "1232",
    "first-recurring-transaction": "false",
    "id": "123456",
    "invoice": "Test56",
    "key-serial-number": "0099daje93993903",
    "last-four": "text",
    "merchant-id": "text",
    "order-id": "order99",
    "original-amount": "12.00",
    "pending": "false",
    "plan-name": "Plan 56",
    "platform-fees": [
      {
        "fee-name": "DealManager"
      }
    ],
    "purchase-order": "purcahseOrder88",
    "ref-id": "568972",
    "result": "APPROVED",
    "result-code": "000",
    "sales-tax-amount": "6.00",
    "sales-tax-type": "text",
    "service-fee": "text",
    "settled": "false",
    "signature-base-64-image": "text",
    "software-type": "MySoftware_Version1.3",
    "status": "approved",
    "surcharge-applied": false,
    "terminal-id": "text",
    "tip-adjusted": "false",
    "tip-adjusted-amount": "1.00",
    "tip-amount": "0.20",
    "total-amount": "text",
    "type": "SALE",
    "voided": "false",
    "voided-auth": "false",
    "token-description": "text"
  }
}

Refund Transaction

post

All values above $1.00. Will working anything under $1.00 will produce a decline for your testing. Allows merchant to refund a previously settled transaction and submit the refund for processing. Refunds are only allowed for financial transactios (sale and capture) and are typically limited to the original authorization amount, or a lesser amounr in some cases. There are 2 ways to perform refund. A matched refund you send in the id of the transaction and the amount to refund. While in an unmatched refund you send in the card number. In the match scenario, it will only refund up to the total amount of the previous transaction. Inside the clearentRequest field, set the required fields, and hit try me.Required Fields for refund: Matched Refund: {"type": "refund", "id":"id of transaction to refund", "amount": "1.00"} - Unmatched Refund:{"type": "REFUND", "exp-date":"for test any future date", "amount": "1.00", "card": "4111111111111111"}

Header parameters
api-keyanyRequired

apiKeyValue

Body
add-tax-to-amountbooleanOptional

This field controls sales-tax-amount with respect to the total amount used for authorization and capture

authorization-codestring · max: 255Optional

Required for Forced Sale. The authorization code of the transactions obtained from another source

Example: AC789U
billing-is-shippingstringOptional

True if shipping address matches billing address

Example: false
cardstringOptional

card number or credit card token. When merchant-legacy-token flag is true, this is merchant token id, used for identifying the card token

Example: 4111111111111111
card-inquirybooleanOptional

When tokenizing the card our system will run a card inquiry by default to ensure the card is valid prior to storing the card. To override this pass false.

Example: true
check-field-midbooleanOptional

Optional duplication check for transactions. If you send in true we will validate the check-field field sent in is not duplicated for EMV transactions on a merchant level.

Example: true
client-ipstring · max: 255Optional

IP Address of where request orginiated (Create for ecommerce apps)

Example: 127.0.0.1
commentsstring · max: 225Optional

Additonal Comments about the transaction

Example: Bad tipper .90 on 80.00 transaction
contactlessstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
contactless-devicestringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
cscstringOptional

Optional field to pass with transactions where you pass the card data, 3- or 4- digit number

Example: 999
customer-idstring · max: 255Optional

Customer Identifier of the transaction

Example: Customer 1234
descriptionstring · max: 255Optional

Description of the transaction

Example: Transaction desc
email-addressstring · max: 255Optional

email address to associate to the transaction

Example: [email protected]
email-receiptstringOptional

pass in if you would like to email a receipt. If true, email-address is required.

Example: false
encrypted-track-datastringOptional

Encrypted Track Data can be passed instead of card number, Requires TrackFromat to be set

invoicestringOptional

VarChar value up to 100 characters.

Example: invoice123
is-amexbooleanOptional

Optional field to signify if card being used is an American Express card

is-sp30booleanOptional

Optional field to signify if terminal being used is a SP30

order-idstring · max: 255Optional

Order Id

Example: 99988d
partial-authorizationbooleanOptional

pass in if you would like to check partial authorization.

pin-datastringOptional
purchase-orderstring · max: 255Optional

VarChar value up to 100 characters.

Example: PO789
sales-tax-amountstring · max: 12Optional

Optional for Capture and Sale transactions, required to qualify with Level II. Sales tax amount will be added to transaction amount for auth/capture unless the add-tax-to-amount field is used and set to false.

Example: 90.00
sales-tax-typestring · enumOptional

Optional for Capture and Sale transactions, required to qualify with Level II

Example: LOCAL_SALES_TAXPossible values:
secure3dstring · max: 40Optional

Optional; encrypted CAVV data for 3DS

secure3d-ecistring · max: 2Optional

Optional; 3DS Electronic Commerce Indicator

secure3d-platformstringOptional

Optional field to indicate Google or Apple pay

Example: GOOGLE
secure3d-xidstringOptional

Optional field to identify transaction from Google or Apple pay

service-feestring · max: 12Optional

Optional on a SALE/Capture. Requires 2 decimal places. Must be less than or equal to 3.99% of total amount (amount + sales-tax-amount + tip-amount). The service-fee amount will be added to the transaction amount, under certain conditions, with the total used for auth/capture.

Example: 2.90
software-typestring · max: 255Optional

Not Required, but will help with troubleshooting if you have issues or problems

Example: MySoftware_Version1.3
tip-amountstring · max: 12Optional

optional on a SALE/Capture. Requires 2 decimal places. The tip-amount will be added to the transaction amount provided; the total will be used for auth/capture.

Example: 0.90
track2-datastringOptional

Clear Text track data can be passed instead of card

typestring · enumRequired

Type of transaction you would like to run

Example: SALEPossible values:
amountstring · max: 12Required

amount of transaction

Example: 80.00
exp-datestringOptional

expiration date, MMyy format

Example: 0932
idstring · max: 19Optional

id returned on a sale or auth; use for void, capture, refund, and tip-adjust

software-type-versionstringOptional

Not Required, but will help with troubleshooting if you have isseus or problems

card-typestring · enumOptional

Required if create-token is true. Type of card

Example: VISAPossible values:
create-tokenstringOptional

pass in if you would like to create a token as part of the transaction, Optional on an AUTH or SALE

Example: false
merchant-legacy-tokenstringOptional

pass in if you would like to use a legacy token in your transaction request, Optional on an AUTH or SALE

Example: false
token-descriptionstring · max: 255Optional

Required if create-token is true. Description of the token (ie savings acct

track-formatstring · enumOptional

Encrypted Track Data can be passed instead of card, the format of that encrypted data

Possible values:
check-fieldstring · max: 15Optional

Optional duplication check for transactions. If you send in a check field we will validate that field is not duplicated for EMV transactions.

Example: invoice
cvmstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
emv-datastringOptional

Used for FULL EMV integrations only (not for semi integrated)

emv-entry-methodstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
key-serial-numberstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Responses
200

Successful Transaction

application/json
post
POST //rest/v2/transactions/refund HTTP/1.1
Host: gateway-sb.clearent.net
Content-Type: application/json
Accept: */*
Content-Length: 1716

{
  "add-tax-to-amount": false,
  "authorization-code": "AC789U",
  "billing": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "billing-is-shipping": "false",
  "card": "4111111111111111",
  "card-inquiry": true,
  "check-field-mid": true,
  "client-ip": "127.0.0.1",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "contactless": "false",
  "contactless-device": "false",
  "csc": "999",
  "customer-id": "Customer 1234",
  "description": "Transaction desc",
  "email-address": "[email protected]",
  "email-receipt": "false",
  "encrypted-track-data": "text",
  "invoice": "invoice123",
  "is-amex": false,
  "is-sp30": false,
  "level3": "TRUE",
  "order-id": "99988d",
  "partial-authorization": false,
  "pin-data": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "purchase-order": "PO789",
  "sales-tax-amount": "90.00",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "secure3d": "text",
  "secure3d-eci": "text",
  "secure3d-platform": "GOOGLE",
  "secure3d-xid": "text",
  "service-fee": "2.90",
  "shipping": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "software-type": "MySoftware_Version1.3",
  "tip-amount": "0.90",
  "track2-data": "text",
  "type": "SALE",
  "amount": "80.00",
  "exp-date": "0932",
  "id": "text",
  "software-type-version": "text",
  "card-type": "VISA",
  "create-token": "false",
  "merchant-legacy-token": "false",
  "token-description": "text",
  "track-format": "MAGTEK",
  "check-field": "invoice",
  "cvm": "NON (None)",
  "emv-data": "text",
  "emv-entry-method": "EMV_DIP",
  "key-serial-number": "text"
}
{
  "payloadType": "text",
  "transaction": {
    "action": {
      "client-key": "text",
      "data": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "environment": "text",
      "locale": "text",
      "method": "text",
      "payment-method-type": "text",
      "qr-code-data": "text",
      "sub-type": "text",
      "type": "text",
      "url": "text"
    },
    "add-tax-to-amount": false,
    "additional-amounts": [
      {
        "account-type": "text",
        "amount": "text",
        "amount-type": "text"
      }
    ],
    "billing": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "card": "text",
    "create-token": true,
    "digital-wallet-type": "GOOGLE",
    "emv": {
      "application-id": "A0000000041010",
      "application-name": "Visa Debit",
      "application-transaction-counter": "text",
      "iad": "text",
      "terminal-verification-results": "0400088000",
      "transaction-certificate": "text",
      "transaction-status-information": "E800"
    },
    "external-transaction-reference": "text",
    "funding-reference": "text",
    "issuer_id": "10",
    "level3": "TRUE",
    "moto": true,
    "network-transaction-reference": "text",
    "original-processing-party-reference": "text",
    "partial-approved": false,
    "partial-authorization": false,
    "processing-party-reference": "text",
    "secure3d-eci": "text",
    "secure3d-result-code": "text",
    "serverId": "text",
    "shipping": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "token-id": "text",
    "amount": "text",
    "authorization-code": "AE12368",
    "avs-result-code": "X",
    "avs-result-code-description": "All digits match (9-digit Zip Code)",
    "avs-street": "Example Street",
    "avs-zip": "85284",
    "base-amount": "text",
    "batch-string-id": "000101",
    "billing-is-shipping": "true",
    "card-type": "VISA",
    "check-field-duplicate": false,
    "client-ip": "127.0.0.1",
    "comments": "These are my comments",
    "contactless": "false",
    "contactless-device": "false",
    "created": "8/10/2017 12:12:12:00 UTC",
    "csc": "999",
    "csc-result-code": "X",
    "csc-result-code-description": "Service provider did not respond",
    "currency": "text",
    "customer-first-name": "John",
    "customer-id": "1234Customer",
    "customer-last-name": "Doe",
    "cvm": "NON",
    "description": "transaction description",
    "display-message": "Transaction Approved",
    "email-address": "[email protected]",
    "emv-data": "0099daje93993903",
    "emv-data-response": "text",
    "emv-entry-method": "EMV_DIP",
    "entry-method": "EMV_DIP",
    "exp-date": "1232",
    "first-recurring-transaction": "false",
    "id": "123456",
    "invoice": "Test56",
    "key-serial-number": "0099daje93993903",
    "last-four": "text",
    "merchant-id": "text",
    "order-id": "order99",
    "original-amount": "12.00",
    "pending": "false",
    "plan-name": "Plan 56",
    "platform-fees": [
      {
        "fee-name": "DealManager"
      }
    ],
    "purchase-order": "purcahseOrder88",
    "ref-id": "568972",
    "result": "APPROVED",
    "result-code": "000",
    "sales-tax-amount": "6.00",
    "sales-tax-type": "text",
    "service-fee": "text",
    "settled": "false",
    "signature-base-64-image": "text",
    "software-type": "MySoftware_Version1.3",
    "status": "approved",
    "surcharge-applied": false,
    "terminal-id": "text",
    "tip-adjusted": "false",
    "tip-adjusted-amount": "1.00",
    "tip-amount": "0.20",
    "total-amount": "text",
    "type": "SALE",
    "voided": "false",
    "voided-auth": "false",
    "token-description": "text"
  }
}

Sale Transaction

post

All values above $1.00. Will working anything under $1.00 will produce a decline for your testing. Used for the immediate purchase of goods and services . A sale is an Auth and Capture transaction. Once approved it is automatically included in the open batch for settlement. Inside the clearentRequest field, set the required fields, and hit try me. Required Fields for Sale: The type of transactions. va {"type": "SALE", "exp-date":"for test any future date", "amount": "1.00", "card": "4111111111111111"}

Header parameters
api-keyanyRequired

api key provided

Body
add-tax-to-amountbooleanOptional

This field controls sales-tax-amount with respect to the total amount used for authorization and capture

authorization-codestring · max: 255Optional

Required for Forced Sale. The authorization code of the transactions obtained from another source

Example: AC789U
billing-is-shippingstringOptional

True if shipping address matches billing address

Example: false
cardstringOptional

card number or credit card token. When merchant-legacy-token flag is true, this is merchant token id, used for identifying the card token

Example: 4111111111111111
card-inquirybooleanOptional

When tokenizing the card our system will run a card inquiry by default to ensure the card is valid prior to storing the card. To override this pass false.

Example: true
check-field-midbooleanOptional

Optional duplication check for transactions. If you send in true we will validate the check-field field sent in is not duplicated for EMV transactions on a merchant level.

Example: true
client-ipstring · max: 255Optional

IP Address of where request orginiated (Create for ecommerce apps)

Example: 127.0.0.1
commentsstring · max: 225Optional

Additonal Comments about the transaction

Example: Bad tipper .90 on 80.00 transaction
contactlessstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
contactless-devicestringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
cscstringOptional

Optional field to pass with transactions where you pass the card data, 3- or 4- digit number

Example: 999
customer-idstring · max: 255Optional

Customer Identifier of the transaction

Example: Customer 1234
descriptionstring · max: 255Optional

Description of the transaction

Example: Transaction desc
email-addressstring · max: 255Optional

email address to associate to the transaction

Example: [email protected]
email-receiptstringOptional

pass in if you would like to email a receipt. If true, email-address is required.

Example: false
encrypted-track-datastringOptional

Encrypted Track Data can be passed instead of card number, Requires TrackFromat to be set

invoicestringOptional

VarChar value up to 100 characters.

Example: invoice123
is-amexbooleanOptional

Optional field to signify if card being used is an American Express card

is-sp30booleanOptional

Optional field to signify if terminal being used is a SP30

order-idstring · max: 255Optional

Order Id

Example: 99988d
partial-authorizationbooleanOptional

pass in if you would like to check partial authorization.

pin-datastringOptional
purchase-orderstring · max: 255Optional

VarChar value up to 100 characters.

Example: PO789
sales-tax-amountstring · max: 12Optional

Optional for Capture and Sale transactions, required to qualify with Level II. Sales tax amount will be added to transaction amount for auth/capture unless the add-tax-to-amount field is used and set to false.

Example: 90.00
sales-tax-typestring · enumOptional

Optional for Capture and Sale transactions, required to qualify with Level II

Example: LOCAL_SALES_TAXPossible values:
secure3dstring · max: 40Optional

Optional; encrypted CAVV data for 3DS

secure3d-ecistring · max: 2Optional

Optional; 3DS Electronic Commerce Indicator

secure3d-platformstringOptional

Optional field to indicate Google or Apple pay

Example: GOOGLE
secure3d-xidstringOptional

Optional field to identify transaction from Google or Apple pay

service-feestring · max: 12Optional

Optional on a SALE/Capture. Requires 2 decimal places. Must be less than or equal to 3.99% of total amount (amount + sales-tax-amount + tip-amount). The service-fee amount will be added to the transaction amount, under certain conditions, with the total used for auth/capture.

Example: 2.90
software-typestring · max: 255Optional

Not Required, but will help with troubleshooting if you have issues or problems

Example: MySoftware_Version1.3
tip-amountstring · max: 12Optional

optional on a SALE/Capture. Requires 2 decimal places. The tip-amount will be added to the transaction amount provided; the total will be used for auth/capture.

Example: 0.90
track2-datastringOptional

Clear Text track data can be passed instead of card

typestring · enumRequired

Type of transaction you would like to run

Example: SALEPossible values:
amountstring · max: 12Required

amount of transaction

Example: 80.00
exp-datestringOptional

expiration date, MMyy format

Example: 0932
idstring · max: 19Optional

id returned on a sale or auth; use for void, capture, refund, and tip-adjust

software-type-versionstringOptional

Not Required, but will help with troubleshooting if you have isseus or problems

card-typestring · enumOptional

Required if create-token is true. Type of card

Example: VISAPossible values:
create-tokenstringOptional

pass in if you would like to create a token as part of the transaction, Optional on an AUTH or SALE

Example: false
merchant-legacy-tokenstringOptional

pass in if you would like to use a legacy token in your transaction request, Optional on an AUTH or SALE

Example: false
token-descriptionstring · max: 255Optional

Required if create-token is true. Description of the token (ie savings acct

track-formatstring · enumOptional

Encrypted Track Data can be passed instead of card, the format of that encrypted data

Possible values:
check-fieldstring · max: 15Optional

Optional duplication check for transactions. If you send in a check field we will validate that field is not duplicated for EMV transactions.

Example: invoice
cvmstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
emv-datastringOptional

Used for FULL EMV integrations only (not for semi integrated)

emv-entry-methodstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
key-serial-numberstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Responses
200

Successful Transaction

application/json
post
POST //rest/v2/transactions/sale HTTP/1.1
Host: gateway-sb.clearent.net
Content-Type: application/json
Accept: */*
Content-Length: 1716

{
  "add-tax-to-amount": false,
  "authorization-code": "AC789U",
  "billing": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "billing-is-shipping": "false",
  "card": "4111111111111111",
  "card-inquiry": true,
  "check-field-mid": true,
  "client-ip": "127.0.0.1",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "contactless": "false",
  "contactless-device": "false",
  "csc": "999",
  "customer-id": "Customer 1234",
  "description": "Transaction desc",
  "email-address": "[email protected]",
  "email-receipt": "false",
  "encrypted-track-data": "text",
  "invoice": "invoice123",
  "is-amex": false,
  "is-sp30": false,
  "level3": "TRUE",
  "order-id": "99988d",
  "partial-authorization": false,
  "pin-data": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "purchase-order": "PO789",
  "sales-tax-amount": "90.00",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "secure3d": "text",
  "secure3d-eci": "text",
  "secure3d-platform": "GOOGLE",
  "secure3d-xid": "text",
  "service-fee": "2.90",
  "shipping": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "software-type": "MySoftware_Version1.3",
  "tip-amount": "0.90",
  "track2-data": "text",
  "type": "SALE",
  "amount": "80.00",
  "exp-date": "0932",
  "id": "text",
  "software-type-version": "text",
  "card-type": "VISA",
  "create-token": "false",
  "merchant-legacy-token": "false",
  "token-description": "text",
  "track-format": "MAGTEK",
  "check-field": "invoice",
  "cvm": "NON (None)",
  "emv-data": "text",
  "emv-entry-method": "EMV_DIP",
  "key-serial-number": "text"
}
{
  "payloadType": "text",
  "transaction": {
    "action": {
      "client-key": "text",
      "data": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "environment": "text",
      "locale": "text",
      "method": "text",
      "payment-method-type": "text",
      "qr-code-data": "text",
      "sub-type": "text",
      "type": "text",
      "url": "text"
    },
    "add-tax-to-amount": false,
    "additional-amounts": [
      {
        "account-type": "text",
        "amount": "text",
        "amount-type": "text"
      }
    ],
    "billing": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "card": "text",
    "create-token": true,
    "digital-wallet-type": "GOOGLE",
    "emv": {
      "application-id": "A0000000041010",
      "application-name": "Visa Debit",
      "application-transaction-counter": "text",
      "iad": "text",
      "terminal-verification-results": "0400088000",
      "transaction-certificate": "text",
      "transaction-status-information": "E800"
    },
    "external-transaction-reference": "text",
    "funding-reference": "text",
    "issuer_id": "10",
    "level3": "TRUE",
    "moto": true,
    "network-transaction-reference": "text",
    "original-processing-party-reference": "text",
    "partial-approved": false,
    "partial-authorization": false,
    "processing-party-reference": "text",
    "secure3d-eci": "text",
    "secure3d-result-code": "text",
    "serverId": "text",
    "shipping": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "token-id": "text",
    "amount": "text",
    "authorization-code": "AE12368",
    "avs-result-code": "X",
    "avs-result-code-description": "All digits match (9-digit Zip Code)",
    "avs-street": "Example Street",
    "avs-zip": "85284",
    "base-amount": "text",
    "batch-string-id": "000101",
    "billing-is-shipping": "true",
    "card-type": "VISA",
    "check-field-duplicate": false,
    "client-ip": "127.0.0.1",
    "comments": "These are my comments",
    "contactless": "false",
    "contactless-device": "false",
    "created": "8/10/2017 12:12:12:00 UTC",
    "csc": "999",
    "csc-result-code": "X",
    "csc-result-code-description": "Service provider did not respond",
    "currency": "text",
    "customer-first-name": "John",
    "customer-id": "1234Customer",
    "customer-last-name": "Doe",
    "cvm": "NON",
    "description": "transaction description",
    "display-message": "Transaction Approved",
    "email-address": "[email protected]",
    "emv-data": "0099daje93993903",
    "emv-data-response": "text",
    "emv-entry-method": "EMV_DIP",
    "entry-method": "EMV_DIP",
    "exp-date": "1232",
    "first-recurring-transaction": "false",
    "id": "123456",
    "invoice": "Test56",
    "key-serial-number": "0099daje93993903",
    "last-four": "text",
    "merchant-id": "text",
    "order-id": "order99",
    "original-amount": "12.00",
    "pending": "false",
    "plan-name": "Plan 56",
    "platform-fees": [
      {
        "fee-name": "DealManager"
      }
    ],
    "purchase-order": "purcahseOrder88",
    "ref-id": "568972",
    "result": "APPROVED",
    "result-code": "000",
    "sales-tax-amount": "6.00",
    "sales-tax-type": "text",
    "service-fee": "text",
    "settled": "false",
    "signature-base-64-image": "text",
    "software-type": "MySoftware_Version1.3",
    "status": "approved",
    "surcharge-applied": false,
    "terminal-id": "text",
    "tip-adjusted": "false",
    "tip-adjusted-amount": "1.00",
    "tip-amount": "0.20",
    "total-amount": "text",
    "type": "SALE",
    "voided": "false",
    "voided-auth": "false",
    "token-description": "text"
  }
}

Void Transaction

post

Void transactions can reverse transactions that have been previously authorized or approved by the card issuer and are pending settlement. Merchants can void both authorizations as well as sales. Voiding auths causes reversal. Voiding a Sale or Capture will remove the transaction from the batch and sen reversal to issuer. Transactions in close batches cannot be voided. . Inside the clearentRequest field, set the required fields, and hit try me. Required Fields for Void: {"type": "void", "id":"id of transaction to void"}

Header parameters
api-keyanyRequired

apiKeyValue

Body
add-tax-to-amountbooleanOptional

This field controls sales-tax-amount with respect to the total amount used for authorization and capture

authorization-codestring · max: 255Optional

Required for Forced Sale. The authorization code of the transactions obtained from another source

Example: AC789U
billing-is-shippingstringOptional

True if shipping address matches billing address

Example: false
cardstringOptional

card number or credit card token. When merchant-legacy-token flag is true, this is merchant token id, used for identifying the card token

Example: 4111111111111111
card-inquirybooleanOptional

When tokenizing the card our system will run a card inquiry by default to ensure the card is valid prior to storing the card. To override this pass false.

Example: true
check-field-midbooleanOptional

Optional duplication check for transactions. If you send in true we will validate the check-field field sent in is not duplicated for EMV transactions on a merchant level.

Example: true
client-ipstring · max: 255Optional

IP Address of where request orginiated (Create for ecommerce apps)

Example: 127.0.0.1
commentsstring · max: 225Optional

Additonal Comments about the transaction

Example: Bad tipper .90 on 80.00 transaction
contactlessstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
contactless-devicestringOptional

Used for FULL EMV integrations only (not for semi integrated)

Example: false
cscstringOptional

Optional field to pass with transactions where you pass the card data, 3- or 4- digit number

Example: 999
customer-idstring · max: 255Optional

Customer Identifier of the transaction

Example: Customer 1234
descriptionstring · max: 255Optional

Description of the transaction

Example: Transaction desc
email-addressstring · max: 255Optional

email address to associate to the transaction

Example: [email protected]
email-receiptstringOptional

pass in if you would like to email a receipt. If true, email-address is required.

Example: false
encrypted-track-datastringOptional

Encrypted Track Data can be passed instead of card number, Requires TrackFromat to be set

invoicestringOptional

VarChar value up to 100 characters.

Example: invoice123
is-amexbooleanOptional

Optional field to signify if card being used is an American Express card

is-sp30booleanOptional

Optional field to signify if terminal being used is a SP30

order-idstring · max: 255Optional

Order Id

Example: 99988d
partial-authorizationbooleanOptional

pass in if you would like to check partial authorization.

pin-datastringOptional
purchase-orderstring · max: 255Optional

VarChar value up to 100 characters.

Example: PO789
sales-tax-amountstring · max: 12Optional

Optional for Capture and Sale transactions, required to qualify with Level II. Sales tax amount will be added to transaction amount for auth/capture unless the add-tax-to-amount field is used and set to false.

Example: 90.00
sales-tax-typestring · enumOptional

Optional for Capture and Sale transactions, required to qualify with Level II

Example: LOCAL_SALES_TAXPossible values:
secure3dstring · max: 40Optional

Optional; encrypted CAVV data for 3DS

secure3d-ecistring · max: 2Optional

Optional; 3DS Electronic Commerce Indicator

secure3d-platformstringOptional

Optional field to indicate Google or Apple pay

Example: GOOGLE
secure3d-xidstringOptional

Optional field to identify transaction from Google or Apple pay

service-feestring · max: 12Optional

Optional on a SALE/Capture. Requires 2 decimal places. Must be less than or equal to 3.99% of total amount (amount + sales-tax-amount + tip-amount). The service-fee amount will be added to the transaction amount, under certain conditions, with the total used for auth/capture.

Example: 2.90
software-typestring · max: 255Optional

Not Required, but will help with troubleshooting if you have issues or problems

Example: MySoftware_Version1.3
tip-amountstring · max: 12Optional

optional on a SALE/Capture. Requires 2 decimal places. The tip-amount will be added to the transaction amount provided; the total will be used for auth/capture.

Example: 0.90
track2-datastringOptional

Clear Text track data can be passed instead of card

typestring · enumRequired

Type of transaction you would like to run

Example: SALEPossible values:
amountstring · max: 12Required

amount of transaction

Example: 80.00
exp-datestringOptional

expiration date, MMyy format

Example: 0932
idstring · max: 19Optional

id returned on a sale or auth; use for void, capture, refund, and tip-adjust

software-type-versionstringOptional

Not Required, but will help with troubleshooting if you have isseus or problems

card-typestring · enumOptional

Required if create-token is true. Type of card

Example: VISAPossible values:
create-tokenstringOptional

pass in if you would like to create a token as part of the transaction, Optional on an AUTH or SALE

Example: false
merchant-legacy-tokenstringOptional

pass in if you would like to use a legacy token in your transaction request, Optional on an AUTH or SALE

Example: false
token-descriptionstring · max: 255Optional

Required if create-token is true. Description of the token (ie savings acct

track-formatstring · enumOptional

Encrypted Track Data can be passed instead of card, the format of that encrypted data

Possible values:
check-fieldstring · max: 15Optional

Optional duplication check for transactions. If you send in a check field we will validate that field is not duplicated for EMV transactions.

Example: invoice
cvmstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
emv-datastringOptional

Used for FULL EMV integrations only (not for semi integrated)

emv-entry-methodstring · enumOptional

Used for FULL EMV integrations only (not for semi integrated)

Possible values:
key-serial-numberstringOptional

Used for FULL EMV integrations only (not for semi integrated)

Responses
200

Successful Transaction

application/json
post
POST //rest/v2/transactions/void HTTP/1.1
Host: gateway-sb.clearent.net
Content-Type: application/json
Accept: */*
Content-Length: 1716

{
  "add-tax-to-amount": false,
  "authorization-code": "AC789U",
  "billing": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "billing-is-shipping": "false",
  "card": "4111111111111111",
  "card-inquiry": true,
  "check-field-mid": true,
  "client-ip": "127.0.0.1",
  "comments": "Bad tipper .90 on 80.00 transaction",
  "contactless": "false",
  "contactless-device": "false",
  "csc": "999",
  "customer-id": "Customer 1234",
  "description": "Transaction desc",
  "email-address": "[email protected]",
  "email-receipt": "false",
  "encrypted-track-data": "text",
  "invoice": "invoice123",
  "is-amex": false,
  "is-sp30": false,
  "level3": "TRUE",
  "order-id": "99988d",
  "partial-authorization": false,
  "pin-data": "text",
  "platform-fees": [
    {
      "fee-name": "DealManager"
    }
  ],
  "purchase-order": "PO789",
  "sales-tax-amount": "90.00",
  "sales-tax-type": "LOCAL_SALES_TAX",
  "secure3d": "text",
  "secure3d-eci": "text",
  "secure3d-platform": "GOOGLE",
  "secure3d-xid": "text",
  "service-fee": "2.90",
  "shipping": {
    "city": "St Louis",
    "company": "Test Company",
    "country": "United States",
    "first-name": "John",
    "from-zip": "85284",
    "last-name": "Doe",
    "phone": "3148889999",
    "state": "MO",
    "street": "123 Example Street",
    "street2": "Suite 700",
    "zip": "85284"
  },
  "software-type": "MySoftware_Version1.3",
  "tip-amount": "0.90",
  "track2-data": "text",
  "type": "SALE",
  "amount": "80.00",
  "exp-date": "0932",
  "id": "text",
  "software-type-version": "text",
  "card-type": "VISA",
  "create-token": "false",
  "merchant-legacy-token": "false",
  "token-description": "text",
  "track-format": "MAGTEK",
  "check-field": "invoice",
  "cvm": "NON (None)",
  "emv-data": "text",
  "emv-entry-method": "EMV_DIP",
  "key-serial-number": "text"
}
{
  "payloadType": "text",
  "transaction": {
    "action": {
      "client-key": "text",
      "data": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "environment": "text",
      "locale": "text",
      "method": "text",
      "payment-method-type": "text",
      "qr-code-data": "text",
      "sub-type": "text",
      "type": "text",
      "url": "text"
    },
    "add-tax-to-amount": false,
    "additional-amounts": [
      {
        "account-type": "text",
        "amount": "text",
        "amount-type": "text"
      }
    ],
    "billing": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "card": "text",
    "create-token": true,
    "digital-wallet-type": "GOOGLE",
    "emv": {
      "application-id": "A0000000041010",
      "application-name": "Visa Debit",
      "application-transaction-counter": "text",
      "iad": "text",
      "terminal-verification-results": "0400088000",
      "transaction-certificate": "text",
      "transaction-status-information": "E800"
    },
    "external-transaction-reference": "text",
    "funding-reference": "text",
    "issuer_id": "10",
    "level3": "TRUE",
    "moto": true,
    "network-transaction-reference": "text",
    "original-processing-party-reference": "text",
    "partial-approved": false,
    "partial-authorization": false,
    "processing-party-reference": "text",
    "secure3d-eci": "text",
    "secure3d-result-code": "text",
    "serverId": "text",
    "shipping": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "token-id": "text",
    "amount": "text",
    "authorization-code": "AE12368",
    "avs-result-code": "X",
    "avs-result-code-description": "All digits match (9-digit Zip Code)",
    "avs-street": "Example Street",
    "avs-zip": "85284",
    "base-amount": "text",
    "batch-string-id": "000101",
    "billing-is-shipping": "true",
    "card-type": "VISA",
    "check-field-duplicate": false,
    "client-ip": "127.0.0.1",
    "comments": "These are my comments",
    "contactless": "false",
    "contactless-device": "false",
    "created": "8/10/2017 12:12:12:00 UTC",
    "csc": "999",
    "csc-result-code": "X",
    "csc-result-code-description": "Service provider did not respond",
    "currency": "text",
    "customer-first-name": "John",
    "customer-id": "1234Customer",
    "customer-last-name": "Doe",
    "cvm": "NON",
    "description": "transaction description",
    "display-message": "Transaction Approved",
    "email-address": "[email protected]",
    "emv-data": "0099daje93993903",
    "emv-data-response": "text",
    "emv-entry-method": "EMV_DIP",
    "entry-method": "EMV_DIP",
    "exp-date": "1232",
    "first-recurring-transaction": "false",
    "id": "123456",
    "invoice": "Test56",
    "key-serial-number": "0099daje93993903",
    "last-four": "text",
    "merchant-id": "text",
    "order-id": "order99",
    "original-amount": "12.00",
    "pending": "false",
    "plan-name": "Plan 56",
    "platform-fees": [
      {
        "fee-name": "DealManager"
      }
    ],
    "purchase-order": "purcahseOrder88",
    "ref-id": "568972",
    "result": "APPROVED",
    "result-code": "000",
    "sales-tax-amount": "6.00",
    "sales-tax-type": "text",
    "service-fee": "text",
    "settled": "false",
    "signature-base-64-image": "text",
    "software-type": "MySoftware_Version1.3",
    "status": "approved",
    "surcharge-applied": false,
    "terminal-id": "text",
    "tip-adjusted": "false",
    "tip-adjusted-amount": "1.00",
    "tip-amount": "0.20",
    "total-amount": "text",
    "type": "SALE",
    "voided": "false",
    "voided-auth": "false",
    "token-description": "text"
  }
}

Adjust Tip

put
Path parameters
idanyRequired

id returned by capture

Header parameters
api-keyanyRequired

apiKeyValue

Body
tip-amountstringRequired

amount of new tip

Example: 0.08
Responses
200

Successful Transaction

application/json
put
PUT //rest/v2/transactions/{id} HTTP/1.1
Host: gateway-sb.clearent.net
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "tip-amount": "0.08"
}
{
  "payloadType": "text",
  "transaction": {
    "action": {
      "client-key": "text",
      "data": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "environment": "text",
      "locale": "text",
      "method": "text",
      "payment-method-type": "text",
      "qr-code-data": "text",
      "sub-type": "text",
      "type": "text",
      "url": "text"
    },
    "add-tax-to-amount": false,
    "additional-amounts": [
      {
        "account-type": "text",
        "amount": "text",
        "amount-type": "text"
      }
    ],
    "billing": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "card": "text",
    "create-token": true,
    "digital-wallet-type": "GOOGLE",
    "emv": {
      "application-id": "A0000000041010",
      "application-name": "Visa Debit",
      "application-transaction-counter": "text",
      "iad": "text",
      "terminal-verification-results": "0400088000",
      "transaction-certificate": "text",
      "transaction-status-information": "E800"
    },
    "external-transaction-reference": "text",
    "funding-reference": "text",
    "issuer_id": "10",
    "level3": "TRUE",
    "moto": true,
    "network-transaction-reference": "text",
    "original-processing-party-reference": "text",
    "partial-approved": false,
    "partial-authorization": false,
    "processing-party-reference": "text",
    "secure3d-eci": "text",
    "secure3d-result-code": "text",
    "serverId": "text",
    "shipping": {
      "city": "St Louis",
      "company": "Test Company",
      "country": "United States",
      "first-name": "John",
      "from-zip": "85284",
      "last-name": "Doe",
      "phone": "3148889999",
      "state": "MO",
      "street": "123 Example Street",
      "street2": "Suite 700",
      "zip": "85284"
    },
    "token-id": "text",
    "amount": "text",
    "authorization-code": "AE12368",
    "avs-result-code": "X",
    "avs-result-code-description": "All digits match (9-digit Zip Code)",
    "avs-street": "Example Street",
    "avs-zip": "85284",
    "base-amount": "text",
    "batch-string-id": "000101",
    "billing-is-shipping": "true",
    "card-type": "VISA",
    "check-field-duplicate": false,
    "client-ip": "127.0.0.1",
    "comments": "These are my comments",
    "contactless": "false",
    "contactless-device": "false",
    "created": "8/10/2017 12:12:12:00 UTC",
    "csc": "999",
    "csc-result-code": "X",
    "csc-result-code-description": "Service provider did not respond",
    "currency": "text",
    "customer-first-name": "John",
    "customer-id": "1234Customer",
    "customer-last-name": "Doe",
    "cvm": "NON",
    "description": "transaction description",
    "display-message": "Transaction Approved",
    "email-address": "[email protected]",
    "emv-data": "0099daje93993903",
    "emv-data-response": "text",
    "emv-entry-method": "EMV_DIP",
    "entry-method": "EMV_DIP",
    "exp-date": "1232",
    "first-recurring-transaction": "false",
    "id": "123456",
    "invoice": "Test56",
    "key-serial-number": "0099daje93993903",
    "last-four": "text",
    "merchant-id": "text",
    "order-id": "order99",
    "original-amount": "12.00",
    "pending": "false",
    "plan-name": "Plan 56",
    "platform-fees": [
      {
        "fee-name": "DealManager"
      }
    ],
    "purchase-order": "purcahseOrder88",
    "ref-id": "568972",
    "result": "APPROVED",
    "result-code": "000",
    "sales-tax-amount": "6.00",
    "sales-tax-type": "text",
    "service-fee": "text",
    "settled": "false",
    "signature-base-64-image": "text",
    "software-type": "MySoftware_Version1.3",
    "status": "approved",
    "surcharge-applied": false,
    "terminal-id": "text",
    "tip-adjusted": "false",
    "tip-adjusted-amount": "1.00",
    "tip-amount": "0.20",
    "total-amount": "text",
    "type": "SALE",
    "voided": "false",
    "voided-auth": "false",
    "token-description": "text"
  }
}

Was this helpful?