Payment Attempts
A PaymentAttempt object is created whenever a customer makes a payment with the chosen PaymentMethod. This API allows you to find out how your customer paid for your order.
A customer may attempt to pay for the same order multiple times. However, only one attempt should succeed. Use the Retrieve list of PaymentAttempts endpoint to list each and every PaymentAttempt made by your customer.
Data Retention Policy: You can query PaymentAttempt resources for a maximum of 2 years since creation.
GET /api/v1/pa/payment_attempts/{id}GET /api/v1/pa/payment_attempts
Retrieve a PaymentAttempt
GET /api/v1/pa/payment_attempts/{id}
PaymentAttempt unique identifier
Acquirer reference number of the card payment. Will be populated after the payment attempt has transitioned to the CAPTURE_REQUESTED or SETTLED status.
Amount of the PaymentAttempt
Authentication data which contains AVS result, CVC result, three domain secure result and fraud evaluation result
The method used to authenticate this transaction. Possible values: passkey, 3ds, none.
AVS result.
CVC result.
3DS data.
Cardholder Authentication Verification Value. Base64-encoded 28-character string.
Challenge cancellation reason
Electronic Commerce Indicator. As defined by 3D-Secure.
00: Mastercard variant: Authentication failed.01: Mastercard variant: Authentication attempted.02: Mastercard variant: Authentication succeeded.04: Mastercard variant: Frictionless authentication via data only mode.05: Authentication succeeded.06: Authentication attempted. Mastercard variant: Exempted from Strong Customer Authentication.07: Authentication failed or exempted. Mastercard variant: Recurring transaction successfully authenticated.null: Not applicable or 3DS authentication was not performed.
Indicates whether the cardholder is enrolled in 3D-Secure.
Y: Cardholder is enrolled.N: Cardholder is not enrolled.U: Unable to determine enrollment status.null: Not applicable or enrollment check was not performed.
Indicates whether 3DS passed in frictionless flow.
Y: 3DS passed in frictionless flow.N: 3DS entered challenge flow.null: Not applicable or 3DS authentication was not performed.
Indicates whether liability has shifted to the card issuer.
Y: Liability has shifted to the issuer.N: Liability has not shifted.null: Not applicable or unable to determine.
Payment Authentication Response (PARes) status.
Y: Authentication successful.N: Authentication failed.U: Authentication could not be performed.A: Authentication attempted but not completed.C: Challenge required.R: Authentication rejected.null: Not applicable or authentication was not performed.
3ds version
XID
Fraud data.
Fraud action
Risk factors
Risk factor description
Fraud score
Status of payment passkey setup for the card/device used in the transaction, during cardholder authentication. Possible values: SETUP_COMPLETED, ALREADY_SETUP, FAILED_TO_SETUP, NOT_TRIGGERED
SETUP_COMPLETED: Payment passkey was successfully set up.ALREADY_SETUP: Payment passkey was already set up for this card/device combination in a previous transaction.FAILED_TO_SETUP: Attempted to set up a payment passkey, but the setup failed.NOT_TRIGGERED: Payment passkey setup was not supported or not applicable for this transaction (transaction was not processed via the passkey flow).
SCA exemption indicators for this transaction.
The SCA exemption type actually applied by Airwallex in the authorization request sent downstream. If this field is null, SCA exemption was not applied. Possible values: LOW_RISK_TRANSACTION, LOW_VALUE, SECURE_CORPORATE_PAYMENT.
The SCA exemption type requested by the merchant for Airwallex to use. Possible values: LOW_RISK_TRANSACTION, LOW_VALUE, SECURE_CORPORATE_PAYMENT, ANONYMOUS.
Captured amount
Time at which this PaymentAttempt was created
Currency of the PaymentAttempt
Present when DCC amount is available and DCC currency is different from PaymentIntent currency. DCC could be conducted either by third party or Airwallex when using Airwallex DCC product
DCC amount
DCC currency
PaymentAttempt failure code. One of authentication_failed, capture_failed, authorization_failed, provider_unavailable, system_unavailable, fraud_rejected
Failure details. Only applicable when status is FAILED.
The failure code returned by Airwallex
Additional details that may include original_response_code, original_response_message from provider, and other contextual information such as card details, risk factors, etc. depending on the specific error code.
The failure description.
The unique identifier for tracing the failure.
Unique identifier for the PaymentAttempt
An advice code from issuer to provide more details about the payment. It can be useful when implementing a retry logic for declined payments.
Merchant order unique identifier of the PaymentAttempt
PaymentConsent unique identifier of the PaymentAttempt
PaymentIntent unique identifier of the PaymentAttempt
PaymentMethod used by the PaymentAttempt
ACH Direct Debit information.
9-digit number to identify a bank in the US.
4-17 digits number to identify a bank account in the US.
Indicate whether the account is a business account.
The result of micro debit.
The status of micro_debit.
The result of micro deposit.
The status of micro_deposit.
Email of the account holder.
Name of the account holder.
AirwallexPay information.
Name of the payer. Only returned for successful payments.
Alfamart information.
Email address of the shopper.
The name of the shopper.
Alipay CN information.
One of qrcode, mobile_web, mobile_app, mini_program
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Alipay HK information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Apple pay information.
Billing information
The billing address as it appears on the credit card issuer’s records
City of the address. Maximum of 100 characters.
The two-letter country code in ISO 3166-1 alpha-2 format.
Postcode of the address. Maximum of 10 characters.
State or province of the address. Maximum of 100 characters.
Street of the address. Maximum of 1000 characters.
Date of birth of the customer in the format: YYYY-MM-DD
Email address of the customer
First name of the customer
Last name of the customer
Phone number of the customer
The Lifecycle Identifier is a unique code that links all related transaction events - Capture, refund & disputes, making it easy to track a transaction throughout its lifecycle. This identifier is currently supported only when the card brand is MasterCard.
Type of the payment data details. One of tokenized_card or encrypted_payment_token.
Payment data with the tokenized card details.
Authentication method
EMV data
Output from the Secure Element
The PIN encrypted using the bank’s key
3D-Secure authentication data
Electronic Commerce Indicator, as defined by 3-D Secure
Online payment cryptogram, as defined by 3-D Secure
The authentication method type. One of CRYPTOGRAM_3DS, PAN_ONLY.
Bank identify number of this card
Brand of the card. One of visa, mastercard, maestro, chinaunionpay.
Device manufacturer identifier
Two digit number representing the card’s expiration month
Four digit number representing the card’s expiration year
Fingerprint of the card
A boolean field referring whether the card is commercial or not
Country code of the card issuer
Issuer name
Last four digits of the card number
Cardholder name
The card's type of payment. One of credit or debit.
Atome information.
Customer's mobile number, formatted in E.164 standard.
BACS Direct Debit information.
8 digits number to identify a bank account in the UK.
Account holder's address.
Country code of the address. Use the two-character ISO Standard Country Codes. One of GB, US. Default to GB if not provided
House number and street name, e.g., 777 Casino Drive
Locality name, e.g., Apartment 123
Postcode of the address.
State or province of the address. Should be provided if country code is US. Use the two-character ISO3166-2:US state code.
Post town.
Bank of the account. You can call API to retrieve the available bank names.
Indicate whether the account is a business account.
The result of micro deposit.
The status of micro_deposit.
Email of the account holder.
Name of the account holder.
6-digit number to identify a bank in the UK.
Bancontact information.
The name of the shopper.
Bank Transfer information.
The name of the bank.
The 2-letter ISO country/region code from which the consumer will be paying.
Expiry time of this attempt, in ISO-8601 format
The type of GA mode.
Email address of the shopper.
The name of the shopper.
BECS Direct Debit information.
4-9 digits number to identify a bank account in Australia.
6-digit Bank-State-Branch number.
Indicate whether the account is a business account.
The result of micro debit.
The status of micro_debit.
The result of micro deposit.
The status of micro_deposit.
Account holder's email.
Account holder name.
BitPay information.
The 2-letter ISO country/region code from which the consumer will be paying.
The name of the shopper.
BLIK information.
The name of the shopper.
Boost information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
Card information
Additional information of external network token requestor. Would return when number_type is EXTERNAL_NETWORK_TOKEN
Merchant Verification Value (Provided by VISA during onboarding) or MasterCard Assigned ID (Provided by MasterCard during onboarding)
Token requestor unique identifier (Provided by card schemes during onboarding)
Billing information
The billing address as it appears on the credit card issuer’s records
City of the address. Maximum of 100 characters.
The two-letter country code in ISO 3166-1 alpha-2 format.
Postcode of the address. Maximum of 10 characters.
State or province of the address. Maximum of 100 characters.
Street of the address. Maximum of 1000 characters.
Date of birth of the customer in the format: YYYY-MM-DD
Email address of the customer
First name of the customer
Last name of the customer
Phone number of the customer
Bank identify number of this card
Brand of the card. One of mastercard, visa, union pay, american express, jcb, discover, diners club international.
Funding type of the card
Specifies if card information got updated
Expiry was updated (true or false)
Account number was updated (true or false)
Two digit number representing the card’s expiration month
Four digit number representing the card’s expiration year
Fingerprint of the card
A boolean field referring whether the card is commercial or not
Country code of the card issuer
Issuer name
Information for Korean Card
A 10-digit business number of the company.
A 6-digit date of birth in the format of YYMMDD.
Card password first 2 digits.
Last four digits of the card number
The Lifecycle Identifier is a unique code that links all related transaction events - Capture, refund & disputes, making it easy to track a transaction throughout its lifecycle. This identifier is currently supported only when the card brand is MasterCard.
Card holder name
Type of the number. One of PAN, EXTERNAL_NETWORK_TOKEN, AIRWALLEX_NETWORK_TOKEN.
Card-present information
Application Identifier (AID) of the card.
Bank identify number of this card
Brand of the card
A unique identifier to distinguish among separate cards having the save PAN.
Funding type of the card
Cardholder verification method.
Contactless Card Form Factor.
Two digit number representing the card’s expiration month
Four digit number representing the card’s expiration year
Whether fallback happens when reading the card.
Fallback reason.
Fingerprint of the card
A boolean field referring whether the card is commercial or not
Country code of the card issuer
Issuer name
Last four digits of the card number
Card holder name
The way the terminal reads the card information.
Data used for receipt printing of the transaction.
Retrieval reference number of the transaction.
System trace audit number of the transaction.
Terminal verification result (EMV tag 95) of the transaction.
Data obtained by the POS terminal from the card and terminal properties.
Indicate whether the POS terminal is a mobile POS device. Default is false.
Describe the capability of the terminal device to accept PIN.
unsupported: Terminal does not have PIN entry capability.supported: Terminal has PIN entry capability. Except the case suitable for software_based.software_based: For a mobile POS device, a user can input PIN through software-based keyboard.disabled: Terminal has PIN entry capability but PIN pad is not currently operative.
Indicate whether the POS terminal could respond to a request_pin action. Default is false.
List of pan_entry_modes supported by the terminal.
An up to 8 digit alphanumeric unique identifier used to identify the terminal at the card acceptor location of the user’s POS system.
Type of the POS terminal that processes this payment.
attended_pos: dedicated pos devices that attended by a merchant staff.unattended_pos: dedicated pos devices that not attended.android_softpos: android mobile devices that can work as pos device with software.ios_softpos: iOS mobile devices that can work as pos device with software.
Indicate whether the reader is embedded in a mobile POS device. Default is true.
Time at which the PaymentMethod was created
Customer id
Dana information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Doku E-Wallet information.
Email address of the shopper.
The name of the shopper.
Dragonpay information.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
DuitNow information.
The name of the shopper.
EFT Direct Debit information.
4-17 digits number to identify a bank account in Canada.
Indicate whether the account is a business account.
3-digit number to identify a bank institution in Canada.
The result of micro debit.
The status of micro_debit.
The result of micro deposit.
The status of micro_deposit.
Email of the account holder.
Name of the account holder.
Identify a bank branch transit in Canada.
EPS information.
The name of the shopper.
ESUN information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
FamilyMart information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
FPS information.
The specific FPS flow to use. Currently only support qrcode.
FPX information.
The name of the bank.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
Gcash information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
GoPay information.
The name of the shopper.
Google pay information.
Billing information
The billing address as it appears on the credit card issuer’s records
City of the address. Maximum of 100 characters.
The two-letter country code in ISO 3166-1 alpha-2 format.
Postcode of the address. Maximum of 10 characters.
State or province of the address. Maximum of 100 characters.
Street of the address. Maximum of 1000 characters.
Date of birth of the customer in the format: YYYY-MM-DD
Email address of the customer
First name of the customer
Last name of the customer
Phone number of the customer
The Lifecycle Identifier is a unique code that links all related transaction events - Capture, refund & disputes, making it easy to track a transaction throughout its lifecycle. This identifier is currently supported only when the card brand is MasterCard.
Type of the payment data details. One of tokenized_card or encrypted_payment_token.
Payment data with the tokenized card details.
Authentication method
EMV data
Output from the Secure Element
The PIN encrypted using the bank’s key
3D-Secure authentication data
Electronic Commerce Indicator, as defined by 3-D Secure
Online payment cryptogram, as defined by 3-D Secure
The authentication method type. One of CRYPTOGRAM_3DS, PAN_ONLY.
Bank identify number of this card
Brand of the card. One of visa, mastercard, maestro, chinaunionpay.
Device manufacturer identifier
Two digit number representing the card’s expiration month
Four digit number representing the card’s expiration year
Fingerprint of the card
A boolean field referring whether the card is commercial or not
Country code of the card issuer
Issuer name
Last four digits of the card number
Cardholder name
The card's type of payment. One of credit or debit.
GrabPay information.
The name of the shopper.
Hi-Life information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
Unique identifier for the PaymentMethod
iDEAL information.
The name of the bank.
The name of the shopper.
Indomaret information.
Email address of the shopper.
The name of the shopper.
JeniusPay information.
Email address of the shopper.
The name of the shopper.
Kakaopay information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Klarna information.
Billing information
The billing address as it appears on the credit card issuer’s records
City of the address. Maximum of 100 characters.
The two-letter country code in ISO 3166-1 alpha-2 format.
Postcode of the address. Maximum of 10 characters.
State or province of the address. Maximum of 100 characters.
Street of the address. Maximum of 1000 characters.
Date of birth of the customer in the format: YYYY-MM-DD
Email address of the customer
First name of the customer
Last name of the customer
Phone number of the customer
The ISO 3166 alpha-2 standard country/region code from which the consumer will be paying. One of AT, BE, CH, CZ, DE, DK, ES, FI, FR, GB, GR, IE, IT, NL, NO, PL, PT, SE, US
The ISO 639-1 alpha-2 language code. Default value is en. Besides en, you can specify other local languages (see below) for some countries to render the payment page.
AT: de; BE: be, nl, fr; CH: it, de, fr; CZ: cs; DE: de; DK: da; ES: es; FI: fi, sv; FR: fr; GR: el; IT: it; NL: nl; NO: nb; PL: pl; PT: pt; SE: sv; US: es
Konbini information.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
LinkAja information.
Email address of the shopper.
The name of the shopper.
Maxima information.
The name of the shopper.
A set of key-value pairs that you can attach to the PaymentMethod. You can specify up to 50 keys with key names up to 50 characters long and values up to 500 characters long.
Multibanco information.
The name of the shopper.
MyBank information.
The name of the shopper.
Narvesen information.
The name of the shopper.
Online Banking information.
The name of the bank.
The 2-letter ISO country/region code from which the consumer will be paying.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
OVO information.
Email address of the shopper.
The name of the shopper.
P24 information.
Email address of the shopper.
The name of the shopper.
PayNow information.
The payment channel.
The name of the shopper.
Pay by Bank app information.
The name of the shopper.
PayEasy information.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
PayPal information.
The 2-letter ISO country/region code from which the consumer will be paying.
The name of the shopper.
Paypost information.
The name of the shopper.
paysafecard information.
The 2-letter ISO country/region code from which the consumer will be paying.
Email address of the shopper.
The name of the shopper.
Paysafecash information.
The 2-letter ISO country/region code from which the consumer will be paying.
Email address of the shopper.
The name of the shopper.
Paysera information.
The name of the bank.
The 2-letter ISO country/region code from which the consumer will be paying.
The name of the shopper.
Payto information
The account name.
4-9 digits number to identify a bank account in Australia.
6-digit Bank-State-Branch number.
The PayID of the recipient.
11 digits number to identify the PayId. Required when phone_number, owner_email, and organisation_id is null.
The organisation id of the recipient. The PayID must be in the format of payid:airwallex.com.
owner email to identify the PayId. Required when phone_number, australian_business_number, and organisation_id is null.
The phone number of the PayId. Required when owner_email, australian_business_number, and organisation_id is null.
PayU information.
The name of the shopper.
Perlas terminals information.
The name of the shopper.
PromptPay information.
The name of the shopper.
Rabbit LINE Pay information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Satispay information.
The 2-letter ISO country/region code from which the consumer will be paying.
The name of the shopper
SEPA Direct Debit information.
Account holder's address.
Country code of the address. Use the two-character ISO Standard Country Codes.
Postcode of the address.
street of the address.
town of the address.
Bank of the account. You can call API to retrieve the available bank names.
Indicate whether the account is a business account.
The 2-letter ISO country/region code from which the consumer will be paying.
15–34 characters to identify a bank account.
The result of micro debit.
The status of micro_debit.
The result of micro deposit.
The status of micro_deposit.
Email of the account holder.
Name of the account holder.
7-Eleven information.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
Boost information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
Skrill information.
The 2-letter ISO country/region code from which the consumer will be paying. Applicable worldwide except for blacklisted countries. For the forbidden countries, please refer to Skrill Non-serviced Countries
Email address of the shopper.
The name of the shopper.
Status of the PaymentMethod. One of CREATED, DISABLED
Tabby information
The ISO 639-1 alpha-2 language code.
The email of the shopper.
The name of the shopper.
The phone of the shopper.
TNG information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Truemoney information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Trustly information.
The 2-letter ISO country/region code from which the consumer will be paying. One of DE, DK, EE, ES, FI, GB, LT, LV, NL, NO, PL, SE, SK.
Email address of the shopper.
The name of the shopper.
Type of the PaymentMethod. One of card, card_present, applepay, wechatpay, alipaycn, alipayhk, googlepay, gcash, dana, kakaopay, tng, truemoney, rabbit_line_pay, family_mart, hi_life, esun, boost, shopee_pay, fpx, bank_transfer, alfamart, doku_ewallet, grabpay, indomaret, konbini, online_banking, payeasy, seven_eleven, skrill, eps, bancontact, ideal, multibanco, p24, trustly, dragonpay, blik, mybank, paybybankapp, verkkopankki, maxima, narvesen, paypost, perlas_terminals, paysafecash, paysafecard, paysera, satispay, atome, duit_now, pay_now, prompt_pay, go_pay, jenius_pay, fps, ach_direct_debit, bacs_direct_debit, becs_direct_debit, klarna, sepa_direct_debit, korean_local_card, payco, samsung_pay, naver_pay, toss_pay, ovo, bitpay, linkaja, eft_direct_debit, zip, afterpay.
Last time at which the PaymentMethod was updated
Verkkopankki information.
The name of the bank.
Email address of the shopper.
The name of the shopper.
WeChat Pay information.
The payment channel.
The specific WechatPay flow to use. One of qrcode, official_account, mobile_app, mobile_web
Zip information.
The name of the shopper.
Options for PaymentMethod.
The PaymentMethod options for card.
Specifies whether the funds should be requested automatically after the payment is authorized. Default to true.
The unique transaction identifier for a Payment Attempt, assigned by the payment provider (card issuers or local payment method providers such as Google Pay, iDEAL, etc.).
The original response code from the payment method provider (or issuer for card)
Deprecated.
Use payment_method_transaction_id instead.
Refunded amount
Through which channel the merchant will get this payment settled. Possible values are airwallex, paypal, amex.
If airwallex is returned, this payment will be settled to merchant's Airwallex wallet, otherwise it will be settled externally.
- RECEIVED: The PaymentAttempt has been created upon request.
- AUTHENTICATION_REDIRECTED: The PaymentAttempt is waiting for further customer action of authentication, e.g. 3DS verification and QR code scan.
- PENDING_AUTHORIZATION: The PaymentAttempt authorization request has been accepted and is pending the final result from the provider.
- AUTHORIZED: The PaymentAttempt was successfully authorized. It will either be automatically captured or require a manual capture to finalize the payment. Please be aware that capturing the payment is not possible if the PaymentIntent status is PENDING_REVIEW.
- CAPTURE_REQUESTED: The PaymentAttempt has been successfully requested for capture. The payment is complete.
- EXPIRED: The PaymentAttempt expired after the allowed payment time. Please create a new PaymentAttempt to retry.
- CANCELLED: The PaymentAttempt has been cancelled. The previously authorized amount (if any) will be returned to the customer.
- FAILED: The PaymentAttempt has failed. Please create a new PaymentAttempt to retry.
- SETTLED: Airwallex has received the settlement from the provider. We will settle the funds in your wallet.
- PAID: Airwallex has settled the funds in your wallet.
Airwallex terminal unique identifier used to process the payment attempt.
Last time at which this PaymentAttempt was updated or operated on
| Error status | Description |
|---|---|
| 400 | Bad Request. Possible error codes: |
| 401 | Unauthorized. Possible error codes: |
| 403 | Forbidden |
| 404 | Not Found. Possible error codes: |
| 500 | Server Error. Possible error codes: |
$curl --request GET \> --url 'https://api-demo.airwallex.com/api/v1/pa/payment_attempts/att_hkpd12a3456hi7' \> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \> --header 'Content-Type: application/json'
1{2 "id": "att_hkpd12a3456hi7",3 "amount": 100,4 "currency": "USD",5 "payment_method": {6 "type": "card",7 "card": {8 "expiry_month": "03",9 "expiry_year": "2030",10 "name": "John Doe",11 "bin": "403550",12 "last4": "0008",13 "brand": "visa",14 "issuer_country_code": "US",15 "card_type": "CREDIT",16 "fingerprint": "AKvN4TqxI04SNFZ+oYRXaECtDA==",17 "billing": {18 "first_name": "John",19 "last_name": "Doe",20 "email": "[email protected]",21 "phone_number": "+1 1234567890",22 "address": {23 "country_code": "US",24 "state": "CA",25 "city": "San Francisco",26 "street": "1460 Mission St.#02W101",27 "postcode": "94103"28 }29 },30 "issuer_name": "JPMorgan Chase",31 "is_commercial": false,32 "number_type": "PAN"33 }34 },35 "merchant_order_id": "D202503210001",36 "payment_intent_id": "int_hkpdskz7vg1xc7uscdj",37 "status": "CAPTURE_REQUESTED",38 "payment_method_transaction_id": "1234567890",39 "acquirer_reference_number": "1234567890",40 "provider_original_response_code": "00",41 "authorization_code": "123456",42 "captured_amount": 100,43 "refunded_amount": 0,44 "settle_via": "airwallex",45 "authentication_data": {46 "ds_data": {}47 },48 "created_at": "2023-10-01T12:00:00+00:00",49 "updated_at": "2023-10-01T12:00:00+00:00"50}
Get list of PaymentAttempts
GET /api/v1/pa/payment_attempts
Retrieve list of PaymentAttempts. Specify a value for payment_intent_id to list the PaymentAttempts made on the PaymentIntent. You may filter out the results further by method and/or status.
PaymentAttempt currency
The start time of created_at in ISO8601 format. The timestamp must include an explicit timezone (e.g. Z or -04:00).
Page number starting from 0
Number of PaymentAttempts to be listed per page. Default value is 10. Maximum is 1000. The value greater than the maximum will be capped to the maximum.
PaymentIntent unique identifier of the attempt
PaymentAttempt status
The end time of created_at in ISO8601 format. The timestamp must include an explicit timezone (e.g. Z or -04:00).
A flag which identifies whether there are more results.
List items
Acquirer reference number of the card payment. Will be populated after the payment attempt has transitioned to the CAPTURE_REQUESTED or SETTLED status.
Amount of the PaymentAttempt
Authentication data which contains AVS result, CVC result, three domain secure result and fraud evaluation result
The method used to authenticate this transaction. Possible values: passkey, 3ds, none.
AVS result.
CVC result.
3DS data.
Cardholder Authentication Verification Value. Base64-encoded 28-character string.
Challenge cancellation reason
Electronic Commerce Indicator. As defined by 3D-Secure.
00: Mastercard variant: Authentication failed.01: Mastercard variant: Authentication attempted.02: Mastercard variant: Authentication succeeded.04: Mastercard variant: Frictionless authentication via data only mode.05: Authentication succeeded.06: Authentication attempted. Mastercard variant: Exempted from Strong Customer Authentication.07: Authentication failed or exempted. Mastercard variant: Recurring transaction successfully authenticated.null: Not applicable or 3DS authentication was not performed.
Indicates whether the cardholder is enrolled in 3D-Secure.
Y: Cardholder is enrolled.N: Cardholder is not enrolled.U: Unable to determine enrollment status.null: Not applicable or enrollment check was not performed.
Indicates whether 3DS passed in frictionless flow.
Y: 3DS passed in frictionless flow.N: 3DS entered challenge flow.null: Not applicable or 3DS authentication was not performed.
Indicates whether liability has shifted to the card issuer.
Y: Liability has shifted to the issuer.N: Liability has not shifted.null: Not applicable or unable to determine.
Payment Authentication Response (PARes) status.
Y: Authentication successful.N: Authentication failed.U: Authentication could not be performed.A: Authentication attempted but not completed.C: Challenge required.R: Authentication rejected.null: Not applicable or authentication was not performed.
3ds version
XID
Fraud data.
Fraud action
Risk factors
Risk factor description
Fraud score
Status of payment passkey setup for the card/device used in the transaction, during cardholder authentication. Possible values: SETUP_COMPLETED, ALREADY_SETUP, FAILED_TO_SETUP, NOT_TRIGGERED
SETUP_COMPLETED: Payment passkey was successfully set up.ALREADY_SETUP: Payment passkey was already set up for this card/device combination in a previous transaction.FAILED_TO_SETUP: Attempted to set up a payment passkey, but the setup failed.NOT_TRIGGERED: Payment passkey setup was not supported or not applicable for this transaction (transaction was not processed via the passkey flow).
SCA exemption indicators for this transaction.
The SCA exemption type actually applied by Airwallex in the authorization request sent downstream. If this field is null, SCA exemption was not applied. Possible values: LOW_RISK_TRANSACTION, LOW_VALUE, SECURE_CORPORATE_PAYMENT.
The SCA exemption type requested by the merchant for Airwallex to use. Possible values: LOW_RISK_TRANSACTION, LOW_VALUE, SECURE_CORPORATE_PAYMENT, ANONYMOUS.
Captured amount
Time at which this PaymentAttempt was created
Currency of the PaymentAttempt
Present when DCC amount is available and DCC currency is different from PaymentIntent currency. DCC could be conducted either by third party or Airwallex when using Airwallex DCC product
DCC amount
DCC currency
PaymentAttempt failure code. One of authentication_failed, capture_failed, authorization_failed, provider_unavailable, system_unavailable, fraud_rejected
Failure details. Only applicable when status is FAILED.
The failure code returned by Airwallex
Additional details that may include original_response_code, original_response_message from provider, and other contextual information such as card details, risk factors, etc. depending on the specific error code.
The failure description.
The unique identifier for tracing the failure.
Unique identifier for the PaymentAttempt
An advice code from issuer to provide more details about the payment. It can be useful when implementing a retry logic for declined payments.
Merchant order unique identifier of the PaymentAttempt
PaymentConsent unique identifier of the PaymentAttempt
PaymentIntent unique identifier of the PaymentAttempt
PaymentMethod used by the PaymentAttempt
ACH Direct Debit information.
9-digit number to identify a bank in the US.
4-17 digits number to identify a bank account in the US.
Indicate whether the account is a business account.
The result of micro debit.
The status of micro_debit.
The result of micro deposit.
The status of micro_deposit.
Email of the account holder.
Name of the account holder.
AirwallexPay information.
Name of the payer. Only returned for successful payments.
Alfamart information.
Email address of the shopper.
The name of the shopper.
Alipay CN information.
One of qrcode, mobile_web, mobile_app, mini_program
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Alipay HK information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Apple pay information.
Billing information
The billing address as it appears on the credit card issuer’s records
City of the address. Maximum of 100 characters.
The two-letter country code in ISO 3166-1 alpha-2 format.
Postcode of the address. Maximum of 10 characters.
State or province of the address. Maximum of 100 characters.
Street of the address. Maximum of 1000 characters.
Date of birth of the customer in the format: YYYY-MM-DD
Email address of the customer
First name of the customer
Last name of the customer
Phone number of the customer
The Lifecycle Identifier is a unique code that links all related transaction events - Capture, refund & disputes, making it easy to track a transaction throughout its lifecycle. This identifier is currently supported only when the card brand is MasterCard.
Type of the payment data details. One of tokenized_card or encrypted_payment_token.
Payment data with the tokenized card details.
Authentication method
EMV data
Output from the Secure Element
The PIN encrypted using the bank’s key
3D-Secure authentication data
Electronic Commerce Indicator, as defined by 3-D Secure
Online payment cryptogram, as defined by 3-D Secure
The authentication method type. One of CRYPTOGRAM_3DS, PAN_ONLY.
Bank identify number of this card
Brand of the card. One of visa, mastercard, maestro, chinaunionpay.
Device manufacturer identifier
Two digit number representing the card’s expiration month
Four digit number representing the card’s expiration year
Fingerprint of the card
A boolean field referring whether the card is commercial or not
Country code of the card issuer
Issuer name
Last four digits of the card number
Cardholder name
The card's type of payment. One of credit or debit.
Atome information.
Customer's mobile number, formatted in E.164 standard.
BACS Direct Debit information.
8 digits number to identify a bank account in the UK.
Account holder's address.
Country code of the address. Use the two-character ISO Standard Country Codes. One of GB, US. Default to GB if not provided
House number and street name, e.g., 777 Casino Drive
Locality name, e.g., Apartment 123
Postcode of the address.
State or province of the address. Should be provided if country code is US. Use the two-character ISO3166-2:US state code.
Post town.
Bank of the account. You can call API to retrieve the available bank names.
Indicate whether the account is a business account.
The result of micro deposit.
The status of micro_deposit.
Email of the account holder.
Name of the account holder.
6-digit number to identify a bank in the UK.
Bancontact information.
The name of the shopper.
Bank Transfer information.
The name of the bank.
The 2-letter ISO country/region code from which the consumer will be paying.
Expiry time of this attempt, in ISO-8601 format
The type of GA mode.
Email address of the shopper.
The name of the shopper.
BECS Direct Debit information.
4-9 digits number to identify a bank account in Australia.
6-digit Bank-State-Branch number.
Indicate whether the account is a business account.
The result of micro debit.
The status of micro_debit.
The result of micro deposit.
The status of micro_deposit.
Account holder's email.
Account holder name.
BitPay information.
The 2-letter ISO country/region code from which the consumer will be paying.
The name of the shopper.
BLIK information.
The name of the shopper.
Boost information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
Card information
Additional information of external network token requestor. Would return when number_type is EXTERNAL_NETWORK_TOKEN
Merchant Verification Value (Provided by VISA during onboarding) or MasterCard Assigned ID (Provided by MasterCard during onboarding)
Token requestor unique identifier (Provided by card schemes during onboarding)
Billing information
The billing address as it appears on the credit card issuer’s records
City of the address. Maximum of 100 characters.
The two-letter country code in ISO 3166-1 alpha-2 format.
Postcode of the address. Maximum of 10 characters.
State or province of the address. Maximum of 100 characters.
Street of the address. Maximum of 1000 characters.
Date of birth of the customer in the format: YYYY-MM-DD
Email address of the customer
First name of the customer
Last name of the customer
Phone number of the customer
Bank identify number of this card
Brand of the card. One of mastercard, visa, union pay, american express, jcb, discover, diners club international.
Funding type of the card
Specifies if card information got updated
Expiry was updated (true or false)
Account number was updated (true or false)
Two digit number representing the card’s expiration month
Four digit number representing the card’s expiration year
Fingerprint of the card
A boolean field referring whether the card is commercial or not
Country code of the card issuer
Issuer name
Information for Korean Card
A 10-digit business number of the company.
A 6-digit date of birth in the format of YYMMDD.
Card password first 2 digits.
Last four digits of the card number
The Lifecycle Identifier is a unique code that links all related transaction events - Capture, refund & disputes, making it easy to track a transaction throughout its lifecycle. This identifier is currently supported only when the card brand is MasterCard.
Card holder name
Type of the number. One of PAN, EXTERNAL_NETWORK_TOKEN, AIRWALLEX_NETWORK_TOKEN.
Card-present information
Application Identifier (AID) of the card.
Bank identify number of this card
Brand of the card
A unique identifier to distinguish among separate cards having the save PAN.
Funding type of the card
Cardholder verification method.
Contactless Card Form Factor.
Two digit number representing the card’s expiration month
Four digit number representing the card’s expiration year
Whether fallback happens when reading the card.
Fallback reason.
Fingerprint of the card
A boolean field referring whether the card is commercial or not
Country code of the card issuer
Issuer name
Last four digits of the card number
Card holder name
The way the terminal reads the card information.
Data used for receipt printing of the transaction.
Retrieval reference number of the transaction.
System trace audit number of the transaction.
Terminal verification result (EMV tag 95) of the transaction.
Data obtained by the POS terminal from the card and terminal properties.
Indicate whether the POS terminal is a mobile POS device. Default is false.
Describe the capability of the terminal device to accept PIN.
unsupported: Terminal does not have PIN entry capability.supported: Terminal has PIN entry capability. Except the case suitable for software_based.software_based: For a mobile POS device, a user can input PIN through software-based keyboard.disabled: Terminal has PIN entry capability but PIN pad is not currently operative.
Indicate whether the POS terminal could respond to a request_pin action. Default is false.
List of pan_entry_modes supported by the terminal.
An up to 8 digit alphanumeric unique identifier used to identify the terminal at the card acceptor location of the user’s POS system.
Type of the POS terminal that processes this payment.
attended_pos: dedicated pos devices that attended by a merchant staff.unattended_pos: dedicated pos devices that not attended.android_softpos: android mobile devices that can work as pos device with software.ios_softpos: iOS mobile devices that can work as pos device with software.
Indicate whether the reader is embedded in a mobile POS device. Default is true.
Time at which the PaymentMethod was created
Customer id
Dana information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Doku E-Wallet information.
Email address of the shopper.
The name of the shopper.
Dragonpay information.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
DuitNow information.
The name of the shopper.
EFT Direct Debit information.
4-17 digits number to identify a bank account in Canada.
Indicate whether the account is a business account.
3-digit number to identify a bank institution in Canada.
The result of micro debit.
The status of micro_debit.
The result of micro deposit.
The status of micro_deposit.
Email of the account holder.
Name of the account holder.
Identify a bank branch transit in Canada.
EPS information.
The name of the shopper.
ESUN information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
FamilyMart information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
FPS information.
The specific FPS flow to use. Currently only support qrcode.
FPX information.
The name of the bank.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
Gcash information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
GoPay information.
The name of the shopper.
Google pay information.
Billing information
The billing address as it appears on the credit card issuer’s records
City of the address. Maximum of 100 characters.
The two-letter country code in ISO 3166-1 alpha-2 format.
Postcode of the address. Maximum of 10 characters.
State or province of the address. Maximum of 100 characters.
Street of the address. Maximum of 1000 characters.
Date of birth of the customer in the format: YYYY-MM-DD
Email address of the customer
First name of the customer
Last name of the customer
Phone number of the customer
The Lifecycle Identifier is a unique code that links all related transaction events - Capture, refund & disputes, making it easy to track a transaction throughout its lifecycle. This identifier is currently supported only when the card brand is MasterCard.
Type of the payment data details. One of tokenized_card or encrypted_payment_token.
Payment data with the tokenized card details.
Authentication method
EMV data
Output from the Secure Element
The PIN encrypted using the bank’s key
3D-Secure authentication data
Electronic Commerce Indicator, as defined by 3-D Secure
Online payment cryptogram, as defined by 3-D Secure
The authentication method type. One of CRYPTOGRAM_3DS, PAN_ONLY.
Bank identify number of this card
Brand of the card. One of visa, mastercard, maestro, chinaunionpay.
Device manufacturer identifier
Two digit number representing the card’s expiration month
Four digit number representing the card’s expiration year
Fingerprint of the card
A boolean field referring whether the card is commercial or not
Country code of the card issuer
Issuer name
Last four digits of the card number
Cardholder name
The card's type of payment. One of credit or debit.
GrabPay information.
The name of the shopper.
Hi-Life information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
Unique identifier for the PaymentMethod
iDEAL information.
The name of the bank.
The name of the shopper.
Indomaret information.
Email address of the shopper.
The name of the shopper.
JeniusPay information.
Email address of the shopper.
The name of the shopper.
Kakaopay information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Klarna information.
Billing information
The billing address as it appears on the credit card issuer’s records
City of the address. Maximum of 100 characters.
The two-letter country code in ISO 3166-1 alpha-2 format.
Postcode of the address. Maximum of 10 characters.
State or province of the address. Maximum of 100 characters.
Street of the address. Maximum of 1000 characters.
Date of birth of the customer in the format: YYYY-MM-DD
Email address of the customer
First name of the customer
Last name of the customer
Phone number of the customer
The ISO 3166 alpha-2 standard country/region code from which the consumer will be paying. One of AT, BE, CH, CZ, DE, DK, ES, FI, FR, GB, GR, IE, IT, NL, NO, PL, PT, SE, US
The ISO 639-1 alpha-2 language code. Default value is en. Besides en, you can specify other local languages (see below) for some countries to render the payment page.
AT: de; BE: be, nl, fr; CH: it, de, fr; CZ: cs; DE: de; DK: da; ES: es; FI: fi, sv; FR: fr; GR: el; IT: it; NL: nl; NO: nb; PL: pl; PT: pt; SE: sv; US: es
Konbini information.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
LinkAja information.
Email address of the shopper.
The name of the shopper.
Maxima information.
The name of the shopper.
A set of key-value pairs that you can attach to the PaymentMethod. You can specify up to 50 keys with key names up to 50 characters long and values up to 500 characters long.
Multibanco information.
The name of the shopper.
MyBank information.
The name of the shopper.
Narvesen information.
The name of the shopper.
Online Banking information.
The name of the bank.
The 2-letter ISO country/region code from which the consumer will be paying.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
OVO information.
Email address of the shopper.
The name of the shopper.
P24 information.
Email address of the shopper.
The name of the shopper.
PayNow information.
The payment channel.
The name of the shopper.
Pay by Bank app information.
The name of the shopper.
PayEasy information.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
PayPal information.
The 2-letter ISO country/region code from which the consumer will be paying.
The name of the shopper.
Paypost information.
The name of the shopper.
paysafecard information.
The 2-letter ISO country/region code from which the consumer will be paying.
Email address of the shopper.
The name of the shopper.
Paysafecash information.
The 2-letter ISO country/region code from which the consumer will be paying.
Email address of the shopper.
The name of the shopper.
Paysera information.
The name of the bank.
The 2-letter ISO country/region code from which the consumer will be paying.
The name of the shopper.
Payto information
The account name.
4-9 digits number to identify a bank account in Australia.
6-digit Bank-State-Branch number.
The PayID of the recipient.
11 digits number to identify the PayId. Required when phone_number, owner_email, and organisation_id is null.
The organisation id of the recipient. The PayID must be in the format of payid:airwallex.com.
owner email to identify the PayId. Required when phone_number, australian_business_number, and organisation_id is null.
The phone number of the PayId. Required when owner_email, australian_business_number, and organisation_id is null.
PayU information.
The name of the shopper.
Perlas terminals information.
The name of the shopper.
PromptPay information.
The name of the shopper.
Rabbit LINE Pay information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Satispay information.
The 2-letter ISO country/region code from which the consumer will be paying.
The name of the shopper
SEPA Direct Debit information.
Account holder's address.
Country code of the address. Use the two-character ISO Standard Country Codes.
Postcode of the address.
street of the address.
town of the address.
Bank of the account. You can call API to retrieve the available bank names.
Indicate whether the account is a business account.
The 2-letter ISO country/region code from which the consumer will be paying.
15–34 characters to identify a bank account.
The result of micro debit.
The status of micro_debit.
The result of micro deposit.
The status of micro_deposit.
Email of the account holder.
Name of the account holder.
7-Eleven information.
Email address of the shopper.
The name of the shopper.
Phone number of the shopper.
Boost information.
Email address of the shopper
The name of the shopper.
Phone number of the shopper
Skrill information.
The 2-letter ISO country/region code from which the consumer will be paying. Applicable worldwide except for blacklisted countries. For the forbidden countries, please refer to Skrill Non-serviced Countries
Email address of the shopper.
The name of the shopper.
Status of the PaymentMethod. One of CREATED, DISABLED
Tabby information
The ISO 639-1 alpha-2 language code.
The email of the shopper.
The name of the shopper.
The phone of the shopper.
TNG information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Truemoney information.
One of qrcode, mobile_web, mobile_app
ios, android
Alipay's User LoginId (Shopper) for Payment Consent Verification
Unique identifier of a user in payment method provider side. Only present after the payment has been completed or the consent has been verified.
Trustly information.
The 2-letter ISO country/region code from which the consumer will be paying. One of DE, DK, EE, ES, FI, GB, LT, LV, NL, NO, PL, SE, SK.
Email address of the shopper.
The name of the shopper.
Type of the PaymentMethod. One of card, card_present, applepay, wechatpay, alipaycn, alipayhk, googlepay, gcash, dana, kakaopay, tng, truemoney, rabbit_line_pay, family_mart, hi_life, esun, boost, shopee_pay, fpx, bank_transfer, alfamart, doku_ewallet, grabpay, indomaret, konbini, online_banking, payeasy, seven_eleven, skrill, eps, bancontact, ideal, multibanco, p24, trustly, dragonpay, blik, mybank, paybybankapp, verkkopankki, maxima, narvesen, paypost, perlas_terminals, paysafecash, paysafecard, paysera, satispay, atome, duit_now, pay_now, prompt_pay, go_pay, jenius_pay, fps, ach_direct_debit, bacs_direct_debit, becs_direct_debit, klarna, sepa_direct_debit, korean_local_card, payco, samsung_pay, naver_pay, toss_pay, ovo, bitpay, linkaja, eft_direct_debit, zip, afterpay.
Last time at which the PaymentMethod was updated
Verkkopankki information.
The name of the bank.
Email address of the shopper.
The name of the shopper.
WeChat Pay information.
The payment channel.
The specific WechatPay flow to use. One of qrcode, official_account, mobile_app, mobile_web
Zip information.
The name of the shopper.
Options for PaymentMethod.
The PaymentMethod options for card.
Specifies whether the funds should be requested automatically after the payment is authorized. Default to true.
The unique transaction identifier for a Payment Attempt, assigned by the payment provider (card issuers or local payment method providers such as Google Pay, iDEAL, etc.).
The original response code from the payment method provider (or issuer for card)
Deprecated.
Use payment_method_transaction_id instead.
Refunded amount
Through which channel the merchant will get this payment settled. Possible values are airwallex, paypal, amex.
If airwallex is returned, this payment will be settled to merchant's Airwallex wallet, otherwise it will be settled externally.
- RECEIVED: The PaymentAttempt has been created upon request.
- AUTHENTICATION_REDIRECTED: The PaymentAttempt is waiting for further customer action of authentication, e.g. 3DS verification and QR code scan.
- PENDING_AUTHORIZATION: The PaymentAttempt authorization request has been accepted and is pending the final result from the provider.
- AUTHORIZED: The PaymentAttempt was successfully authorized. It will either be automatically captured or require a manual capture to finalize the payment. Please be aware that capturing the payment is not possible if the PaymentIntent status is PENDING_REVIEW.
- CAPTURE_REQUESTED: The PaymentAttempt has been successfully requested for capture. The payment is complete.
- EXPIRED: The PaymentAttempt expired after the allowed payment time. Please create a new PaymentAttempt to retry.
- CANCELLED: The PaymentAttempt has been cancelled. The previously authorized amount (if any) will be returned to the customer.
- FAILED: The PaymentAttempt has failed. Please create a new PaymentAttempt to retry.
- SETTLED: Airwallex has received the settlement from the provider. We will settle the funds in your wallet.
- PAID: Airwallex has settled the funds in your wallet.
Airwallex terminal unique identifier used to process the payment attempt.
Last time at which this PaymentAttempt was updated or operated on
| Error status | Description |
|---|---|
| 400 | Bad Request. Possible error codes: |
| 401 | Unauthorized. Possible error codes: |
| 403 | Forbidden |
| 404 | Not Found. Possible error codes: |
| 500 | Server Error. Possible error codes: |
$curl --request GET \> --url 'https://api-demo.airwallex.com/api/v1/pa/payment_attempts' \> --header 'Authorization: Bearer {{ACCESS_TOKEN}}' \> --header 'Content-Type: application/json'
1{2 "has_more": false,3 "items": [4 {5 "id": "att_hkpd12a3456hi7",6 "amount": 100,7 "currency": "USD",8 "payment_method": {9 "type": "card",10 "card": {11 "expiry_month": "03",12 "expiry_year": "2030",13 "name": "John Doe",14 "bin": "403550",15 "last4": "0008",16 "brand": "visa",17 "issuer_country_code": "US",18 "card_type": "CREDIT",19 "fingerprint": "AKvN4TqxI04SNFZ+oYRXaECtDA==",20 "billing": {21 "first_name": "John",22 "last_name": "Doe",23 "email": "[email protected]",24 "phone_number": "+1 1234567890",25 "address": {26 "country_code": "US",27 "state": "CA",28 "city": "San Francisco",29 "street": "1460 Mission St.#02W101",30 "postcode": "94103"31 }32 },33 "issuer_name": "JPMorgan Chase",34 "is_commercial": false,35 "number_type": "PAN"36 }37 },38 "merchant_order_id": "D202503210001",39 "payment_intent_id": "int_hkpdskz7vg1xc7uscdj",40 "status": "CAPTURE_REQUESTED",41 "payment_method_transaction_id": "1234567890",42 "acquirer_reference_number": "1234567890",43 "provider_original_response_code": "00",44 "authorization_code": "123456",45 "captured_amount": 100,46 "refunded_amount": 0,47 "created_at": "2023-10-01T12:00:00+00:00",48 "updated_at": "2023-10-01T12:00:00+00:00",49 "settle_via": "airwallex",50 "authentication_data": {51 "ds_data": {}52 }53 }54 ]55}