# `Stripe.Resources.Billing.Meter.CustomerMapping`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/billing/meter.ex#L64)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.Billing.Meter.CustomerMapping{
  event_payload_key: String.t() | nil,
  type: String.t() | nil
}
```

* `event_payload_key` - The key in the meter event payload to use for mapping the event to a customer. Max length: 5000.
* `type` - The method for mapping a meter event to a customer. Possible values: `by_id`.

---

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