Create a client account
Parameters
The account name.
ISO 4217 3 character currency code.
Note: Lune does not support all currency codes.
- GBP
- EUR
- USD
- SEK
- CHF
- PLN
- DKK
- NOK
- BGN
The account beneficiary.
handle
is a client defined URL-friendly string that identifies the account.
The handle
is unique per organisation and account type.
Returns
Returns: ClientAccount object
The Account's unique identifier
The Account's name
The unique identifier of the organisation this account belongs to
handle
is a client defined URL-friendly string that identifies the account.
The handle
is unique per organisation and account type.
The Account's currency
The account's type.
See the <a href="#section/Live-and-test-accounts">Live and test accounts section</a> for details.
- live
- test
The account logo
Retirement beneficiary
This is the name that appears on future retirements that are made in this account. If none is present, the organisation beneficiary will be used instead.
Bundle portfolio id tied to the account.
curl 'https://api.lune.co/v1/accounts/client' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-X POST \
-d '{
"name": "ACME",
"beneficiary": "ACME Inc",
"currency": "USD"
}'
{
"id": "ljmkOq7vXd239gAE9WALWQ8ZGVD5ExNz",
"name": "ACME",
"beneficiary": "ACME Inc",
"currency": "USD",
"type": "live",
"organisation_id": "VndoQ0PZjGMzvYOZGwqy6kbgN1eOJx9B",
"logo": null,
"bundle_portfolio_id": null
}