Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

POST /v1/platform-customers/payment-methods

POST/v1/platform-customers/payment-methods
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Header parameters
Idempotency-Keystring

Required for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.

min length 1
Request body
requiredapplication/json
environmentstringrequired
Allowed:sandboxproduction
platformMerchantAccountIdstringrequired
min length 1
externalCustomerIdstringrequired
min length 1
methodTypestringrequired
Allowed:cardachbank_account
providerInstrumentRefobjectrequired
Show properties
providerstringrequired
min length 1
objectTypestringrequired
min length 1
objectIdstringrequired
min length 1
relationshipstringrequired
min length 1
recordedAtstringrequired
min length 1
consentTextstring | null
Show properties
Any of:
string
string
null
null
consentTextVersionstring | null
Show properties
Any of:
string
string
null
null
last4string | null
Show properties
Any of:
string
string
null
null
brandstring | null
Show properties
Any of:
string
string
null
null
expMonthnumber | null
Show properties
Any of:
number
number
null
null
expYearnumber | null
Show properties
Any of:
number
number
null
null
Responses
201

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
platformCustomerProfileIdstringrequired
min length 1
methodTypestringrequired
min length 1
last4string | null
Show properties
Any of:
string
string
null
null
brandstring | null
Show properties
Any of:
string
string
null
null
expMonthnumber | null
Show properties
Any of:
number
number
null
null
expYearnumber | null
Show properties
Any of:
number
number
null
null
statusstringrequired
min length 1
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/platform-customers/payment-methods" \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "id": "string",
    "platformCustomerProfileId": "string",
    "methodType": "string",
    "last4": "string",
    "brand": "string",
    "expMonth": 0,
    "expYear": 0,
    "status": "string"
  },
  "requestId": "string"
}