CP-24: Add WithdrawalQuote to Withdrawal (#63)

This commit is contained in:
ndiezel0 2024-06-17 23:11:43 +05:00 committed by GitHub
parent 12e9e2164e
commit 54f56db117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 32 additions and 0 deletions

View File

@ -39,4 +39,7 @@ allOf:
externalID:
x-rebillyMerge:
- $ref: "#/definitions/ExternalID"
quote:
x-rebillyMerge:
- $ref: "#/definitions/WithdrawalReadQuote"
- $ref: "#/definitions/WithdrawalStatus"

View File

@ -0,0 +1,29 @@
---
description: Quote data for withdrawal
type: object
required:
- cashFrom
- cashTo
- createdAt
- expiresOn
properties:
cashFrom:
x-rebillyMerge:
- $ref: "#/definitions/Asset"
- description: Amount of funds in source currency
- readOnly: true
cashTo:
x-rebillyMerge:
- $ref: "#/definitions/Asset"
- description: Amount of funds in target currency
- readOnly: true
createdAt:
description: Date and time the quote was received
type: string
format: date-time
readOnly: true
expiresOn:
description: Quote expiration date and time
type: string
format: date-time
readOnly: true