# `Stripe.Resources.Issuing.Authorization.RequestHistory`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/issuing/authorization.ex#L408)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.Issuing.Authorization.RequestHistory{
  amount: integer() | nil,
  amount_details:
    Stripe.Resources.Issuing.Authorization.RequestHistory.AmountDetails.t()
    | nil,
  approved: boolean() | nil,
  authorization_code: String.t() | nil,
  created: integer() | nil,
  currency: String.t() | nil,
  merchant_amount: integer() | nil,
  merchant_currency: String.t() | nil,
  network_risk_score: integer() | nil,
  reason: String.t() | nil,
  reason_message: String.t() | nil,
  requested_at: integer() | nil
}
```

* `amount` - The `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved.
* `amount_details` - Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Nullable.
* `approved` - Whether this request was approved.
* `authorization_code` - A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter "S", followed by a six-digit number. For example, "S498162". Please note that the code is not guaranteed to be unique across authorizations. Max length: 5000. Nullable.
* `created` - Time at which the object was created. Measured in seconds since the Unix epoch. Format: Unix timestamp.
* `currency` - Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Max length: 5000.
* `merchant_amount` - The `pending_request.merchant_amount` at the time of the request, presented in the `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
* `merchant_currency` - The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Max length: 5000.
* `network_risk_score` - The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99. Nullable.
* `reason` - When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome. Possible values: `account_disabled`, `card_active`, `card_canceled`, `card_expired`, `card_inactive`, `cardholder_blocked`, `cardholder_inactive`, `cardholder_verification_required`, `insecure_authorization_method`, `insufficient_funds`, `network_fallback`, `not_allowed`, `pin_blocked`, `spending_controls`, `suspected_fraud`, `verification_failed`, `webhook_approved`, `webhook_declined`, `webhook_error`, `webhook_timeout`.
* `reason_message` - If the `request_history.reason` is `webhook_error` because the direct webhook response is invalid (for example, parsing errors or missing parameters), we surface a more detailed error message via this field. Max length: 5000. Nullable.
* `requested_at` - Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time. Format: Unix timestamp. Nullable.

---

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