# Get list of payment methods for customer

Get list of payment methods for customer

Endpoint: GET /customers/{id}/paymentMethods
Version: 2.6.0
Security: bearer, basic, apiKey

## Security:

  - `bearer` (unknown)
    http bearer JWT

  - `basic` (unknown)
    http basic

  - `apiKey` (unknown)
    apiKey in header X-API-Key

## Path parameters:

  - `id` (string, required)
    Customer Id

## Response 200:

  - `200` (unknown)
    Payment methods successfully retrieved

## Response 200 fields (application/json):

  - `gatewayCustomerId` (string)

  - `data` (array)

  - `data.id` (string)
    Unique ID assigned by Paygate for the payment method record.

  - `data.type` (string)
    Determines type of payment method. CARD, SEPA_DD. For now only CARD is in scope.

  - `data.last4Digits` (string)

  - `data.pseudoCardNumber` (string)

  - `data.cardHolderName` (string)

  - `data.brand` (string)

  - `data.expiryDate` (string)

  - `data.createdAt` (any)
    Creation date and time in ISO 8601 format.

  - `data.updatedAt` (any)
    Update date and time in ISO 8601 format.

  - `data.lastUsedAt` (any)
    Last used date and time in ISO 8601 format.

## Response 400:

  - `400` (unknown)
    Invalid Customer Id supplied

## Response 400 fields (application/json):

  - `errors` (object)
    "Object": [
"Error 1",
"Error 2"
]
}`

  - `type` (string)
    A URI reference that identifies the problem type

  - `title` (string)
    A short, human-readable summary of the problem type

  - `status` (string)
    The HTTP status code

  - `detail` (string)

  - `instance` (string)

## Response 404:

  - `404` (unknown)
    Customer Details not found

## Response 404 fields (application/json):

  - `type` (string)

  - `title` (string)

  - `status` (string)

  - `detail` (string)

  - `instance` (string)

## Response 500:

  - `500` (unknown)
    Internal Server Error

## Response 500 fields (application/json):

  - `type` (string)

  - `title` (string)

  - `status` (string)

  - `detail` (string)

  - `instance` (string)

## Response 200 examples:

  - `Default` (unknown)

