Accounts

Issue a subaccount key

Keymanagement
Throttleaccount
Cost1 /request
Answers<span class="st st-ok">201</span> <span class="st st-warn">400</span> <span class="st st-warn">401</span> <span class="st st-warn">403</span> <span class="st st-warn">404</span> <span class="st st-warn">409</span> <span class="st st-hold">423</span> <span class="st st-hold">429</span> <span class="st st-warn">451</span>
Idempotentfalse

The body names the scope. While the subaccount's trading key is live, this route mints only trading::read.

post/v3/account/subaccounts/{keyId}/keys

Request

  • Base URL: https://api.paper.novig.com
  • URL: https://api.paper.novig.com/v3/account/subaccounts/{keyId}/keys
  • Auth: API key in header Novig-Key-Id and API key in header Novig-Signature and API key in header Novig-Timestamp

Path parameters

keyIdstring uuid required

A key that reaches the subaccount.

Request body

algorithm'Ed25519' | 'P-256' required

The signing algorithm of the stored public key. Your signer must match it.

expiresAtstring date-time

Optional. An instant strictly in the future.

namestring required

A label you choose.

publicKeystring required

The SPKI PEM of a fresh keypair.

scope'trading' | 'trading::read' required

The two scopes a subaccount mint names.

Response

Created. It reaches the same subaccount.

fingerprintstring required
keyIdstring uuid required

Changes

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