Skip to content

Commit

Permalink
Add precise amounts to fee object
Browse files Browse the repository at this point in the history
  • Loading branch information
ivannovosad committed Sep 4, 2024
1 parent 607d74f commit 2ac00cd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions openapi.yaml

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

12 changes: 12 additions & 0 deletions src/schemas/FeeObject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ properties:
type: integer
description: The cost of this specific fee, excluding any applicable taxes.
example: 100
precise_amount:
type: string
description: The cost of this specific fee, excluding any applicable taxes, with precision.
example: "1.0001"
precise_total_amount:
type: string
description: The cost of this specific fee, including any applicable taxes, with precision.
example: "1.0212"
amount_currency:
allOf:
- $ref: "./Currency.yaml"
Expand All @@ -82,6 +90,10 @@ properties:
type: integer
description: The cost of the tax associated with this specific fee.
example: 20
taxes_precise_amount:
type: string
description: The cost of the tax associated with this specific fee, with precision.
example: "0.20123"
taxes_rate:
type: number
description: The tax rate associated with this specific fee.
Expand Down

0 comments on commit 2ac00cd

Please sign in to comment.