Files
sendico/interface/api/payments/response/payment.yaml
Stephan D 7d6d7c3f56 docs fix
2026-02-27 01:29:57 +01:00

66 lines
1.8 KiB
YAML

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
items:
type: array
items:
$ref: ../../../models/payment/payment.yaml#/components/schemas/PaymentQuote
PaymentsData:
type: object
additionalProperties: false
required:
- accessToken
- payments
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