Configure Assets

Creates up to 500 assets in a single request. Elements are processed independently: a failing element does not block or roll back the others, and the response returns one result per submitted element in the order submitted, each carrying its own status. The stablecoin/SEMP tag can only be set here, on creation, and cannot be changed by a later update.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Up to 500 assets to configure in a single request. Every element is reported individually in the response, in the order submitted. A failing element does not block or roll back the others, whether it fails a business rule (such as a duplicate name or code) or schema validation (such as a missing required field). Two elements in the same request that share a name or a code are treated the same way as a conflict with an already-configured asset: the first is created and the second is reported as an error. The request itself is rejected with a 400 only when the body is not an array of 1 to 500 elements.

Create Assets Request
string
required
length between 1 and 255

The name of the asset. Must be unique among your configured assets, compared without regard to capitalization. The capitalization supplied is the capitalization stored and returned. At most 255 characters.

string
enum
required

The class of asset. Transaction and inventory payloads publish the same values in title case (Crypto, Fiat, Precious Metal).

Allowed:
codes
array of strings
required
length ≥ 1

The codes that may be sent as asset.code on transactions for this asset. Each must be unique among your configured assets, compared without regard to capitalization, and at most 64 characters. The capitalization supplied is the capitalization stored and returned. At least one is required.

codes*
boolean

Whether this asset is a stablecoin or SEMP (Specified Electronic Money Product). Taxbit derives the reporting jurisdictions for a tagged asset from a maintained list of codes rather than accepting them directly; see stablecoin_reporting_jurisdictions. Can only be set on creation, and true is accepted only when type is CRYPTO. On a response it is true for a tagged asset and omitted otherwise, the same way dtif_code and qualification_status are omitted when they do not apply.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json