Organization

Create Asset

This endpoint is used to create a new asset that can be used in a Disbursement. Note: the organization must hold a balance in a particular asset to use it in a disbursement.

post/assets

Headers

X-Wallet-Idstring

Optional. Selects the distribution account whose trustlines are affected. Omit it to act on the tenant's default account. An API key does not get that fallback: a key scoped to exactly one account may omit the header, any other key must send it.

Request body

codestring required

The asset code

issuerstring required

The issuer

Example request

{
  "code": "USDC",
  "issuer": "GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5"
}

Response

Asset created successfully

Changes