Payment Method Session - List Payment Methods
Retrieve the list of payment methods enabled for the business profile and the saved payment methods for the customer.
Request
GET https://sandbox.hyperswitch.io/v2/payment-method-sessions/{id}/list-payment-methods
cURL
curl --request GET \
--url https://sandbox.hyperswitch.io/v2/payment-method-sessions/{id}/list-payment-methods \
--header 'api-key: <api-key>'Path parameters
id (string, required) — The unique identifier for the Payment Method Session
Authorization (header)
api-key (string, required) — Ephemeral keys provide temporary access to singular data, such as access to a single customer object for a short period of time.
Response
Status: 200 application/json The payment method session is retrieved successfully.
Example response
Schema summary
payment_methods_enabled (array of card or bank objects) — required The list of payment methods that are enabled for the business profile.
customer_payment_methods (array of objects) — required The list of saved payment methods of the customer.
Attributes (details)
If you need to suggest edits or raise an issue for this endpoint, use the original repository links in the source documentation.