Create a wallet (master account) or a sub-account

Create a root wallet (unauthenticated sign-up), or — with parent_id plus the parent's x-mgmt-key — a sub-account in the account tree. Returns a management key once.

post/wallets

Request

  • Base URL: https://getsanction.com/api/v1
  • URL: https://getsanction.com/api/v1/wallets
  • Auth: none declared

Request body

namestring required
owner_emailstring email required
parent_idstring

Create as a sub-account under this wallet (account tree). Requires the parent's x-mgmt-key. Omit for a root wallet.

Response

Wallet created; management_key shown once

idstring
namestring
owner_emailstring
parent_idstring nullable
management_keystring

Owner key (sk_...). Store it now — shown once.

management_key_prefixstring
warningstring
created_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.