Create Account

post/api/accounts

Create an account.

Request

Body application/json

One of

  • typestringrequired
    Allowed values:cardholder

    The type of the account

  • namestring

    Account name

  • partnerAccountIdstringrequired

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

  • ownerUserIdstringrequired

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

Response

Account created successfully.

Body application/json

  • idstring

    The unique account ID

  • versionstring

    The resource version number.

  • createdAtstring

    Timestamp of account creation

  • modifiedAtstring

    Timestamp of last account modification

  • partnerAccountIdstring

    The partner account ID that this account belongs to

  • isActiveboolean

    Whether the account is active or not

  • typestring
    Allowed values:cardholderidentitypartner

    The account type

  • livenessstring
    Allowed values:livetest

    The resource liveness mode.