Add bank accounts to the bank account blacklist
/value_lists/bank_account_blacklistAdds a bank account payment method (source), or all bank account sources of a customer (customer_reference_id), to the merchant's bank account blacklist. If the bank account blacklist does not exist, it is created automatically.
Headers
AuthorizationstringRequiredParameters
sourcestringUnique identifier of the bank account Payment Method to add or remove, in the format pm_<country>_bank_account_<id>.
customer_reference_idstringYour unique identifier for the customer. All bank account sources of the customer are resolved and processed.
Returns
Returns the bank account blacklist list object.
idstringUnique identifier for the bank account blacklist.
company_idstringUnique identifier of the company that owns the bank account blacklist.
merchant_idstringUnique identifier of the merchant that owns the bank account blacklist.
namestringName of the bank account blacklist.
aliasstringAlias of the bank account blacklist.
typestringType of the values stored in the list.
created_bystringIdentifier of the API key or user that created the bank account blacklist.
created_atstringTime at which the bank account blacklist was created, as a Unix timestamp in milliseconds.
Show 6 more attributesShow fewer attributes
updated_atstringTime at which the bank account blacklist was last updated, as a Unix timestamp in milliseconds, if applicable.
updated_bystringIdentifier of the API key or user that last updated the bank account blacklist, if applicable.
itemsintegerNumber of entries in the bank account blacklist.
is_user_generatedbooleanWhether the list was created by a user.
internalbooleanWhether the list is managed by Pay.com.
allow_updates_to_groupsarray of stringsList permissions.
Errors
400401invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).403resource_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.404500503Retry-After, or after a few seconds when there's none.