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

PUT /v1/payment-methods/{paymentMethodId}

PUT/v1/payment-methods/{paymentMethodId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
paymentMethodIdstringrequired
min length 1
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
idstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
ownerTypestringrequired
Allowed:customermerchant
ownerIdstringrequired
min length 1
methodTypestringrequired
min length 1
brandSummarystring | null
Show properties
Any of:
string
string
null
null
last4string | null
Show properties
Any of:
string
string
null
null
expiryMonthnumber | null
Show properties
Any of:
number
number
null
null
expiryYearnumber | null
Show properties
Any of:
number
number
null
null
statusstringrequired
Allowed:activepending_verificationdisabledarchived
isDefaultbooleanrequired
fingerprintstring | null
Show properties
Any of:
string
string
null
null
networkTokenEnabledboolean | null
Show properties
Any of:
boolean
boolean
null
null
networkTokenStatestring | null
Show properties
Any of:
string
string
null
null
processorInstrumentRefsobject[]required
Show properties
Array of object
providerstringrequired
min length 1
objectTypestringrequired
min length 1
objectIdstringrequired
min length 1
relationshipstringrequired
min length 1
recordedAtstringrequired
min length 1
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
archivedAtstring | null
Show properties
Any of:
string
string
null
null
Responses
200

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/payment-methods/:paymentMethodId" \
  -X PUT \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "id": "string",
    "environment": "sandbox"
  },
  "requestId": "string"
}

Was this page helpful?