Skip to content

Retrieves a payment method by ID

Request

GET {{baseURL}}/v2/payment-methods/{{paymentMethodId}}

This endpoint retrieves a payment method by ID. This endpoint requires a merchant API token. A merchant API token managed by a partner also requires that partner's account to have the ListCustomers permission. Failure in either case returns a 403 response.

See Also:
To add a new card payment method, see POST /v2/payment-methods/card.
To add a new ACH (automated clearing house) payment method, see POST /v2/payment-methods/ach.
To list payment methods, see GET /v2/payment-methods.

Security
Bearer
Path
paymentMethodIdstring, (UUID)required

Specifies the payment method identifier.

Example: c24e0199-7e8e-49b0-ac09-16aae93af4be

Example:c24e0199-7e8e-49b0-ac09-16aae93af4be
// Language is not supported.

Responses

OK

Bodyapplication/json
paymentMethodIdstring or null, (UUID)

Indicates the payment method identifier.

This is the identifier of a previously saved ACH (automated clearing house) account to charge.

Example: 39a95e35-6d50-45ec-884b-c2417edf005d

Example:"39a95e35-6d50-45ec-884b-c2417edf005d"
paymentMethodTypestring

Identifies the payment method type.

Valid values are:

TypeDescription
ACHPayment made through an ACH (automated clearing house) bank transfer.
CardPayment made with a credit or debit card.
CashPayment made with physical currency.

Example: Card

Enum:"ACH""Card""Cash"
Example:"Card"
paymentMethodNamestring or null

Indicates the display label for the payment method.

This is a free-form name that is convenient for the merchant to recognize.

This value is null for a payment method saved through a checkout session, a payment link, or an invoice, which carry no label.

Example: Peppared Street Cafe's Preferred Payment

Example:"Peppared Street Cafe's Preferred Payment"
customerIdstring or null, (UUID)

Identifies the customer to link this payment method to.

This value may be null when this payment method is an orphan owned by the merchant directly. An orphan payment method is a payment method in the merchant's vault but has no customer record associated with it.

A list of customer identifiers can be retrieved with GET /v2/customers.

Example: 8fa8e727-73c6-436e-b56f-6f55aabf3b1c

Example:"8fa8e727-73c6-436e-b56f-6f55aabf3b1c"
isDefaultboolean

Indicates whether this payment method is the default payment method for the linked customer.

This value is always false for an orphan payment method, which has no linked customer and so no concept of default.

Valid values are:

ValueDescription
falseThis is not the default payment method.
trueThis is the default payment method.

Example: true

Example:true
createdOnstring, (ISO 8601 date-time)

Indicates the date-time (in an ISO 8601 UTC date-time format) the payment method was created on.

Example: 2026-01-15T10:30:56.264Z

Example:"2026-01-15T10:30:56.264Z"
cardDetailsobject or null

Indicates the card details.

This is populated when paymentMethodType is Card. It is null for ACH (automated clearing house).

achDetailsobject or null

Indicates the ACH (automated clearing house) details.

This is populated when paymentMethodType is ACH. It is null for a card.

Response

A card payment method linked to a customer and marked as the customer's default.

{ "paymentMethodId": "6e22f0f3-f3ed-407c-a46f-ec9cffde5d5b", "paymentMethodType": "Card", "paymentMethodName": "My Visa Card", "customerId": "588f57a5-fe6a-4844-851e-e98914e81980", "isDefault": true, "createdOn": "2026-01-15T10:30:00.142Z", "cardDetails": { "maskedCardNumber": "400112******1111", "cardNumberLast4": "1111", "expirationMonth": 12, "expirationYear": 2033, "cardBrand": "Visa", "cardType": "Credit", "cardTokenType": "Local" }, "achDetails": null }