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/merchant-accounts/{merchantAccountId}/platform-fee

PUT/v1/merchant-accounts/{merchantAccountId}/platform-fee
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
merchantAccountIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
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
platformBasisPointsnumber | null
Show properties
Any of:
number
number
null
null
platformFixedFeenumber | null
Show properties
Any of:
number
number
null
null
confirmProductionboolean | null
Show properties
Any of:
boolean
boolean
null
null
idempotencyKeystring | null
Show properties
Any of:
string
string
null
null
Responses
200

Success

dataobjectrequired
Show properties
platformMerchantAccountIdstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
platformBasisPointsnumber | null
Show properties
Any of:
number
number
null
null
platformFixedFeenumber | null
Show properties
Any of:
number
number
null
null
updatesobject[]required
Show properties
Array of object
ratePlanIdstringrequired
min length 1
newRatePlanIdstringrequired
min length 1
versionnumberrequired
reassignedMerchantCountnumberrequired
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/merchant-accounts/:merchantAccountId/platform-fee?environment=..." \
  -X PUT \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "platformMerchantAccountId": "string",
    "environment": "sandbox",
    "platformBasisPoints": 0,
    "platformFixedFee": 0,
    "updates": [
      {
        "ratePlanId": "string",
        "newRatePlanId": "string",
        "version": 0,
        "reassignedMerchantCount": 0
      }
    ]
  },
  "requestId": "string"
}