---
search:
  tags:
    - paymentMethods
    - PUT
seo:
  description: >-
    Reference for the PUT /v1/payment-methods/{paymentMethodId} endpoint in the
    Vortex Payments API.
sidebar:
  label: PUT /v1/payment-methods/{paymentMethodId}
  badge: PUT
title: PUT /v1/payment-methods/{paymentMethodId}
type: openapi-operation
---
`PUT /v1/payment-methods/{paymentMethodId}`

**curl**

```bash
curl "https://api.vortex.nyc/v1/payment-methods/:paymentMethodId" \
  -X PUT \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
```

**TypeScript**

```ts
import { savePaymentMethod, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await savePaymentMethod({
  client: vortex,
  path: { paymentMethodId: "..." },
  body: {...},
});
```

**Request body** (`application/json`, required)

- `id` (string, required)
- `environment` (string, required)
- `merchantAccountId` (string | null)
- `ownerType` (string, required)
- `ownerId` (string, required)
- `methodType` (string, required)
- `brandSummary` (string | null)
- `last4` (string | null)
- `expiryMonth` (number | null)
- `expiryYear` (number | null)
- `status` (string, required)
- `isDefault` (boolean, required)
- `fingerprint` (string | null)
- `networkTokenEnabled` (boolean | null)
- `networkTokenState` (string | null)
- `processorInstrumentRefs` (object[], required)
- `createdAt` (string, required)
- `updatedAt` (string, required)
- `archivedAt` (string | null)

Request body example:

```json
{
  "id": "string",
  "environment": "sandbox",
  "merchantAccountId": "string",
  "ownerType": "customer",
  "ownerId": "string",
  "methodType": "string",
  "brandSummary": "string",
  "last4": "string",
  "expiryMonth": 0,
  "expiryYear": 0,
  "status": "active",
  "isDefault": true,
  "fingerprint": "string",
  "networkTokenEnabled": true,
  "networkTokenState": "string",
  "processorInstrumentRefs": [
    {
      "provider": "string",
      "objectType": "string",
      "objectId": "string",
      "relationship": "string",
      "recordedAt": "string"
    }
  ],
  "createdAt": "string",
  "updatedAt": "string",
  "archivedAt": "string"
}
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "id": "string",
    "environment": "sandbox"
  },
  "requestId": "string"
}
```
