---
search:
  tags:
    - paymentMethods
    - GET
seo:
  description: >-
    Reference for the GET
    /v1/merchant-accounts/{merchantAccountId}/customers/{customerId}/payment-state
    endpoint in the Vortex Payments API.
sidebar:
  label: >-
    GET
    /v1/merchant-accounts/{merchantAccountId}/customers/{customerId}/payment-state
  badge: GET
title: >-
  GET
  /v1/merchant-accounts/{merchantAccountId}/customers/{customerId}/payment-state
type: openapi-operation
---
`GET /v1/merchant-accounts/{merchantAccountId}/customers/{customerId}/payment-state`

**curl**

```bash
curl "https://api.vortex.nyc/v1/merchant-accounts/:merchantAccountId/customers/:customerId/payment-state?environment=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
```

**TypeScript**

```ts
import { getMerchantCustomerPaymentState, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await getMerchantCustomerPaymentState({
  client: vortex,
  path: { merchantAccountId: "...", customerId: "..." },
  query: { environment: "..." },
});
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "customerProfileId": "string",
    "merchantAccountId": "string",
    "environment": "sandbox",
    "defaultPaymentMethodId": "string",
    "activePaymentMethodIds": [
      "string"
    ],
    "requiresActionPaymentIntentIds": [
      "string"
    ],
    "latestPaymentIntentStatus": "string",
    "readiness": "ready",
    "generatedAt": "string",
    "readinessReasons": [
      "string"
    ],
    "paymentMethods": [
      {
        "id": "string",
        "ownerType": "customer",
        "ownerId": "string",
        "methodType": "string",
        "status": "active",
        "isDefault": true,
        "brandSummary": "string",
        "last4": "string",
        "expiryMonth": 0,
        "expiryYear": 0
      }
    ],
    "defaultPaymentMethod": {
      "id": "string",
      "ownerType": "customer",
      "ownerId": "string",
      "methodType": "string",
      "status": "active",
      "isDefault": true,
      "brandSummary": "string",
      "last4": "string",
      "expiryMonth": 0,
      "expiryYear": 0
    },
    "requiresActionPaymentIntentCount": 0
  },
  "requestId": "string"
}
```
