Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 63 additions & 32 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

95 changes: 63 additions & 32 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions openapi/components/schemas/transactions/IncomingTransaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,37 @@ allOf:
required:
- receivedAmount
properties:
source:
oneOf:
- title: Account Source
type: object
required:
- accountId
- currency
properties:
accountId:
type: string
description: Source account identifier
example: InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965
currency:
type: string
description: Currency code for the source account
example: USD
description: Source account details
- title: UMA Address Source
type: object
required:
- umaAddress
properties:
umaAddress:
type: string
description: UMA address of the sender
example: $sender@uma.domain.com
currency:
type: string
description: Currency code for the source
example: USD
description: UMA address source details
receivedAmount:
$ref: ../common/CurrencyAmount.yaml
description: Amount received in the recipient's currency
Expand Down
32 changes: 32 additions & 0 deletions openapi/components/schemas/transactions/OutgoingTransaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,39 @@ allOf:
required:
- sentAmount
- paymentInstructions
- source
properties:
source:
oneOf:
- title: Account Source
type: object
required:
- accountId
- currency
properties:
accountId:
type: string
description: Source account identifier
example: InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965
currency:
type: string
description: Currency code for the source account
example: USD
description: Source account details
- title: UMA Address Source
type: object
required:
- umaAddress
properties:
umaAddress:
type: string
description: UMA address of the sender
example: $sender@uma.domain.com
currency:
type: string
description: Currency code for the source
example: USD
description: UMA address source details
sentAmount:
$ref: ../common/CurrencyAmount.yaml
description: Amount sent in the sender's currency
Expand Down
32 changes: 0 additions & 32 deletions openapi/components/schemas/transactions/Transaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ required:
- id
- status
- type
- source
- destination
- customerId
- platformCustomerId
Expand All @@ -16,37 +15,6 @@ properties:
$ref: ./TransactionStatus.yaml
type:
$ref: ./TransactionType.yaml
source:
oneOf:
- title: Account Source
type: object
required:
- accountId
- currency
properties:
accountId:
type: string
description: Source account identifier
example: InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965
currency:
type: string
description: Currency code for the source account
example: USD
description: Source account details
- title: UMA Address Source
type: object
required:
- umaAddress
properties:
umaAddress:
type: string
description: UMA address of the sender
example: $sender@uma.domain.com
currency:
type: string
description: Currency code for the source
example: USD
description: UMA address source details
destination:
oneOf:
- title: Account Destination
Expand Down