Create a Token - Card

This API creates a token that represents a credit or debit card used to carry out a transaction.

Body Params
string
enum
required
Defaults to INTERNET

This field indicates how the card data was captured at the point of sale.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatAllowed ValuesExamplesNotes
AlphabeticMANUAL PHONE MAIL INTERNET9 would be $0.09;
99999999 would be $999,999.99
PAYARC processes the transaction as 'card not present' if the field value is PHONE, MAIL, or INTERNET. For any other type of transaction, PAYARC processes the transaction as 'card present'.

Allowed:
int32
required

The 14-19 digit card number used for the transaction.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthAllowed ValuesExamples
Numeric14 digits19 digitsusdVISA: 4012000098765439
MASTERCARD: 5146315000000055
AMEX: 371449635392376
DISCOVER: 6011000993026909
DISCOVER CUP: 6282000123842342
DINERS: 3055155515160018
JCB: 3530142019945859

string
required

The month value displayed on the card used for the transaction.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthExamples
Numeric11201 represents the month of January.

string
required

The YYYY value mentioned on the card used for the transaction.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthExamples
Numeric2 digits4 digits2025

string
required

The three or four-digit security code on the card.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthNotes
Numeric3 digits4 digitsThis field can be set as 'Required' or 'Optional' at the account level by a PAYARC Admin. Email [email protected] to contact the Admin. If this field is set as 'Required' and is not sent or is incorrect, the transaction may be declined based on the risk parameters set. If this field is set as 'Optional' and is not sent or is incorrect, the transaction will be processed as CVV availability not provided.

string

Name of the cardholder as mentioned on the card used to carry out the transaction.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthExamples
Alphabetic and Whitespace1 character30 caractersJohn Smith

string

The cardholder's billing address for line 1.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthExamplesNotes
Alphanumeric1 character200 characters103 Mason StreetThis field will be 'Required' if address information is requested by the merchant. Payfac Max Length: 30 characters

string

The cardholder's billing address for line 2.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthExamplesNotes
Alphanumeric1 character200 characters2nd FloorNote: Payfac Max Length: 30 characters

string

The cardholder's state name. Can be State/County/Province/Region.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthExamplesNotes
Alphabetic and Whitespace1 character50 charactersNey YorkThis field will be 'Required' if address information is requested by the merchant.

string

The cardholder's state name. Can be State/County/Province/Region.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthExamplesNotes
Alphabetic and Whitespace1 character50 charactersNYThis field will be 'Required' if address information is requested by the merchant.

int32

The cardholder's billing ZIP code.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthExamplesNotes
Numeric2 digits10 digits10469This field will be 'Required' if address information is requested by the merchant.

string

The cardholder's country name.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatMin LengthMax LengthExamplesNotes
Alphabetic1 character50 charactersUSThis field will be 'Required' if address information is requested by the merchant.

int32

This field helps check card validity.
td { padding: 2px 4px; border: 1px solid #ddd; font-size: 0.65em; line-height: 1.2; }

FormatDefaultNotes
Boolean00 will not authorize the card while creating a Token. 1 will authorize the customer's card for $0.00, which may result in additional fees. Failure to authorize the card may result in failed subscriptions.

Headers
string
required
Defaults to application/json

Indicates which content types, expressed as MIME types, the client is able to understand.

string
required
Defaults to application/json

Indicates the media type of the resource sent in the HTTP message body.

Possible Values:
application/json
application/x-www-form-urlencoded

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json