3. Query

You can use this service to query a card in the blacklist.

Stored card list

GET {{Base Adres}}/paywall/blacklist/card/inquiry

Önemli: Kart işlemleri yüksek güvenlikli işlemlerdir. Bu nedenle 'Header' alanında 'apikeyprivate' ve 'apiclientprivate' parametrelerini göndermeniz gerekmektedir. 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 Key you obtained from the merchant panel.

partnerbased

bool

No

It should be sent as true for cards registered within the scope of Partnership.

partneridentity

bool

Yes/No

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

cardnumber

string

Yes

The card number to be added to the blacklist.

issavedcard

bool

Yes

It should be sent as true if the query will be performed using a stored card.

uniquecode

string

Yes/No

The identity value of the stored card.

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 display 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.

Last updated