Search Store Cards

URL

The endpoint and http method information to inquiry stored cards are stated below.

HTTP Method URL
GET /payment/v1/cards

Request Parameters

The parameters expected to be sent in the requests to be made for inquiring stored cards are listed under the table and sub-headings below.

Parameter Name Type Required Description
cardAlias string No Name / Alias of the card
cardBrand string No Brand of the card
cardType string No Type of the card CREDIT_CARD, DEBIT_CARD or PREPAID_CARD
cardUserKey string No User key value generated for the card
cardToken string No Token value generated for the card
cardBankName string No Name of the card bank
cardAssociation string No Card association VISA, MASTER_CARD, AMEX or TROY See: Card Associations
cardExpiryStatus CardExpiryStatus No Card expiry status. EXPIRED, WILL_EXPIRE_NEXT_MONTH,or NOT_EXPIRED
minCreatedDate date No Minimum stored card create date to filter cards
maxCreatedDate date No Maximum stored card create date to filter cards
page number No Page count for pagination
size number No Page size for pagination

Response Parameters

Parameter Name Type Description
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
cardType CardType Kart türü. CREDIT_CARD, DEBIT_CARD ya da PREPAID_CARD See: Card Types
cardAssociation CardAssociation Card association VISA, MASTER_CARD, AMEX or TROY See: Card Associations
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. EXPIRED, WILL_EXPIRE_NEXT_MONTH,or NOT_EXPIRED

Sample Codes

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