Skip to main content
POST
Create a credential to store login details for a government tax portal. Use the Portal Fields endpoint to discover what fields a portal requires.

Request body

string
required
The unique identifier (UUID) for the corporation.
string
required
The type of credential. Values: INDIRECT_TAX_REGISTRATION, OTHER.
array
required
Array of credential blocks. Each block stores one field (e.g., username, password). Minimum 1 block required.Each block requires:
  • block_key — unique key for the field (e.g., username)
  • block_label — display label (e.g., Username)
  • block_type — one of String, SecureString, File
  • value — the field value
string
The portal ID to associate the credential with. Get this from the Portal Fields endpoint.
string
A display name for the credential.
string
URL of the tax portal.
string
Optional notes about the credential.
boolean
Whether this is a custom (user-defined) credential rather than a portal-driven one.