v1

latestOpenAPI 3.0.12026-07-242871595.3 MB
CUSTOMERS

Create a credit/debit card entry for a customer

"first6" and "last4" fields are required.

post/v3/merchants/{mId}/customers/{customerId}/cards

Path parameters

mIdstring required

Merchant Id

customerIdstring required

Headers

User-Agentstring required

Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <AppName>/<Version> <Comment>

Request body

idstring

Card identifier.

first6string required

First 6 digits of the customer's card.

last4string required

last 4 digits of the customer's card.

firstNamestring

First name on the customer's card.

lastNamestring

Last name on the customer's card.

expirationDatestring

Expiry date of the customer's card.

cardTypestring

Customer's card type.

tokenstring

Customer's card token number. Note: Token length cannot be more than 72 characters.

tokenType'MULTIPAY' | 'FINANCIAL' | 'CTOKEN'

Customer's card token type.

modifiedTimeinteger

Time when the card was last updated.