Skip to Content
Docs
Fraud warnings

Retrieve a fraud warning

GET/fraud_warnings/{transaction_id}

Retrieves the details of a fraud warning.

Headers

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

Path parameters

transaction_idstringRequired

Unique identifier for the fraud warning. A fraud warning ID is frdwrn_ followed by the digits of the charge ID it belongs to (for example frdwrn_296645958265997312 for chrg_296645958265997312); a chrg_ ID is rejected.

Returns

Returns the fraud warning object.

idstringRequired

Unique identifier for the fraud warning. It is frdwrn_ followed by the digits of the charge ID.

resourcestringRequired

String representing the object's type.

actionablebooleanRequired

Whether the fraud warning is actionable. If true, the charge can be refunded.

amountintegerRequired

Amount associated with the fraud warning, in the smallest currency unit.

amount_human_readablestringRequired

Amount in human-readable format.

currencystringRequired

Three-letter ISO currency code, in lowercase.

chargestring

Unique identifier of the related Charge.

customerstring or null

Unique identifier for the customer associated with this fraud warning.

Show 10 more attributesShow fewer attributes
customer_reference_idstring or null

Your unique identifier for the customer associated with this fraud warning, if applicable.

createdstringRequired

Time 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_typestringRequired

The type of fraud reported.

One of made_with_lost_card, made_with_stolen_card, card_never_received, fraudulent_card_application, made_with_counterfeit_card, unauthorized_use_of_card, misc, account_takeover, modification_of_payment_order or manipulation_of_cardholder.

referencestring or null

A unique string to reference the fraud warning, useful for reconciliation with your internal systems, if applicable.

billing_detailsobject

Billing information associated with the fraud warning.

Show 6 child attributesHide child attributes
addressobject or null

Billing address, if available.

Show 2 child attributesHide child attributes
Option 1object

Address details.

Show 6 child attributesHide child attributes
citystring

City, district, suburb, town, or village.

countrystring

Two-letter country code (ISO 3166-1 alpha-2).

line1string

Address line 1 (for example, street, PO Box, or company name).

line2string or null

Address line 2 (for example, apartment, suite, unit, or building). Responses return null when not set.

postal_codestring

ZIP or postal code.

statestring or null

State, county, province, or region. Null is accepted and returned when not set.

Option 2null
namestring or null

Full name of the billing contact.

emailstring or null

Email address of the billing contact.

phonestring or null

Phone number of the billing contact, if available.

dobstring or null

Date of birth in YYYY-MM-DD format.

national_identification_numberstring or null

National identification number of the billing contact.

payment_methodstring or null

Unique identifier for the payment method associated with this fraud warning, if applicable.

payment_method_detailsobject

Details about the payment method at the time of the fraud warning.

Show 6 child attributesHide child attributes
typestring

The type of the payment method.

cardobject

Details about the card, if the payment method is a card.

Show 21 child attributesHide child attributes
binstring

The first six digits of the card number.

brandstring

The brand of the card.

One of visa, mastercard, amex, discover, unionpay, jcb or diners.

cardholder_currencystring

Three-letter ISO currency code of the cardholder's card, in lowercase.

countrystring

Two-letter ISO code representing the country of the card issuer.

exp_monthstring

Two-digit string representing the card's expiration month.

exp_yearstring

Four-digit string representing the card's expiration year.

fingerprintstring

Unique identifier for this card number, useful for detecting duplicate cards across customers.

fundingstring

The funding type of the card.

One of debit, credit, prepaid or unknown.

last4string

The last four digits of the card number.

networkstring

The card's brand, such as visa. The payment's network data is in underlying_network_details.

categorystring

Card category.

One of consumer or business.

security_checksobject

Results of security checks performed on the card.

Show 3 child attributesHide child attributes
address_line1_checkstring or null

Result of the AVS check for address line 1. Null when the acquirer returned no address result.

One of pass, fail, unavailable or unchecked.

address_postal_code_checkstring or null

Result of the AVS check for postal code. Null when the acquirer returned no address result.

One of pass, fail, unavailable or unchecked.

cvc_checkstring

Result of the CVC check. unchecked when the acquirer returned no result.

One of pass, fail, unavailable or unchecked.

walletobject or null

Details about the digital wallet used, if applicable.

Show 4 child attributesHide child attributes
typestring

Type of the digital wallet. One of googlepay, applepay, or ctp (Click to Pay).

One of googlepay, applepay or ctp.

googlepayobject

Google Pay details. Present when type is googlepay.

Show 2 child attributesHide child attributes
typestring

Google Pay authentication method. One of cryptogram_3ds (tokenized card) or pan_only (card stored in the Google account).

One of cryptogram_3ds or pan_only.

physical_card_last4string

The last four digits of the physical card behind the wallet token, if available.

applepayobject

Apple Pay details, if available.

Show 1 child attributeHide child attributes
physical_card_last4string

