Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
67 lines
1.5 KiB
YAML
67 lines
1.5 KiB
YAML
type: object
|
|
description: The transaction's transactions.
|
|
x-schemaName: OrderTransaction
|
|
required:
|
|
- id
|
|
- order_id
|
|
- order
|
|
- amount
|
|
- raw_amount
|
|
- currency_code
|
|
- reference
|
|
- reference_id
|
|
- created_at
|
|
- updated_at
|
|
- metadata
|
|
properties:
|
|
id:
|
|
type: string
|
|
title: id
|
|
description: The transaction's ID.
|
|
order_id:
|
|
type: string
|
|
title: order_id
|
|
description: The transaction's order id.
|
|
order:
|
|
type: object
|
|
amount:
|
|
oneOf:
|
|
- type: string
|
|
title: amount
|
|
description: The transaction's amount.
|
|
- type: number
|
|
title: amount
|
|
description: The transaction's amount.
|
|
- type: string
|
|
title: amount
|
|
description: The transaction's amount.
|
|
- $ref: ./IBigNumber.yaml
|
|
raw_amount:
|
|
type: object
|
|
description: The transaction's raw amount.
|
|
currency_code:
|
|
type: string
|
|
title: currency_code
|
|
description: The transaction's currency code.
|
|
reference:
|
|
type: string
|
|
title: reference
|
|
description: The transaction's reference.
|
|
reference_id:
|
|
type: string
|
|
title: reference_id
|
|
description: The transaction's reference id.
|
|
created_at:
|
|
type: string
|
|
format: date-time
|
|
title: created_at
|
|
description: The transaction's created at.
|
|
updated_at:
|
|
type: string
|
|
format: date-time
|
|
title: updated_at
|
|
description: The transaction's updated at.
|
|
metadata:
|
|
type: object
|
|
description: The transaction's metadata.
|