feat(router): Add customer_list_saved_payment_methods endpoint to OLAP (#7241)

This commit is contained in:
Anurag Thakur
2025-02-24 12:34:23 +05:30
committed by GitHub
parent 9f334c1ebc
commit fdfcdcc7a1
6 changed files with 121 additions and 5 deletions

View File

@ -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": [