Create issuer-direct stablecoin order

post/api/stablecoin/v1/enterprise/{enterpriseId}/issuer/orders

Creates a mint or burn order via the issuer-direct (Path 2) flow, bypassing the standard client deposit verification.

Path Parameters

  • enterpriseIdstringRequired
    Enterprise id
    Example: 67bc4ae090e8af8f9b412d3d67e85252
    Min length: >= 1 characters

Request Body

type string required
Type of order operation (mint or burn)
Allowed values: mint burn
Example: mint
asset string required
Full asset identifier (e.g., "eth:usd1", "hteth:sofid")
Min length: >= 1 characters
Example: eth:usd1
amount string required
Amount in the lowest denomination of the from-asset. For `mint`, this is USD base-units (e.g. cents). For `burn`, this is stablecoin base-units.
Example: 1000000
Match pattern: ^[1-9][0-9]*$
destinationType string required
Type of destination for the order. Only go_account is supported for both mint and burn.
Allowed value: go_account
Example: go_account
destinationWalletId string required
Destination wallet identifier. Required for all order types.
Min length: >= 1 characters
Example: 8iMXoeSpS1d1ziEJ

200 Response

asset string
Full asset identifier (e.g., "eth:usd1", "hteth:sofid")
Min length: >= 1 characters
Example: eth:usd1
destinationWalletId string
Destination wallet identifier
Example: 8iMXoeSpS1d1ziEJ
destinationAddress string
Destination blockchain address
Min length: >= 1 characters
Example: d526909b2398a6d579c817dc07fc9d72
Match pattern: ^[0-9a-f]{32}$
userId string
User identifier who initiated the order
Min length: >= 1 characters
Example: test-user
clientDepositTxHash string
Transaction hash of the client deposit
Min length: >= 1 characters
transactions array[object]
List of transactions associated with the order
type string required
Transaction type
Allowed values: clientDeposit mint burn burnTokenTransfer clientDisbursement treasuryMintTransfer treasuryBurnTransfer
Example: clientDeposit
txHash
string or null
required
Transaction hash (for on-chain transactions)
Min length: >= 1 characters
Example: 512f64d10b5f358f6dbf3303f90013cfa46006b02a03282456d6bd6432cc5daf
asset string required
Asset token identifier
Min length: >= 1 characters
Example: eth:usd1
amount string required
Transaction amount in lowest denomination
Min length: >= 1 characters
Example: 500
status string required
Current status of transaction
Allowed values: initiated signed unconfirmed confirmed rejected failed
Example: confirmed
createdAt string required
Timestamp when transaction was created
Example: 2025-04-04T09:26:21.600Z
updatedAt string required
Timestamp when transaction was last updated
Example: 2025-04-04T09:26:21.600Z
createdAt string <date-time>required
Timestamp when the order was created
Example: 2025-04-04T09:25:48.216Z
updatedAt string <date-time>required
Timestamp when the order was last updated
Example: 2025-04-04T09:55:09.136Z
fromAsset string required
Source asset token identifier
Min length: >= 1 characters
Example: eth:usd1
fromAmount string required
Amount to be transferred from source asset, specified in its lowest denomination.
Min length: >= 1 characters
Example: 500
toAsset string required
Destination asset token identifier
Min length: >= 1 characters
Example: eth:usd1
toAmount string required
Amount to be received in destination asset
Min length: >= 1 characters
Example: 5000000
orderMethod string
How the order was initiated: issuer-direct or standard client deposit flow
Allowed values: issuer_direct client_deposit
Example: issuer_direct
enterpriseName string
Human-readable name of the enterprise that placed the order
Example: Acme Corp
id string <uuid>required
Unique identifier for the order
Example: 95bdbd9c-9cdc-41a4-ae70-165387b7aa51
type string required
Type of order operation
Allowed values: mint burn reward
Example: mint
status string required
Current status of the order
Allowed values: created confirmed_fiat_deposit confirmed_token_deposit initiated_burn_token_transfer completed_burn_token_transfer approved_mint triggering_mint triggering_burn completed_burn approved_client_disbursal initiated_client_disbursal fulfilled failed_mint_initiation failed_mint_transaction failed_burn_transaction failed_burn_token_transfer failed_to_mint failed_to_burn failed_to_initiate_disbursal failed_to_complete_disbursal rejected failed expired
Example: fulfilled
enterpriseId string required
The Enterprise ID
Min length: >= 1 characters
Example: 67bc4ae090e8af8f9b412d3d67e85252
Match pattern: ^[0-9a-f]{32}$

400 Response

401 Response

403 Response

500 Response