> ## Documentation Index
> Fetch the complete documentation index at: https://developer.tazapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment Attempt

A payment attempt is an attempt by your customer to make a payment using a particular <a href="/api-reference/tazapay-api/payin" target="_blank"> payment method</a>. The payment attempt contains the customer specific information for a payment. For example, in case of a card payment, it is cardholder name, issuing bank, issuing country, etc.

Each checkout session can have multiple payment attempts. In case the previous payment attempt fails, the customer can go ahead using the same or a different payment method.

```Text payment_attempt theme={null}
{
  "id": "pat_ahfafooi7ibakbfahoan",
  "object": "payment_attempt",
  "payin": "pay_bfiuafuiafianifnao",
  "created_at": "2023-08-31 16:58:59",
  "charge_currency": "INR",
  "amount": 123450,
  "payment_method_details": {
    "type": "card",
    "card": {
      "scheme": "visa",
      "checks": {
        "address_line1_check": "unavailable",
        "address_postal_code_check": "unavailable",
        "cvc_check": "pass"
      },
      "issuing_country": "IN",
      "expiry": {
        "month": "05",
        "year": "2028"
      },
      "funding": "credit",
      "last4": "3131",
      "first6": "459115",
      "issuer": "Axis Bank of India",
      "cardholder_name": "John Doe",
      "three_d_secure": {
        "authentication_flow": "challenge",
        "result": "authenticated",
        "result_reason": "successfully_authenticated",
        "version": "2.2.0"
      }
    }
  },
  "refunded": false,
  "status": "succeeded",
  "status_description": null,
  "final_currency": "USD",
  "fx_transaction": {
    "initial": {
      "currency": "INR",
      "amount": 123450
    },
    "final": {
      "currency": "USD",
      "amount": 148735
    },
    "exchange_rate": 83
  },
  "metadata": null
}
```

## Payment Attempt States

The following flowchart details the possible statuses for a payment attempt:

<Image align="center" border={true} src="https://files.readme.io/ddd809b-image.png" className="border" />

| Name             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| requires\_action | The customer has not made the payment and further action is required from the customer                                                                                                                                                                                                                                                                                                                                                                                    |
| processing       | The customer has performed all the actions but Tazapay is yet to receive the payment. It is very rare that a payment attempt using a particular payment method stays in this state unless the payment method chosen is not an instant one. For example, a payment attempt stays in the processing state when the payment method chosen is local bank transfer / wire transfer. Offline payments take some time for the intermediary banking institutions to process them. |
| succeeded        | The payment attempt is successful                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| failed           | The payment attempt has failed                                                                                                                                                                                                                                                                                                                                                                                                                                            |
