Payment Method - List Customer Saved Payment Methods

Retrieve the list of saved payment methods for a customer.

curl example

cURL
curl --request GET \
  --url https://sandbox.hyperswitch.io/v2/customers/{id}/saved-payment-methods \
  --header 'api-key: <api-key>'

Request

GET /v2/customers/{id}/saved-payment-methods

Authorizations

  • api-key (string, header) — required Use the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.

Path Parameters

Name
Type
Required
Description

id

string

required

The unique identifier for the customer

Response

200 — application/json — Payment Methods Retrieved

Response body example:

Schema (summary)

  • customer_payment_methods (object[]) — required List of payment methods for the customer.

  • Documentation: https://api-reference.hyperswitch.io/introduction

  • Locker API Reference: https://api-reference.hyperswitch.io/locker-api-reference/overview

  • Intelligent Router API Reference: https://api-reference.hyperswitch.io/intelligent-router-api-reference/overview

  • Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/v2/payment-methods/payment-method--list-customer-saved-payment-methods.mdx

  • Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/v2/payment-methods/payment-method--list-customer-saved-payment-methods

(Original API examples and links preserved.)