List fraud warnings
/fraud_warningsReturns a list of fraud warnings, sorted by the underlying charge, oldest first.
The created.* filters apply to the date of the underlying charge, not to the fraud warning's created time.
Only one list query per merchant can run at a time; a concurrent query returns 429.
Headers
AuthorizationstringRequiredQuery parameters
created.greater_than_or_equalsstringReturn objects created on or after this date. Accepts an ISO 8601 date-time, a date (YYYY-MM-DD, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with created.greater_than.
created.greater_thanstringReturn objects created after this date. Accepts an ISO 8601 date-time, a date (YYYY-MM-DD, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with created.greater_than_or_equals.
created.less_than_or_equalsstringReturn objects created on or before this date. Accepts an ISO 8601 date-time, a date (YYYY-MM-DD, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with created.less_than.
created.less_thanstringReturn objects created before this date. Accepts an ISO 8601 date-time, a date (YYYY-MM-DD, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with created.less_than_or_equals.
limitintegerMaximum number of objects to return. Defaults to 10.
customer_reference_idstringYour unique identifier for the customer.
ending_beforestringA cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a chrg_ ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with starting_after.
starting_afterstringA cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a chrg_ ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with ending_before.
Returns
Returns a list of fraud warning objects.
resourcestringRequiredString representing the object's type. Always fraudWarnings.
dataarray of objectsRequiredArray of fraud warning objects.
Show 18 child attributesHide child attributes
idstringRequiredUnique identifier for the fraud warning. It is frdwrn_ followed by the digits of the charge ID.
resourcestringRequiredString representing the object's type.
actionablebooleanRequiredWhether the fraud warning is actionable. If true, the charge can be refunded.
amountintegerRequiredAmount associated with the fraud warning, in the smallest currency unit.
amount_human_readablestringRequiredAmount in human-readable format.
currencystringRequiredThree-letter ISO currency code, in lowercase.
chargestringUnique identifier of the related Charge.
customerstring or nullUnique identifier for the customer associated with this fraud warning.
customer_reference_idstring or nullYour unique identifier for the customer associated with this fraud warning, if applicable.
createdstringRequiredTime at which the fraud warning was raised, in ISO 8601 format. Falls back to the time of the charge when the warning time is unknown.
fraud_typestringRequiredThe type of fraud reported.
referencestring or nullA unique string to reference the fraud warning, useful for reconciliation with your internal systems, if applicable.
billing_detailsobjectBilling information associated with the fraud warning.
Show 6 child attributesHide child attributes
addressobject or nullBilling address, if available.
Show 2 child attributesHide child attributes
Option 1objectAddress details.
Show 6 child attributesHide child attributes
citystringCity, district, suburb, town, or village.
countrystringTwo-letter country code (ISO 3166-1 alpha-2).
line1stringAddress line 1 (for example, street, PO Box, or company name).
line2string or nullAddress line 2 (for example, apartment, suite, unit, or building). Responses return null when not set.
postal_codestringZIP or postal code.
statestring or nullState, county, province, or region. Null is accepted and returned when not set.
Option 2nullnamestring or nullFull name of the billing contact.
emailstring or nullEmail address of the billing contact.
phonestring or nullPhone number of the billing contact, if available.
dobstring or nullDate of birth in YYYY-MM-DD format.
national_identification_numberstring or nullNational identification number of the billing contact.
payment_methodstring or nullUnique identifier for the payment method associated with this fraud warning, if applicable.
payment_method_detailsobjectDetails about the payment method at the time of the fraud warning.
Show 6 child attributesHide child attributes
typestringThe type of the payment method.
cardobjectDetails about the card, if the payment method is a card.
Show 21 child attributesHide child attributes
binstringThe first six digits of the card number.
brandstringThe brand of the card.
cardholder_currencystringThree-letter ISO currency code of the cardholder's card, in lowercase.
countrystringTwo-letter ISO code representing the country of the card issuer.
exp_monthstringTwo-digit string representing the card's expiration month.
exp_yearstringFour-digit string representing the card's expiration year.
fingerprintstringUnique identifier for this card number, useful for detecting duplicate cards across customers.
fundingstringThe funding type of the card.
last4stringThe last four digits of the card number.
networkstringThe card's brand, such as visa. The payment's network data is in underlying_network_details.
categorystringCard category.
security_checksobjectResults of security checks performed on the card.
Show 3 child attributesHide child attributes
address_line1_checkstring or nullResult of the AVS check for address line 1. Null when the acquirer returned no address result.
address_postal_code_checkstring or nullResult of the AVS check for postal code. Null when the acquirer returned no address result.
cvc_checkstringResult of the CVC check. unchecked when the acquirer returned no result.
walletobject or nullDetails about the digital wallet used, if applicable.
Show 4 child attributesHide child attributes
typestringType of the digital wallet. One of googlepay, applepay, or ctp (Click to Pay).
googlepayobjectGoogle Pay details. Present when type is googlepay.
Show 2 child attributesHide child attributes
typestringGoogle Pay authentication method. One of cryptogram_3ds (tokenized card) or pan_only (card stored in the Google account).
physical_card_last4stringThe last four digits of the physical card behind the wallet token, if available.
applepayobjectApple Pay details, if available.
Show 1 child attributeHide child attributes
physical_card_last4stringThe last four digits of the physical card behind the wallet token.
ctpobjectClick to Pay details, if available.
Show 4 child attributesHide child attributes
physical_card_last4stringThe last four digits of the physical card.
physical_card_binstringThe BIN of the physical card, if available.
physical_card_exp_monthstringExpiration month of the physical card, if available.
physical_card_exp_yearstringExpiration year of the physical card, if available.
tokenstringToken identifier for the card payment method.
three_d_secureobject or nullDetails about the 3D Secure authentication, if the payment used 3D Secure. Null otherwise. Not returned to accounts with the new 3D Secure fields enabled, which receive three_ds instead.
Show 2 child attributesHide child attributes
Option 1objectPopulated if this payment used 3D Secure authentication. This is the default format; accounts with the new 3D Secure fields enabled receive three_ds instead.
Show 7 child attributesHide child attributes
authentication_flowstring or nullFor authenticated transactions: how the customer was authenticated by the issuing bank, for example challenge or frictionless.
resultstring or nullOutcome of the 3D Secure authentication, for example success, failure or error.
result_reasonstring or nullReason for the result. One of authenticated, rejected, processing_errors, out_of_scope, high_risk, invalid, network_not_supported, acquirer_not_supported, not_enrolled, unavailable, or unknown, if applicable.
versionstring or nullThe version of 3D Secure that was used.
ecistring or nullECI Indicator from the 3D Secure authentication.
cardholder_infostring or nullText provided by the ACS/issuer to the cardholder during authentication, if applicable.
liability_shiftbooleanWhether the liability shift was applied.
Option 2nullthree_dsobject or nullDetails about the 3D Secure authentication in the new fields format, if the payment used 3D Secure. Only returned to accounts with the new 3D Secure fields enabled, instead of three_d_secure.
Show 2 child attributesHide child attributes
Option 1objectPopulated if this payment used 3D Secure authentication. Returned as three_ds only for accounts with the new 3D Secure fields enabled; other accounts receive three_d_secure.
Show 14 child attributesHide child attributes
authentication_flowstringFor authenticated transactions: how the customer was authenticated by the issuing bank.
resultstringOutcome of the 3D Secure authentication, for example success, failure or error.
result_reasonstringReason for the result. One of authenticated, rejected, processing_errors, out_of_scope, high_risk, invalid, network_not_supported, acquirer_not_supported, not_enrolled, unavailable, or unknown, if applicable.
status_reasonstring or nullStatus reason code from the 3D Secure authentication.
protocol_versionstringThe version of 3D Secure that was used.
ecistringECI Indicator from the 3D Secure authentication.
cryptogramstringCryptogram from the 3D Secure authentication.
liability_shiftbooleanWhether the liability shift was applied.
cardholder_infostring or nullText provided by the ACS/issuer to the cardholder during authentication.
acs_transaction_idstringACS Transaction ID from the 3D Secure authentication.
three_ds_server_transaction_idstring3DS Server Transaction ID from the 3D Secure authentication.
ds_transaction_idstringDS Transaction ID from the 3D Secure authentication.
aresstringAuthentication Response (ARes) from the 3D Secure authentication.
rreqstringRequestor Response (RReq) from the 3D Secure authentication.
Option 2nullpayoutstring or nullWhether the card can receive payouts. One of available or not_available, if known.
name_verificationstringResult of name verification using ANI (Account Name Inquiry). One of match, partial_match, no_match, not_performed, or not_supported.
partial_approvalobject or nullDetails about the partial approval, if the transaction was partially approved. Null otherwise.
Show 2 child attributesHide child attributes
Option 1objectDetails about the partial approval, if the transaction was partially approved.
Show 5 child attributesHide child attributes
statusstringStatus of the partial approval:
pending: the issuer approved a lower amount, and the payment waits for you to confirm or cancel it.accepted: the lower amount was accepted.canceled: the partial approval was canceled, and the payment wasn't completed.rejected: a partial approval was requested, but the issuer declined the payment for insufficient funds instead. Its amounts are 0.
amount_requestedintegerAmount requested, in the smallest currency unit.
amount_chargedintegerAmount charged, in the smallest currency unit.
product_idstringUnique identifier of the product associated with the partial approval.
Option 2nullnamestringThe cardholder's name. Only present for specific merchants.
issuerstringName of the card issuer. Only present for specific merchants.
cashappobjectDetails about the Cash App account, if the payment method is Cash App.
Show 2 child attributesHide child attributes
cashtagstringThe Cash App account the customer set up.
namestringName of the Cash App account holder, if applicable.
referencestring or nullExternal reference to the payment method, if applicable.
setup_future_usagestring or nullThe context in which this payment method was set up to be reused for future payments, if applicable. One of on_session or off_session.
third_party_tokensarray of objectsTokens for this card held by third-party providers (for example tokenex, stripe, centrobill or aptpay). Empty when there are none.
Show 5 child attributesHide child attributes
typestringThe third-party provider. The provider's details are in a field with the same name.
tokenexobjectShow 1 child attributeHide child attributes
tokenstringThe TokenEx token.
stripeobjectShow 3 child attributesHide child attributes
accountstringThe Stripe account.
customerstringThe Stripe customer.
payment_methodstringThe Stripe payment method.
centrobillobjectShow 3 child attributesHide child attributes
accountstringThe Centrobill account.
customerstringThe Centrobill customer.
sitestringThe Centrobill site.
aptpayobjectShow 1 child attributeHide child attributes
customerstringThe AptPay customer.
test_modebooleanWhether the fraud warning was created in the sandbox.
settlement_accountstringUnique identifier for the settlement account the charge was booked to. Present only when the merchant uses settlement accounts.
settlement_account_detailsobjectDetails of the settlement account and legal entity the transaction is booked to. Present only when the object is linked to a settlement account or legal entity.
Show 5 child attributesHide child attributes
processorstringThe processor of the settlement account.
currencystringThree-letter ISO currency code of the settlement account, in lowercase. Omitted for settlement accounts without a currency.
namestringName of the settlement account.
entitystringUnique identifier for the legal entity, if applicable.
entity_detailsobjectDetails of the legal entity, if applicable.
Show 2 child attributesHide child attributes
legal_namestringLegal name of the entity.
countrystringTwo-letter ISO country code of the entity's billing address.
has_morebooleanRequiredWhether there are more fraud warnings available for pagination.
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.429Retry-After header.500503Retry-After, or after a few seconds when there's none.