The last four digits of the physical card behind the wallet token.

ctpobject

Click to Pay details, if available.

Show 4 child attributesHide child attributes
physical_card_last4string

The last four digits of the physical card.

physical_card_binstring

The BIN of the physical card, if available.

physical_card_exp_monthstring

Expiration month of the physical card, if available.

physical_card_exp_yearstring

Expiration year of the physical card, if available.

tokenstring

Token identifier for the card payment method.

three_d_secureobject or null

Details 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 1object

Populated 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 null

For authenticated transactions: how the customer was authenticated by the issuing bank, for example challenge or frictionless.

resultstring or null

Outcome of the 3D Secure authentication, for example success, failure or error.

result_reasonstring or null

Reason 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 null

The version of 3D Secure that was used.

ecistring or null

ECI Indicator from the 3D Secure authentication.

cardholder_infostring or null

Text provided by the ACS/issuer to the cardholder during authentication, if applicable.

liability_shiftboolean

Whether the liability shift was applied.

Option 2null
three_dsobject or null

Details 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 1object

Populated 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_flowstring

For authenticated transactions: how the customer was authenticated by the issuing bank.

resultstring

Outcome of the 3D Secure authentication, for example success, failure or error.

result_reasonstring

Reason 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 null

Status reason code from the 3D Secure authentication.

protocol_versionstring

The version of 3D Secure that was used.

ecistring

ECI Indicator from the 3D Secure authentication.

cryptogramstring

Cryptogram from the 3D Secure authentication.

liability_shiftboolean

Whether the liability shift was applied.

cardholder_infostring or null

Text provided by the ACS/issuer to the cardholder during authentication.

acs_transaction_idstring

ACS Transaction ID from the 3D Secure authentication.

three_ds_server_transaction_idstring

3DS Server Transaction ID from the 3D Secure authentication.

ds_transaction_idstring

DS Transaction ID from the 3D Secure authentication.

aresstring

Authentication Response (ARes) from the 3D Secure authentication.

rreqstring

Requestor Response (RReq) from the 3D Secure authentication.

Option 2null
payoutstring or null

Whether the card can receive payouts. One of available or not_available, if known.

One of available or not_available.

name_verificationstring

Result of name verification using ANI (Account Name Inquiry). One of match, partial_match, no_match, not_performed, or not_supported.

One of match, partial_match, no_match, not_performed or not_supported.

partial_approvalobject or null

Details about the partial approval, if the transaction was partially approved. Null otherwise.

Show 2 child attributesHide child attributes
Option 1object

Details about the partial approval, if the transaction was partially approved.

Show 5 child attributesHide child attributes
statusstring

Status 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.

One of pending, accepted, canceled or rejected.

amount_requestedinteger

Amount requested, in the smallest currency unit.

amount_authorizedinteger

Amount authorized, in the smallest currency unit.

amount_chargedinteger

Amount charged, in the smallest currency unit.

product_idstring

Unique identifier of the product associated with the partial approval.

Option 2null
namestring

The cardholder's name. Only present for specific merchants.

issuerstring

Name of the card issuer. Only present for specific merchants.

cashappobject

Details about the Cash App account, if the payment method is Cash App.

Show 2 child attributesHide child attributes
cashtagstring

The Cash App account the customer set up.

namestring

Name of the Cash App account holder, if applicable.

referencestring or null

External reference to the payment method, if applicable.

setup_future_usagestring or null

The context in which this payment method was set up to be reused for future payments, if applicable. One of on_session or off_session.

One of on_session or off_session.

third_party_tokensarray of objects

Tokens 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
typestring

The third-party provider. The provider's details are in a field with the same name.

tokenexobject
Show 1 child attributeHide child attributes
tokenstring

The TokenEx token.

stripeobject
Show 3 child attributesHide child attributes
accountstring

The Stripe account.

customerstring

The Stripe customer.

payment_methodstring

The Stripe payment method.

centrobillobject
Show 3 child attributesHide child attributes
accountstring

The Centrobill account.

customerstring

The Centrobill customer.

sitestring

The Centrobill site.

aptpayobject
Show 1 child attributeHide child attributes
customerstring

The AptPay customer.

test_modeboolean

Whether the fraud warning was created in the sandbox.

settlement_accountstring

Unique identifier for the settlement account the charge was booked to. Present only when the merchant uses settlement accounts.

settlement_account_detailsobject

Details 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
processorstring

The processor of the settlement account.

currencystring

Three-letter ISO currency code of the settlement account, in lowercase. Omitted for settlement accounts without a currency.

namestring

Name of the settlement account.

entitystring

Unique identifier for the legal entity, if applicable.

entity_detailsobject

Details of the legal entity, if applicable.

Show 2 child attributesHide child attributes
legal_namestring

Legal name of the entity.

countrystring

Two-letter ISO country code of the entity's billing address.

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
Fraud warning 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?