-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCurrencyPreference.yaml
More file actions
39 lines (39 loc) · 1.26 KB
/
CurrencyPreference.yaml
File metadata and controls
39 lines (39 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
type: object
required:
- currency
- estimatedExchangeRate
- min
- max
properties:
currency:
$ref: ../common/Currency.yaml
estimatedExchangeRate:
type: number
description: >-
An estimated exchange rate from the sender's currency to this currency.
This is not a locked rate and is subject to change when calling the quotes
endpoint.
exclusiveMinimum: 0
example: 1.08
min:
type: integer
format: int64
description: >-
The minimum amount that can be received in this currency, in the smallest
unit of the currency (e.g. cents). This is the effective minimum,
accounting for both the platform-configured minimum and any provider-level
constraints (such as minimum trade values on the underlying exchange).
Sending amounts that would result in a receiving amount below this value
will be rejected.
exclusiveMinimum: 0
example: 500
max:
type: integer
format: int64
description: >-
The maximum amount that can be received in this currency, in the smallest
unit of the currency (e.g. cents). This is the effective maximum,
accounting for both the platform-configured maximum and any provider-level
constraints.
exclusiveMinimum: 0
example: 1000000