# The Payment Attempt Record object

### The Payment Attempt Record object

```json
{
  "id": "par_4sdDKj23235s",
  "object": "payment_attempt_record",
  "amount_authorized": {
    "currency": "usd",
    "value": 1000
  },
  "amount_canceled": {
    "currency": "usd",
    "value": 0
  },
  "amount_failed": {
    "currency": "usd",
    "value": 0
  },
  "amount_guaranteed": {
    "currency": "usd",
    "value": 0
  },
  "amount_refunded": {
    "currency": "usd",
    "value": 0
  },
  "amount_requested": {
    "currency": "usd",
    "value": 1000
  },
  "created": 1730211363,
  "customer_details": null,
  "customer_presence": "on_session",
  "description": "computer software",
  "livemode": true,
  "metadata": {},
  "payment_method_details": {
    "billing_details": null,
    "custom": {
      "display_name": "newpay",
      "type": "custom"
    },
    "payment_method": null,
    "type": "custom"
  },
  "payment_record": "pr_5RV730PrHyAEi",
  "processor_details": {
    "type": "custom",
    "custom": {
      "payment_reference": "npp2358872734k"
    }
  },
  "shipping_details": null
}
```

## Attributes

- `id` (string)
  Unique identifier for the object.

- `object` (string)
  String representing the object’s type. Objects of the same type share the same value.

- [`amount`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=amount) (object)
  The amount you intend to collect for this payment.

- [`amount_authorized`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=amount_authorized) (object)
  The portion of the requested amount that has been authorized to be guaranteed by the payment provider.

- [`amount_canceled`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=amount_canceled) (object)
  The portion of the requested amount that has been canceled by the user, or that you no longer intend to collect.

- [`amount_failed`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=amount_failed) (object)
  The portion of the requested amount that failed to be collected.

- [`amount_guaranteed`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=amount_guaranteed) (object)
  The portion of the requested amount that has been guaranteed by the payment provider.

- [`amount_refunded`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=amount_refunded) (object)
  The amount that has been refunded to the customer on this payment.

- [`amount_requested`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=amount_requested) (object)
  The amount you initially requested for this payment.

- `application` (string, nullable)
  ID of the Connect application that created the PaymentAttemptRecord.

- `created` (timestamp)
  Time at which the object was created. Measured in seconds since the Unix epoch.

- [`customer_details`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=customer_details) (object, nullable)
  Customer information for this payment.

- `customer_presence` (enum, nullable)
  Indicates whether the customer was present in your checkout flow during this payment.
Possible enum values:
  - `off_session`
    The customer was not present during the transaction.

  - `on_session`
    The customer was present during the transaction.

- `description` (string, nullable)
  An arbitrary string attached to the object. Often useful for displaying to users.

- `livemode` (boolean)
  If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.

- `metadata` (map)
  Set of [key-value pairs](https://docs.stripe.com/docs/api/metadata.md) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

- [`payment_method_details`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=payment_method_details) (object, nullable)
  Information about the Payment Method debited for this payment.

- `payment_record` (string, nullable)
  ID of the Payment Record this Payment Attempt Record belongs to.

- [`processor_details`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=processor_details) (object)
  Processor information for this payment.

- `reported_by` (enum)
  Indicates who reported the payment.
Possible enum values:
  - `self`
    The payment was reported by self.

  - `stripe`
    The payment was reported by Stripe.

- [`shipping_details`](https://docs.stripe.com/api/payment-attempt-record/object.md?query=shipping_details) (object, nullable)
  Shipping information for this payment.
