3. Saved Cards

It is recommended to retrieve stored card data only through your servers (Back-End). Direct access from your applications (End User) is not recomme

Saved card list

GET {{Base Adres}}/paywall/card

Important: Card operations are high-security transactions. Therefore, you must send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' CardWallAPI Address

The parameters that must be sent to the service are as follows:

Parameter
Type
Compulsory
Description

apikeyprivate

string

Yes

The Private Key you obtained from the merchant panel.

apiclientprivate

string

Yes

The Private Client you obtained from the merchant panel.

relationalid1

string

Yes

The first associated value of the stored card.

relationalid2

string

No

The second associated value of the stored card.

relationalid3

string

No

The third associated value of the stored card.

includedetails

bool

No

If you want the card details (BIN, Type, Brand, Bank, etc.) to be returned, you must send it as TRUE.

partneridentity

bool

No

For a card registered within the scope of Partnership, the identity information of the Partner account must be provided.

The parameters returned from the service are as follows:

Parameter
Type
Description

Name

string

The alias name provided when adding the card.

CardBin

string

The BIN information of the card.

CardLastFour

string

The last 4 digits of the card.

CardNumber

string

The masked card number. You can list it on your screens.

Expired

boolean

Indicates whether the card’s expiration date has passed or not. If it returns true, payments cannot be made with that card.

CardTypeId

int

Indicates the brand of the card (MasterCard, Visa, etc.).

CardType

string

Returns the card brand as a string.

UniqueCode

string

This is the card identifier that must be used when making a payment with the card. This value changes periodically. Therefore, the UniqueCode information of the stored card should not be stored. The card list should be retrieved from Paywall before each payment.

InsertDateTimeUtc

DateTime

The date when the card was added. It is returned in UTC.

Last updated