Skip to main content

Create new account

POST 

/accounts

Create a new Account representation of an existing bank account.

Request

Body

required

Account details

    account

    object

    required

    oneOf

    type stringrequired

    Possible values: [SharedSavings]

    externalId string

    Optional, external reference for this account. When provided, this field will help in preventing duplicate accounts.

    userId stringrequired
    balanceCents account.BalanceCents (integer)

    Default value: 0

    The total worth of all assets, in cents or the smallest currency subunit.

Responses

The created Account representation.

Schema

    account

    object

    oneOf

    type stringrequired

    Possible values: [SharedSavings]

    id uuidrequired
    externalId string

    Optional, external reference for this account.

    user

    object

    required

    type stringrequired
    id stringrequired
    externalId string
    balanceCents account.BalanceCents (integer)

    Default value: 0

    The total worth of all assets, in cents or the smallest currency subunit.

Loading...