Charge

Process a payment charge with card details and additional transaction information

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
account_tokenstringRequired

Tokenized payment account number. Generated from Runner.js or Run Merchant dev tools.

midstringRequired

Merchant ID

amountintegerRequired

Ticket amount (in cents)

expirationstringRequired

Card expiration

cvnstringRequired

Cardholder CVN (CVV2, CID, CAV2, CVC2)

currencystringRequired

Three character currency indicator (Defaults to USD)

com_indstringOptional

CNP transaction origin (telephone, recurring, ecomm or mobile app). Used for ensuring that transaction is at the right interchange level

cofstringOptional

Returns cof value if included in auth request.

user_identifierstringOptional

The user that initiated the activity.

cof_permstringOptional

Permission granted to save card on file for a specific profile (Y or N)

terminal_idstringOptional

The terminal ID as identified in the auth request.

cof_schedstringOptional

Required for transactions using stored cardholder payment information. For a merchant-initiated transaction (MIT), the cof_sched parameter specifies whether the transaction is a one-time payment or a scheduled recurring payment.

account_zipstringOptional

Cardholder zip code

card_binstringOptional

Return BIN lookup fields in response

customerstringOptional

Customer ID

capturestringOptional

Capture upon approval (Y or N)

namestringOptional

Account holder’s name

company_namestringOptional

Account holder’s company name

address1stringOptional

Account holder’s street address

address2stringOptional

Account holder’s street address line 2

citystringOptional

Account holder’s city

regionstringOptional

Account holder’s region, US State, Mexican State, or Canadian Province

countrystringOptional

Account holder’s country (2-character country code)

phonestringOptional

Account holder’s phone number

emailstringOptional

Account holder’s email address

order_idstringOptional

Source system order number

auth_codestringOptional

Authorization Code

vaultstringOptional

Indicates if the payment account should be saved in the vault (Y or N)

po_numberstringOptional

Customer purchase order number

tax_amountstringOptional

Tax amount for the order, either decimal or in currency minor units. If taxexempt is Y, then 0.

freight_amountstringOptional

Total order freight amount, default 0

duty_amountstringOptional

Total order duty amount, default 0

order_datestringOptional

YYYYMMDD format. For most industries this is the delivery date for the order.

shipping_zipstringOptional

If country is US, must be 5 or 9 digits. Otherwise, any alphanumeric string is accepted

origin_zipstringOptional

Same as above

shipping_countrystringOptional

Ship to country code - Defaults to US

line_itemslist of anyOptional

Level 3 Processing Line Items

vault_idintegerOptional

The id for the vaulted card

Response

Charge processed successfully

trans_idstringOptional

Reference number for the transaction

vault_idintegerOptional

The id for the vaulted card

resultstringOptional

Result of auth request

account_tokenstringOptional

Tokenized payment account number.

resp_codestringOptional

Response code that represents description of the response.

resp_textstringOptional

Text description of response

resp_procstringOptional

Abbreviation that represents platform and processor for transaction

cofstringOptional

Returns cof value if included in auth request

avs_respstringOptional

AVS verification response code

cvv_respstringOptional

CVV response code

bin_infostringOptional

Array that returns fields from BIN response

bin_typestringOptional

Type of BIN

pos_entrystringOptional

POS Entry Mode

fee_amountintegerOptional

A fee amount (e.g. a credit card surcharge amount) applied to the transaction, in dollars and cents.

fee_authcodestringOptional

Duplicate of authcode field if the transaction included a fee

fee_formatstringOptional

Fee format configured for merchant account.

fee_midstringOptional

MID used for processing the fee. If not applicable, returns an empty value.

fee_txnstringOptional

Unique reference number used for processing fee. If not applicable, returns an empty value

fee_typestringOptional

Type of fee applied to transaction

fee_valuestringOptional

Fee rate applied to the transaction (in basis points)

decline_categorystringOptional

Visa decline category

decline_category_textstringOptional

Visa decline category description

authcodestringOptional

Authcode from issuer

comm_cardstringOptional

Commercial card flag - Y if corporate or purchase card

emvstringOptional

Cryptogram (ARPC) only returned when emv data is present

emv_tag_datastringOptional

Receipt/EMV tag data

user_identifierstringOptional

The user that initiated the activity

midstringOptional

Merchant ID

amountintegerOptional

Ticket amount

expirationstringOptional

Card expiration

account_zipstringOptional

Cardholder zip

address1stringOptional

Account holder’s street address

citystringOptional

Account holder’s city

regionstringOptional

Account holder’s region, US State, Mexican State, Canadian Province

order_idstringOptional

Source system order number

card_numberstringOptional

Masked primary account number (PAN)

batch_idstringOptional

Automatically created and assigned unless otherwise specified

vaultstringOptional

Indicates if the payment account was saved in the vault (Y or N)

card_typestringOptional

Visa, MC, Discover, Amex, etc.

currencystringOptional

Three character currency indicator

company_namestringOptional

Account holder’s company name

address2stringOptional

Account holder’s street address line 2

countrystringOptional

Account holder’s country - 2-character country code

phonestringOptional

Account holder’s phone

emailstringOptional

Account holder’s email

auth_codestringOptional

Authorization code from issuer

Errors