added api docs

This commit is contained in:
Arseni
2026-02-24 21:26:31 +03:00
parent 0646f55189
commit fa54088b25
87 changed files with 2299 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
components:
schemas:
PaymentQuoteData:
type: object
additionalProperties: false
required:
- accessToken
- quote
properties:
accessToken:
$ref: ../../../models/auth/token_data.yaml#/components/schemas/TokenData
idempotencyKey:
type: string
quote:
$ref: ../../../models/payment/payment.yaml#/components/schemas/PaymentQuote
PaymentQuotesData:
type: object
additionalProperties: false
required:
- accessToken
- quote
properties:
accessToken:
$ref: ../../../models/auth/token_data.yaml#/components/schemas/TokenData
quote:
type: object
additionalProperties: false
properties:
idempotencyKey:
type: string
quoteRef:
type: string
aggregate:
$ref: ../../../models/payment/payment.yaml#/components/schemas/PaymentQuoteAggregate
quotes:
type: array
items:
$ref: ../../../models/payment/payment.yaml#/components/schemas/PaymentQuote
PaymentsData:
type: object
additionalProperties: false
required:
- accessToken
properties:
accessToken:
$ref: ../../../models/auth/token_data.yaml#/components/schemas/TokenData
payments:
type: array
items:
$ref: ../../../models/payment/payment.yaml#/components/schemas/Payment
page:
$ref: ../../../models/common/pagination.yaml#/components/schemas/CursorPageResponse
PaymentData:
type: object
additionalProperties: false
required:
- accessToken
- payment
properties:
accessToken:
$ref: ../../../models/auth/token_data.yaml#/components/schemas/TokenData
payment:
$ref: ../../../models/payment/payment.yaml#/components/schemas/Payment