latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Stablecoin
Create issuer-direct stablecoin order
Creates a mint or burn order via the issuer-direct (Path 2) flow, bypassing the standard client deposit verification.
post/api/stablecoin/v1/enterprise/{enterpriseId}/issuer/orders
Path parameters
enterpriseIdstring required
Example:67bc4ae090e8af8f9b412d3d67e85252
Enterprise id
Request body
Example request
{
"type": "mint",
"asset": "eth:usd1",
"amount": "100000000000000000000",
"destinationType": "go_account",
"destinationWalletId": "8iMXoeSpS1d1ziEJ"
}Response
OK
Example response
{
"asset": "eth:usd1",
"destinationWalletId": "8iMXoeSpS1d1ziEJ",
"destinationAddress": "d526909b2398a6d579c817dc07fc9d72",
"userId": "test-user",
"transactions": [
{
"type": "clientDeposit",
"txHash": "512f64d10b5f358f6dbf3303f90013cfa46006b02a03282456d6bd6432cc5daf",
"asset": "eth:usd1",
"amount": "500",
"status": "confirmed",
"createdAt": "2025-04-04T09:26:21.600Z",
"updatedAt": "2025-04-04T09:26:21.600Z"
}
],
"memo": "Payment for invoice #1234",
"createdAt": "2025-04-04T09:25:48.216Z",
"updatedAt": "2025-04-04T09:55:09.136Z",
"fromAssetId": "08c1271e-b15d-4af8-8929-f75383903da4",
"toAssetId": "49ff49ea-3355-4717-bbb0-5e8f5cae2202",
"fromAsset": "eth:usd1",
"fromAmount": "500",
"toAsset": "eth:usd1",
"toAmount": "5000000",
"orderMethod": "issuer_direct",
"id": "95bdbd9c-9cdc-41a4-ae70-165387b7aa51",
"type": "mint",
"status": "fulfilled",
"enterpriseId": "67bc4ae090e8af8f9b412d3d67e85252"
}