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

PATCH /v1/merchant-accounts/{merchantAccountId}/customers/{customerId}

PATCH/v1/merchant-accounts/{merchantAccountId}/customers/{customerId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
merchantAccountIdstringrequired
min length 1
customerIdstringrequired
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
environmentstring | null
Show properties
Any of:
string
string
null
null
namestring | null
Show properties
Any of:
string
string
null
null
emailstring | null
Show properties
Any of:
string
string
null
null
phonestring | null
Show properties
Any of:
string
string
null
null
metadataobject | null
Show properties
Any of:
object
object
null
null
Responses
200

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
merchantAccountIdstringrequired
min length 1
externalCustomerIdstring | null
Show properties
Any of:
string
string
null
null
namestring | null
Show properties
Any of:
string
string
null
null
emailstring | null
Show properties
Any of:
string
string
null
null
phonestring | null
Show properties
Any of:
string
string
null
null
metadataobject | null
Show properties
Any of:
object
object
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/merchant-accounts/:merchantAccountId/customers/:customerId" \
  -X PATCH \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "id": "string",
    "environment": "sandbox",
    "merchantAccountId": "string",
    "externalCustomerId": "string",
    "name": "string",
    "email": "string",
    "phone": "string",
    "metadata": {
      "property1": "string",
      "property2": "string"
    }
  },
  "requestId": "string"
}