Skip to Content
Docs
Value lists

List card blacklist entries

GET/value_lists/card_blacklist

Returns a paginated list of card blacklist entries for the merchant. This endpoint does not create the card blacklist if it does not exist.

Headers

AuthorizationstringRequired
HTTP Basic auth: your API key as the password, with an empty username. See Authentication.

Query parameters

pageinteger

Page number to return.

Default: 1

limitinteger

Maximum number of entries to return.

Default: 10

Returns

Returns a list of card blacklist entry objects.

resourcestringRequired

String representing the object's type.

dataarray of objectsRequired

Array of card blacklist entry objects.

Show 10 child attributesHide child attributes
idstringRequired

Unique identifier for the card blacklist entry.

resourcestringRequired

String representing the object's type.

liststring

Unique identifier of the card blacklist value list.

valuestringRequired

Unique identifier (fingerprint) of the blacklisted card. Cards are stored by fingerprint, not by the pm_card_ ID that was sent, so every payment method for the same card is blocked.

metadataobject

Card details stored with the entry (bin, last_four_digits, brand, issuer_country, card_type and issuer_name), if available.

created_atstring

Time at which the entry was created, in ISO 8601 format.

created_bystring or null

Identifier of the API key or user that created the entry, if applicable.

updated_atstring or null

Time at which the entry was last updated, in ISO 8601 format. Null if it was never updated.

updated_bystring or null

Identifier of the API key or user that last updated the entry. Null if it was never updated.

test_modeboolean

Whether the entry was created in the sandbox.

last_pagebooleanRequired

Whether the current page is the last page.

pageintegerRequired

Current page number.

total_pagesintegerRequired

Total number of pages.

total_recordsintegerRequired

Total number of card blacklist entries.

Errors

400
Invalid request parameters.
401
The API key or access token is missing, unknown or no longer works (invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).
403
The request was refused: the API key may not make it (for example resource_not_allowed, key_disabled, network_not_allowed, pci_required or merchant_required), or this resource isn't enabled for your account (permission_denied). code says why.
404
Card blacklist not found.
500
Internal server error.
503
Service unavailable. Retry after the number of seconds in Retry-After, or after a few seconds when there's none.
Was this page helpful?