---
title: "Get payment method"
method: GET
path: "/subscriptions/{subscriptionId}/paymentmethods/{id}"
tags: ["Subscription Payments"]
---

# Get payment method

`GET /subscriptions/{subscriptionId}/paymentmethods/{id}`

Returns a specific payment method associated with a subscription.

## Path parameters

- `subscriptionId` string, required
- `id` string, uuid, required

## Response `200`

When request is successful. Returns a 'PaymentMethod' object.

- PaymentMethod
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable
  - `self` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `id` string, nullable — Unique identifier of the payment method.
  - `paymentSystem` string, nullable — Payment system.
  - `type` string — The payment type. * None - The payment type is missing or unknown. * CreditCard - Credit Card payment type. * DirectDeposit - Direct Deposit payment type. (not currently supported)
  - `isDefault` boolean — Whether this is the default payment method for the customer.
  - `details` PaymentMethodDetails
    - `brand` string, nullable — The brand of the credit card.
    - `lastFourDigits` string, nullable — Last four digits of the credit card.
    - `expiry` string, nullable — Expiry date of the credit card in MM/YY format.
    - `expiryMonth` integer, nullable — Expiry month.
    - `expiryYear` integer, nullable — Expiry year.
    - `accountNumber` integer, nullable — The account number of the direct deposit account. Not yet supported.
    - `bsb` integer, nullable — The BSB of the direct deposit account. Not yet supported.
  - `lastPaymentState` string — The status of a payment. * None: The payment status is unknown. * Succeeded: The payment was successful. * Processing: The payment is being processed. * Canceled: The payment was canceled. * Failed: The payment requires a payment method to be provided, the provided payment method failed or other action is required (e.g. confirmation or other action by the customer)
  - `createdDate` string, date-time — When this payment method was added.

## Other responses

- `400` — When an unsupported request is made.
- `404` — When subscription or payment method with specified id does not exist.
- `500` — When an error occurs while retrieving payment method.

---

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