Files
medusa-store/docs/api/store/paths/customers_me_payment-methods.yaml
2022-08-05 14:06:12 +02:00

32 lines
1016 B
YAML

get:
operationId: GetCustomersCustomerPaymentMethods
summary: Retrieve saved payment methods
description: >-
Retrieves a list of a Customer's saved payment methods. Payment methods are
saved with Payment Providers and it is their responsibility to fetch saved
methods.
x-authenticated: true
tags:
- Customer
responses:
'200':
description: OK
content:
application/json:
schema:
properties:
payment_methods:
type: array
items:
properties:
provider_id:
type: string
description: >-
The id of the Payment Provider where the payment method
is saved.
data:
type: object
description: >-
The data needed for the Payment Provider to use the
saved payment method.