refactor(openapi): move openapi to a separate folder (#4859)

This commit is contained in:
Narayan Bhat
2024-06-07 11:44:01 +05:30
committed by GitHub
parent 97e4f1af90
commit 05105321ca
110 changed files with 1217 additions and 4628 deletions

View File

@ -0,0 +1,3 @@
---
openapi: post /api_keys/{merchant_id)
---

View File

@ -0,0 +1,3 @@
---
openapi: get /api_keys/{merchant_id}/{key_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: delete /api_keys/{merchant_id)/{key_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /api_keys/{merchant_id}/{key_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: delete /blocklist
---

View File

@ -0,0 +1,3 @@
---
openapi: get /blocklist
---

View File

@ -0,0 +1,3 @@
---
openapi: post /blocklist
---

View File

@ -0,0 +1,3 @@
---
openapi: post /blocklist/toggle
---

View File

@ -0,0 +1,3 @@
---
openapi: post /account/{account_id}/business_profile
---

View File

@ -0,0 +1,3 @@
---
openapi: delete /account/{account_id}/business_profile/{profile_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: get /account/{account_id}/business_profile
---

View File

@ -0,0 +1,3 @@
---
openapi: get /account/{account_id}/business_profile/{profile_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /account/{account_id}/business_profile/{profile_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: get /{customer_id}/payment_methods/{payment_method_id}/default
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /customers
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec delete /customers/{customer_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /customers/list
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /customers/{customer_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /customers/{customer_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /disputes/list
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /disputes/{dispute_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: get /events/{merchant_id_or_profile_id}/{event_id}/attempts
---

View File

@ -0,0 +1,3 @@
---
openapi: get /events/{merchant_id_or_profile_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /events/{merchant_id_or_profile_id}/{event_id}/retry
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /gsm
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /gsm/delete
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /gsm/get
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /gsm/update
---

View File

@ -0,0 +1,3 @@
---
openapi: post /customers/{customer_id}/mandates
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /mandates/{mandate_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /mandates/revoke/{mandate_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /accounts
---

View File

@ -0,0 +1,3 @@
---
openapi: delete /accounts/{account_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /accounts/{account_id}/kv
---

View File

@ -0,0 +1,3 @@
---
openapi: get /accounts/{account_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /accounts/{account_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /accounts/{account_id}/connectors
---

View File

@ -0,0 +1,3 @@
---
openapi: delete /accounts/{account_id}/connectors/{connector_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: get /accounts/{account_id}/connectors
---

View File

@ -0,0 +1,3 @@
---
openapi: get /accounts/{account_id}/connectors/{connector_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /accounts/{account_id}/connectors/{connector_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: get /customers/payment_methods
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /customers/{customer_id}/payment_methods
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /account/payment_methods
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec delete /payment_methods/{method_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /payment_methods/{method_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: get /{customer_id}/payment_methods/{payment_method_id}/default
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payment_methods/{method_id}/update
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payment_methods
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payments/{payment_id}/cancel
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payments/{payment_id}/capture
---

View File

@ -0,0 +1,3 @@
---
openapi: post /{payment_id}/complete_authorize
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payments/{payment_id}/confirm
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payments
---

View File

@ -0,0 +1,3 @@
---
openapi: post /payments/{payment_id}/3ds/authentication
---

View File

@ -0,0 +1,3 @@
---
openapi: post /payments/{payment_id}/incremental_authorization
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /payments/list
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /payments/{payment_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payments/session_tokens
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payments/{payment_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /payment_link/{payment_link_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payouts/{payout_id}/cancel
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payouts/create
---

View File

@ -0,0 +1,3 @@
---
openapi: post /payouts/list
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payouts/{payout_id}/fulfill
---

View File

@ -0,0 +1,3 @@
---
openapi: get /payouts/list
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /payouts/{payout_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /payouts/{payout_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: get /poll/status/{poll_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /refunds
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /refunds/list
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec get /refunds/{refund_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: openapi_spec post /refunds/{refund_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /routing/{algorithm_id}/activate
---

View File

@ -0,0 +1,3 @@
---
openapi: post /routing
---

View File

@ -0,0 +1,3 @@
---
openapi: post /routing/deactivate
---

View File

@ -0,0 +1,3 @@
---
openapi: get /routing
---

View File

@ -0,0 +1,3 @@
---
openapi: get /routing/active
---

View File

@ -0,0 +1,3 @@
---
openapi: get /routing/default
---

View File

@ -0,0 +1,3 @@
---
openapi: get /routing/default/profile
---

View File

@ -0,0 +1,3 @@
---
openapi: get /routing/{algorithm_id}
---

View File

@ -0,0 +1,3 @@
---
openapi: post /routing/default
---

View File

@ -0,0 +1,3 @@
---
openapi: post /routing/default/profile/{profile_id}
---

View File

@ -0,0 +1,3 @@
---
openapi-schema: OutgoingWebhook
---