List value lists
/value_listsRetrieves a page of your value lists. The results include the lists Pay.com manages for you, the card blacklist (alias pm_card_blacklist) and the bank account blacklist (alias pm_bank_account_blacklist), which can't be deleted.
Headers
AuthorizationstringRequiredQuery parameters
from_datestringReturn value lists created on or after this time. Accepts an ISO 8601 date or date-time.
to_datestringReturn value lists created on or before this time. Accepts an ISO 8601 date or date-time.
pageintegerPage number to start from.
limitintegerNumber of value lists displayed on the page.
Returns
Returns a list of value list objects.
resourcestringRequiredString representing the object's type.
dataarray of objectsRequiredArray of value list objects.
Show 11 child attributesHide child attributes
idstringUnique identifier for the value list.
resourcestringString representing the object's type.
namestringName of the value list.
aliasstringAlias of the value list, unique among your value lists.
typestringType of the values stored in the list. One of custom, card, email, ip_address, billing_address, email_domain, bin, issuer_country, phone_number, card_name, customer_id, or bank_account.
created_atstringTime at which the value list was created, in ISO 8601 format.
created_bystring or nullIdentifier of the API key or user that created the value list, if applicable.
updated_atstring or nullTime at which the value list was last updated, in ISO 8601 format. Null if it was never updated.
updated_bystring or nullIdentifier of the API key or user that last updated the value list. Null if it was never updated.
items_countintegerNumber of items in the value list.
test_modebooleanWhether the value list was created in the sandbox.
last_pagebooleanRequiredWhether the current page is the last page.
pageintegerRequiredCurrent page number.
total_pagesintegerRequiredTotal number of pages.
total_recordsintegerRequiredTotal number of value lists.
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.500503Retry-After, or after a few seconds when there's none.