Skip to content

Commit

Permalink
Add deposit-request transactionIds (#1772)
Browse files Browse the repository at this point in the history
* Add deposit-request transactionIds

* Update openapi/components/schemas/DepositRequest.yaml

* Fix

* Remove other change

* Update links and embedded

---------

Co-authored-by: Alexander Shkarpetin <[email protected]>
Co-authored-by: Alexander Shkarpetin <[email protected]>
  • Loading branch information
3 people authored Feb 7, 2024
1 parent 897c057 commit 703486e
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions openapi/components/schemas/DepositRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,19 @@ properties:
- 'string'
- 'null'
description: ID of the transaction that is used in the deposit request.
deprecated: true
readOnly: true
maxLength: 50
example: txn_0YVDTQJ8YWDGQACV2N2N5SPWQ0
transactionIds:
type: array
description: |-
List of transaction IDs that are associated with the deposit request.
This list includes transactions that are created from the deposit request.
There is a maximum of one `approved` transaction in the list.
items:
type: string
maxLength: 50
status:
description: Status of the request.
type: string
Expand Down Expand Up @@ -163,7 +173,7 @@ properties:
enum:
- self
- deposit
- transaction
- transactions
_embedded:
type: object
description: Embedded objects that are requested by the `expand` query parameter.
Expand All @@ -173,5 +183,7 @@ properties:
type: object
website:
type: object
transaction:
type: object
transactions:
type: array
maxItems: 10
description: Most recent associated transactions.

0 comments on commit 703486e

Please sign in to comment.