mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
feat(router): Add customer_list_saved_payment_methods endpoint to OLAP (#7241)
This commit is contained in:
@ -2833,6 +2833,47 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/customers/{id}/saved-payment-methods": {
|
||||
"delete": {
|
||||
"tags": [
|
||||
"Payment Methods"
|
||||
],
|
||||
"summary": "Payment Method - List Customer Saved Payment Methods",
|
||||
"description": "List the payment methods saved for a customer",
|
||||
"operationId": "List Customer Saved Payment Methods",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"description": "The unique identifier for the customer",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Payment Methods Retrieved",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/CustomerPaymentMethodsListResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Customer Not Found"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"api_key": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/payment-method-session": {
|
||||
"post": {
|
||||
"tags": [
|
||||
|
||||
Reference in New Issue
Block a user