# `Stripe.Resources.PaymentIntent.PaymentDetails`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/payment_intent.ex#L477)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.PaymentIntent.PaymentDetails{
  customer_reference: String.t() | nil,
  order_reference: String.t() | nil
}
```

* `customer_reference` - A unique value to identify the customer. This field is available only for card payments.

This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. Max length: 5000. Nullable.
* `order_reference` - A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.

For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app. Max length: 5000. Nullable.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
