# `PhoenixKitBilling.Providers.Types.ChargeResult`
[🔗](https://github.com/BeamLabEU/phoenix_kit_billing/blob/0.5.1/lib/phoenix_kit_billing/providers/types/charge_result.ex#L1)

Struct returned by `Provider.charge_payment_method/3`.

## Fields

- `id` - Provider-specific charge/payment identifier
- `provider_transaction_id` - Provider's transaction ID for tracking
- `amount` - Charged amount as Decimal
- `currency` - Currency code (e.g., `"EUR"`, `"USD"`)
- `status` - Charge status (e.g., `"succeeded"`)
- `metadata` - Provider-specific metadata

# `t`

```elixir
@type t() :: %PhoenixKitBilling.Providers.Types.ChargeResult{
  amount: Decimal.t() | nil,
  currency: String.t() | nil,
  id: String.t(),
  metadata: map(),
  provider_transaction_id: String.t() | nil,
  status: String.t()
}
```

---

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