-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathExternalAccountCreateRequest.yaml
More file actions
34 lines (34 loc) · 1.54 KB
/
ExternalAccountCreateRequest.yaml
File metadata and controls
34 lines (34 loc) · 1.54 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
allOf:
- type: object
required:
- currency
- accountInfo
properties:
customerId:
type: string
description: >-
The ID of the customer for whom to create the external account.
If not provided, the external account will be created on behalf of the platform.
example: Customer:019542f5-b3e7-1d02-0000-000000000001
currency:
type: string
description: The ISO 4217 currency code
example: USD
platformAccountId:
type: string
description: Your platform's identifier for the account in your system. This can be used to reference the account by your own identifier.
example: ext_acc_123456
defaultUmaDepositAccount:
type: boolean
description: >-
Whether to set the external account as the default UMA deposit account. When set to true,
incoming payments to this customer's UMA address will be automatically deposited into this external account.
False if not provided. Note that only one external account can be set as
the default UMA deposit account for a customer, so if there is already a default UMA deposit account,
this will override the existing default UMA deposit account. If there is no default UMA deposit account,
incoming UMA payments will be deposited into the primary internal account for the customer.
default: false
cryptoNetwork:
$ref: ../crypto/CryptoNetwork.yaml
accountInfo:
$ref: ./ExternalAccountInfoOneOf.yaml