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_idstring or null
Reference number for the transaction
vault_idinteger or null
The id for the vaulted card
resultenum or null

Result of auth request. A = Approved, B = Retry, C = Declined.

Allowed values:
account_tokenstring or null
Tokenized payment account number.
resp_codestring or null
Response code that represents description of the response.
resp_textstring or null
Text description of response
resp_procstring or null
Abbreviation that represents platform and processor for transaction
cofstring or null
Returns cof value if included in auth request
avs_respstring or null
AVS verification response code
cvv_respstring or null
CVV response code
bin_infostring or null
Array that returns fields from BIN response
bin_typestring or null
Type of BIN
pos_entrystring or null
POS Entry Mode
fee_amountinteger or null

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

fee_authcodestring or null
Duplicate of authcode field if the transaction included a fee
fee_formatstring or null
Fee format configured for merchant account.
fee_midstring or null
MID used for processing the fee. If not applicable, returns an empty value.
fee_txnstring or null
Unique reference number used for processing fee. If not applicable, returns an empty value
fee_typestring or null
Type of fee applied to transaction
fee_valuestring or null

Fee rate applied to the transaction (in basis points)

decline_categorystring or null
Visa decline category
decline_category_textstring or null
Visa decline category description
authcodestring or null
Authcode from issuer
comm_cardstring or null

Commercial card flag - Y if corporate or purchase card

emvstring or null

Cryptogram (ARPC) only returned when emv data is present

emv_tag_datastring or null

Receipt/EMV tag data

user_identifierstring or null
The user that initiated the activity
midstring or null
Merchant ID
amountinteger or null
Ticket amount
expirationstring or null
Card expiration
account_zipstring or null
Cardholder zip
address1string or null
Account holder's street address
citystring or null
Account holder's city
regionstring or null
Account holder's region, US State, Mexican State, Canadian Province
order_idstring or null
Source system order number
card_numberstring or null

Masked primary account number (PAN)

batch_idstring or null
Automatically created and assigned unless otherwise specified
vaultstring or null

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

card_typestring or null
Visa, MC, Discover, Amex, etc.
currencystring or null
Three character currency indicator
company_namestring or null
Account holder's company name
address2string or null
Account holder's street address line 2
countrystring or null

Account holder’s country - 2-character country code

phonestring or null
Account holder's phone
emailstring or null
Account holder's email
auth_codestring or null
Authorization code from issuer

Errors