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/merchant-accounts/{merchantAccountId}/customers/{customerId}/payment-methods

GET/v1/merchant-accounts/{merchantAccountId}/customers/{customerId}/payment-methods
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
merchantAccountIdstringrequired
min length 1
customerIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
limitstring
matches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
cursorstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
itemsobject[]required
Show properties
Array of object
paymentMethodIdstringrequired
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
isDefaultbooleanrequired
hasMorebooleanrequired
nextCursorstring | 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/merchant-accounts/:merchantAccountId/customers/:customerId/payment-methods?environment=...&limit=...&cursor=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "paymentMethodId": "string",
        "methodType": "string",
        "brandSummary": "string",
        "last4": "string",
        "expiryMonth": 0,
        "expiryYear": 0,
        "isDefault": true
      }
    ],
    "hasMore": true,
    "nextCursor": "string"
  },
  "requestId": "string"
}