Skip to main content

Mint Currency Token by ID

Mints additional amount for the specified currency token.

Request

POST /v2/admin/currency-tokens/{currencyTokenID}/mint

Parameters

NameTypeInDescription
currencyTokenIDstringpathRequired. The ID of the currency token to mint

Headers

NameDescription
Content-Typeapplication/json
AuthorizationRequired. Bearer token for authentication

Body (JSON)

FieldTypeRequiredDescription
amountnumberYesAmount to mint

Example

curl --location 'http://localhost:3453/v2/admin/currency-tokens/:id/mint' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
"amount": 2000
}'

Response

  • Status: 204 No Content
  • Body: none

Status Codes

Status CodeDescription
204No Content - Mint successful
400Bad Request - Invalid input
401Unauthorized - Invalid or missing authentication token
404Not Found - Currency token does not exist
500Internal Server Error