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

GET /v1/payment-method-setup-sessions/{paymentMethodSetupSessionId}

GET/v1/payment-method-setup-sessions/{paymentMethodSetupSessionId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
paymentMethodSetupSessionIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
merchantAccountIdstringrequired
min length 1
ownerTypestringrequired
Allowed:customermerchant
ownerIdstringrequired
min length 1
methodTypestringrequired
min length 1
providerstringrequired
min length 1
statusstringrequired
min length 1
setAsDefaultbooleanrequired
expiresAtstringrequired
min length 1
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
attachedPaymentMethodIdstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/payment-method-setup-sessions/:paymentMethodSetupSessionId?environment=...&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "id": "string",
    "environment": "sandbox",
    "merchantAccountId": "string",
    "ownerType": "customer",
    "ownerId": "string",
    "methodType": "string",
    "provider": "string",
    "status": "string",
    "setAsDefault": true,
    "expiresAt": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "attachedPaymentMethodId": "string"
  },
  "requestId": "string"
}