---
title: "Get the shopper payment option"
method: GET
path: "/v1/shoppers/me/payment-options/{paymentOptionId}"
tags: ["Payment-Options"]
---

# Get the shopper payment option

`GET /v1/shoppers/me/payment-options/{paymentOptionId}`

Get a payment option by the ID specified in the URI path parameter.

## Path parameters

- `paymentOptionId` string, required

## Query parameters

- `token` string
- `expand` string
- `fields` string

## Response `200`

Successful response.

- union
  - PaymentOptionsIDResponsePaymentSource
    - `paymentOption` PaymentOptionsIDPaymentSource
      - `sourceId` string — A unique identifier for the payment source.
      - `sourceClientSecret` string — The unique client secret for the payment source.
      - `uri` string
      - `id` number
      - `nickName` string
      - `isDefault` string
      - `type` string
      - `creditCard` object
        - `expirationMonth` string — One to two digits representing the expiration month.
        - `expirationYear` string — Four digits representing the expiration year.
        - `brand` string — The card brand (e.g. Visa, MasterCard, American Express, etc.).
        - `lastFourDigits` string — The last four digits of the card number. (e.g. 1111)
  - PaymentOptionsIDResponsePaymentSourceExpand
    - `paymentOption` PaymentOptionsIDPaymentSource
      - `sourceId` string — A unique identifier for the payment source.
      - `sourceClientSecret` string — The unique client secret for the payment source.
      - `uri` string
      - `id` number
      - `nickName` string
      - `isDefault` string
      - `type` string
      - `creditCard` object
        - `expirationMonth` string — One to two digits representing the expiration month.
        - `expirationYear` string — Four digits representing the expiration year.
        - `brand` string — The card brand (e.g. Visa, MasterCard, American Express, etc.).
        - `lastFourDigits` string — The last four digits of the card number. (e.g. 1111)
  - PaymentOptionsIDResponseLegacy
    - `paymentOption` object
      - `uri` string
      - `id` number
      - `nickName` string
      - `isDefault` string
      - `type` string
      - `creditCard` object
        - `expirationMonth` integer — One to two digits representing the expiration month.
        - `expirationYear` integer — Four digits representing the expiration year.
        - `displayableNumber` string — The card number, only display the last four digits. (e.g. ************1111)
        - `type` string — The type of the payment. The payment type will correspond to another element in the source response that contains detailed information specific to the type. For example, a type of creditCard indicates that there is an object in the response named creditCard that will contain card-specific data.
        - `displayName` string — The card number, only display the last four digits. (e.g. ************1111)
  - PaymentOptionsIDResponseLegacyExpand
    - `paymentOption` object
      - `uri` string
      - `id` number
      - `nickName` string
      - `isDefault` string
      - `type` string
      - `creditCard` object
        - `expirationMonth` integer — One to two digits representing the expiration month.
        - `expirationYear` integer — Four digits representing the expiration year.
        - `issueCode` number
        - `startMonth` number
        - `startYear` number
        - `displayableNumber` string — The card number, only display the last four digits. (e.g. ************1111)
        - `type` string — The type of the payment. The payment type will correspond to another element in the source response that contains detailed information specific to the type. For example, a type of creditCard indicates that there is an object in the response named creditCard that will contain card-specific data.
        - `displayName` string

## Other responses

- `401` — * Invalid Token
- `404` — * Not Found

---

[API](https://skmtc.net/digitalriver/apis/commerce-api-suite-shopper-apis.md) · [All operations](https://skmtc.net/digitalriver/apis/commerce-api-suite-shopper-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/commerce-api-suite-shopper-apis/revisions/4b69392f93b9/schema)
