mirror of
https://github.com/valitydev/swag-wallets.git
synced 2024-11-06 02:45:19 +00:00
CP-24: Add WithdrawalQuote to Withdrawal (#63)
This commit is contained in:
parent
12e9e2164e
commit
54f56db117
@ -39,4 +39,7 @@ allOf:
|
||||
externalID:
|
||||
x-rebillyMerge:
|
||||
- $ref: "#/definitions/ExternalID"
|
||||
quote:
|
||||
x-rebillyMerge:
|
||||
- $ref: "#/definitions/WithdrawalReadQuote"
|
||||
- $ref: "#/definitions/WithdrawalStatus"
|
||||
|
29
api/wallet/spec/definitions/WithdrawalReadQuote.yaml
Normal file
29
api/wallet/spec/definitions/WithdrawalReadQuote.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user