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/{paymentMethodId}

GET/v1/merchant-accounts/{merchantAccountId}/customers/{customerId}/payment-methods/{paymentMethodId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
merchantAccountIdstringrequired
min length 1
customerIdstringrequired
min length 1
paymentMethodIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
Responses
200

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
ownerTypestringrequired
Allowed:customermerchant
ownerIdstringrequired
min length 1
methodTypestringrequired
min length 1
statusstringrequired
Allowed:activepending_verificationdisabledarchived
isDefaultbooleanrequired
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
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/merchant-accounts/:merchantAccountId/customers/:customerId/payment-methods/:paymentMethodId?environment=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "id": "string",
    "ownerType": "customer",
    "ownerId": "string",
    "methodType": "string",
    "status": "active",
    "isDefault": true,
    "brandSummary": "string",
    "last4": "string",
    "expiryMonth": 0,
    "expiryYear": 0
  },
  "requestId": "string"
}