Skip to main content

Create a client account

Parameters
namestringrequired

The account name.


currencyenumrequired

ISO 4217 3 character currency code.

Note: Lune does not support all currency codes.

Enum:
  • GBP
  • EUR
  • USD
  • SEK
  • CHF
  • PLN
  • DKK
  • NOK

beneficiarystring

The account beneficiary.

Returns
ClientAccountobject

Account used when you operate an account on behalf of a third party.

  • POST /accounts/client
  • curl 'https://api.lune.co/v1/accounts/client' \
      -H 'Authorization: Bearer <API_KEY>' \
      -H 'Content-Type: application/json' \
      -X POST \
      -d '{
        "name": "name",
        "currency": "GBP"
      }'
      
  • Response
  • {
      "id": "ljmkOq7vXd239gAE9WALWQ8ZGVD5ExNz",
      "name": "Acme Corporation",
      "organisation_id": "VndoQ0PZjGMzvYOZGwqy6kbgN1eOJx9B",
      "currency": "GBP",
      "balance": "23.50",
      "balance_outstanding": "-132.50",
      "type": "live",
      "logo": "logo",
      "beneficiary": "beneficiary",
      "bundle_portfolio_id": "Jvhh30a6272NauKv92J7FG1c6Jfxd2E1"
    }