# customer.payment\_methods.updated

## `customer.payment_methods.updated`

#### Payload Structure

```js
{
  "payload": {
    "customerId": "23076025210636",
    "merchantId": "inveterate",
    "createdAt": "2025-06-16T01:13:06.342Z",
    "updatedAt": "2025-06-16T01:13:06.342Z",
    "customer": {
      "id": "23076025210636",
      "email": "inveterate@inveterate.com"
    },
    "detail": {
      "paymentMethodId": "gid://shopify/CustomerPaymentMethod/47d624851460af123479714ff98ff616",
      "paymentMethodType": "CustomerCreditCard"
    }
  },
  "metadata": {
    "id": "213c98aa-f4bd-90b4-aebe-9b1501fdd0c3",
    "retryCount": 0,
    "shopDomain": "inveterate.myshopify.com",
    "topic": "customer.payment_methods.updated",
    "version": "2025-06",
    "triggerredAt": "2025-06-16T01:13:06.358Z"
  }
}
```

#### Payload Fields

**payload**

* `customerId` (string): Customer identifier
* `merchantId` (string): Merchant identifier
* `createdAt` (string): ISO timestamp when the event was created
* `updatedAt` (string): ISO timestamp when the event was last updated
* `customer` (object): Customer information
  * `id` (string): Customer identifier
  * `email` (string): Customer's email address
* `detail` (object): Payment method details
  * `paymentMethodId` (string): Unique identifier for the payment method
  * `paymentMethodType` (string): Type of payment method (e.g., "CustomerCreditCard")

**metadata**

* `id` (string): Unique event identifier
* `retryCount` (number): Number of retry attempts for this event
* `shopDomain` (string): Shopify domain of the merchant
* `topic` (string): Event topic name
* `version` (string): API version
* `triggerredAt` (string): ISO timestamp when the event was triggered
