Skip to main content

Update Store Card

URL

The endpoint and http method information to update expiry date of a stored card are stated below.

POST/payment/v1/cards/update

Request Parameters

The parameters expected to be sent in the requests to be made for updating expiry date of a stored card are listed under the table and sub-headings below.

cardUserKey
string
required

User Key value that generated for the card to be updated

cardToken
string
required

Token value that generated for the card to be updated

expireYear
string
required

New expiry year

expireMonth
string
required

New expiry month

Response Parameters

binNumber
string

First 8 digit of the card number

lastFourDigits
string

Last 4 digit of the card number

cardUserKey
string

User key value

cardToken
string

Token value

cardAlias
string

Name / Alias of the card

cardHolderName
string

Cardholder name

cardType
CardType

Card Type

Values:
CREDIT_CARD
DEBIT_CARD
PREPAID_CARD
cardAssociation
CardAssociation

Card association

Values:
VISA
MASTER_CARD
AMEX
TROY
JCB
UNION_PAY
MAESTRO
DISCOVER
DINERS_CLUB
cardBrand
string

Brand of the card

cardBankName
string

Name of the card bank

cardBankId
number

ID value of the card bank

cardExpiryStatus
CardExpiryStatus

Card expiry status

Values:
EXPIRED
WILL_EXPIRE_NEXT_MONTH
NOT_EXPIRED
createdAt
string

Stored card creation date

Sample Codes

You can review the sample codes in the open source Craftgate API clients.

Loading..