Skip to main content

Create Account

POST 

/api/accounts

Create account

Request

Body

required

    oneOf

    type stringrequired

    Possible values: [cardholder]

    The type of the account

    name string

    Account name

    partnerAccountId stringrequired

    The id of the partner account that this cardholder must be linked to

    ownerUserId stringrequired

    This user will be set as the owner of the created account

Responses

Account created successfully

Schema

    id string

    The unique account ID

    createdAt string

    Timestamp of account creation

    modifiedAt string

    Timestamp of last account modification

    partnerAccountId string

    The partner account ID that this account belongs to

    isActive boolean

    Whether the account is active or not

    type string

    Possible values: [cardholder, identity, partner]

    The account type

Loading...