Skip to Content
Docs
Value lists

List bank account blacklist entries

GET/value_lists/bank_account_blacklist

Returns a paginated list of bank account blacklist entries for the merchant. This endpoint does not create the bank account 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 bank account blacklist entry objects.

resourcestringRequired

String representing the object's type.

dataarray of objectsRequired

Array of bank account blacklist entry objects.

Show 10 child attributesHide child attributes
idstringRequired

Unique identifier for the bank account blacklist entry.

resourcestringRequired

String representing the object's type.

liststring

Unique identifier of the bank account blacklist value list.

valuestringRequired

Unique identifier of the blacklisted bank account. The list stores this identifier, not the payment method ID that was sent.

metadataobject

Bank account details stored with the entry (last4, bank_name, country, and currency), 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 bank account 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
Bank account 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?