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

**curl**

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

**TypeScript**

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

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

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

- `environment` (string, required)
- `platformMerchantAccountId` (string, required)
- `externalCustomerId` (string, required)
- `methodType` (string, required)
- `providerInstrumentRef` (object, required)
- `consentText` (string | null)
- `consentTextVersion` (string | null)
- `last4` (string | null)
- `brand` (string | null)
- `expMonth` (number | null)
- `expYear` (number | null)

Request body example:

```json
{
  "environment": "sandbox",
  "platformMerchantAccountId": "string",
  "externalCustomerId": "string",
  "methodType": "card",
  "providerInstrumentRef": {
    "provider": "string",
    "objectType": "string",
    "objectId": "string",
    "relationship": "string",
    "recordedAt": "string"
  },
  "consentText": "string",
  "consentTextVersion": "string",
  "last4": "string",
  "brand": "string",
  "expMonth": 0,
  "expYear": 0
}
```

**Responses**

- `201` — Success

Response example, 201:

```json
{
  "data": {
    "id": "string",
    "platformCustomerProfileId": "string",
    "methodType": "string",
    "last4": "string",
    "brand": "string",
    "expMonth": 0,
    "expYear": 0,
    "status": "string"
  },
  "requestId": "string"
}
```
