---
title: "GET /api/customers/{id}/payment-methods"
method: GET
path: "/api/customers/{id}/payment-methods"
tags: ["api", "customer-payment-methods"]
---

# GET /api/customers/{id}/payment-methods

`GET /api/customers/{id}/payment-methods`

Get payment methods for customer

## Path parameters

- `id` string, required — ID of the customer

## Query parameters

- `channel` string — Channel the methods are used for
- `primary` boolean — Whether the payment method is primary or not
- `active` boolean — Whether the payment method is active or not
- `gatewayId` string — The ID of the payment gateway or additional payment method which the payment method belongs to
- `paymentGatewayChannels` string[] — The allowed payment gateway channels
- `status` string[]

## Response `200`

OK

- CustomerPaymentMethodResource[]
  - `_id` string, required — The ID of the payment method
  - `status` 'ACTIVE' | 'DELETED' | 'EXPIRED', required — The status of the payment method
  - `sellerId` string, required — The ID of the seller this payment method
  - `data` object — Whether the payment method is primary
  - `paymentDetails` object — Whether the payment method is primary
  - `primary` boolean, required — Whether the payment method is primary
  - `active` boolean, required — Whether the payment method is primary
  - `gatewayType` 'stripe' | 'paypal' | 'adyen' | 'custom' | 'cardconnect' | 'worldline' | 'shift4' | 'authorizenet' | 'wallee' | 'square' | 'payfast' | 'touchnet' | 'transact' | 'unzer' | 'monext' | 'vivenuPayments' | 'ebanx' | 'rapyd' | 'momentusPayments' | 'additional-payment-method' — The type of the payment gateway associated to this method
  - `gatewayId` string, required — The ID of the attached payment gateway or additional payment method
  - `channels` union[] — The type of the customer payment method
    - union
      - boolean
      - number
      - object
      - string
      - boolean
      - number
      - object
      - string
  - `createdAt` string, date-time — The created ISO timestamp
  - `updatedAt` string, date-time — The last updated ISO timestamp

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
