Skip to content

Commit a205da8

Browse files
authored
Move counterparty information to the top-level of the quotes response (#281)
1 parent 309c629 commit a205da8

5 files changed

Lines changed: 14 additions & 29 deletions

File tree

mintlify/openapi.yaml

Lines changed: 4 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi.yaml

Lines changed: 4 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/components/schemas/quotes/Quote.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ properties:
102102
type: string
103103
description: The ID of the transaction created from this quote.
104104
example: Transaction:019542f5-b3e7-1d02-0000-000000000005
105+
counterpartyInformation:
106+
$ref: ../transactions/CounterpartyInformation.yaml
107+
description: >-
108+
Additional information about the counterparty, if available and required
109+
by the platform in their configuration.
105110
rateDetails:
106111
$ref: ../transactions/OutgoingRateDetails.yaml
107112
description: Details about the rate and fees for the transaction.

openapi/components/schemas/quotes/UmaAddressDestination.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@ allOf:
1414
type: string
1515
description: UMA address of the recipient
1616
example: $receiver@uma.domain.com
17-
counterpartyInformation:
18-
type: object
19-
description: >-
20-
Information about the recipient, as required by the platform in their
21-
configuration.
22-
additionalProperties: true
23-
example:
24-
FULL_NAME: Jane Receiver
25-
BIRTH_DATE: '1990-01-01'
26-
NATIONALITY: FR
2717
currency:
2818
type: string
2919
description: >-

openapi/components/schemas/transactions/CounterpartyInformation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
type: object
2-
description: Additional information about the counterparty, if available and relevant to the transaction and platform. Only applicable for transactions to/from UMA addresses.
2+
description: Additional information about the counterparty, if available and relevant to the transaction and platform.
33
additionalProperties: true
44
example:
55
FULL_NAME: John Sender

0 commit comments

Comments
 (0)