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

# Authorized

> This event is triggered when a payment intent is successfully authorized and is ready to be captured.

<ResponseExample>
  ```json theme={null}
  {
    "eventId": "whe_fooD944t4VUKkaDT",
    "eventType": "intent.authorized",
    "eventTime": 1729608043615,
    "intentId": "in_fooBOwYsaK50AEfK",
    "receiptId": "recp_123311",
    "status": "AUTHORIZED",
    "amount": 5000,
    "currency": "USD",
    "paymentMethod": "CARD",
    "customerDetails": {
      "name": "John Doe",
      "email": "john@doe.com",
      "contactNumber": "+919123456789",
      "customerAddress": {
        "addressLine1": "123 Main St",
        "addressLine2": "Apt 1",
        "city": "New York",
        "state": "NY",
        "country": "US",
        "postalCode": "10001"
      }
    },
    "paymentMetadata": {
      "paymentMethod": "CARD",
      "cardMetadata": {
        "brand": "visa",
        "country": "US",
        "lastFourDigit": "4242",
        "expiryMonth": 4,
        "expiryYear": 2044,
        "cardType": "CREDIT"
      }
    },
    "metadata": {
      "orderId": "12345",
      "customerNote": "Deliver after 5 PM"
    }
  }
  ```
</ResponseExample>

<ResponseField name="eventId" type="string">
  A unique identifier for this event.
</ResponseField>

<ResponseField name="eventType" type="string">
  The type of event. For this event, the value is `intent.authorized`.
</ResponseField>

<ResponseField name="eventTime" type="integer">
  The time at which the event was generated, expressed as milliseconds since
  the Unix epoch.
</ResponseField>

<ResponseField name="intentId" type="string">
  The unique identifier of the authorized payment intent.
</ResponseField>

<ResponseField name="receiptId" type="string">
  Your identifier for the order.
</ResponseField>

<ResponseField name="status" type="string">
  The current status of the payment intent. For this event, the value is
  `AUTHORIZED`.
</ResponseField>

<ResponseField name="amount" type="integer">
  The authorized amount in the smallest unit of the currency. For example,
  `5000` represents 50.00 USD.
</ResponseField>

<ResponseField name="currency" type="string">
  The currency of the authorized amount.
</ResponseField>

<ResponseField name="paymentMethod" type="string">
  The payment method used for the transaction. See [supported payment
  methods](/get-started/payment-methods-supported#payment-method-enums).
</ResponseField>

<ResponseField name="customerDetails" type="object">
  Information about the customer, including their name, email address, contact
  number, and billing address.
</ResponseField>

<ResponseField name="paymentMetadata" type="object">
  Metadata for the payment method used to authorize the transaction. For card
  payments, this can include the card brand, issuing country, last four digits,
  expiry date, and card type.
</ResponseField>

<ResponseField name="metadata" type="object">
  The custom key-value pairs provided when the payment intent was created.
</ResponseField>
