<!-- ZenPays documentation · https://docs.zenpayz.com/docs/reference/objects/stored-payment-method -->

# The StoredPaymentMethod object

The `StoredPaymentMethod` object.

:::note
11 of 11 fields on this object have no description yet. Field documentation lives in the SDK types (`types/subscription.ts`) so it stays in one place — this page is generated from it.
:::

## Fields

<ParamTable
  label="Field"
  rows={[
    { name: "storedPaymentMethodId", type: "string", required: true },
    { name: "merchantId", type: "string", required: true },
    { name: "customerId", type: "string", required: true },
    { name: "customerEmail", type: "string", required: true },
    { name: "tspProvider", type: "string", required: true },
    { name: "type", type: "string", required: true },
    { name: "brand", type: "string", required: false },
    { name: "expiryMonth", type: "number", required: false },
    { name: "expiryYear", type: "number", required: false },
    { name: "isActive", type: "boolean", required: true },
    { name: "metadata", type: "Record<string, unknown>", required: false },
  ]}
/>

## Example

```json
{
  "storedPaymentMethodId": "storedpaymentmethod_1a2b3c",
  "merchantId": "merchant_1a2b3c",
  "customerId": "customer_1a2b3c",
  "customerEmail": "customer@example.com",
  "tspProvider": "string",
  "type": "string",
  "brand": "string",
  "expiryMonth": 1,
  "isActive": false
}
```
