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

Hosted card-update door — begin mints the elements setup session, confirm defaults the attached method and consumes the link

POST/update-payment-method/{tail}
Path parameters
tailstringrequired
Request body
requiredapplication/json
any
Responses
200

Success

any
201

Created

any
400

Hosted door error

errorstringrequired
404

Hosted door error

errorstringrequired
409

Hosted door error

errorstringrequired
429

API key rate limit exceeded

errorobjectrequired
Show properties
codestringrequired
Allowed:bad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_error
messagestringrequired
typestring
Allowed:api_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_error
paramstring

The request field that failed validation (dot path), when the error is field-attributable.

requestIdstring
docsUrlstring

Deep link to the errors guide section for this code.

detailsobject
default

Hosted door error

errorstringrequired
Try it
Server
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/update-payment-method/{tail}" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"action":"begin"}'
Response
Success