Skip to main content
POST
/
api
/
minting
/
contracts
/
mint
Mint an asset
curl --request POST \
  --url https://admin.snagsolutions.io/api/minting/contracts/mint \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "assetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "emailAddress": "<string>",
  "walletAddress": "<string>",
  "quantity": 1,
  "shippingId": "<string>",
  "shippingOrderType": "stripe",
  "agreedToSendW9": true,
  "customInputValue": "<string>"
}
'
{
  "mintingContractAssetMintStatusId": "00000000-0000-0000-0000-000000000000"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Body

assetId
string<uuid>
required
contractId
required
Minimum string length: 1
emailAddress
string
walletAddress
string
quantity
number
default:1
shippingId
string
shippingOrderType
enum<string>
Available options:
stripe,
shipstation,
drip,
twitter_bearer,
epic_games,
stardust,
twitter_clientsecret,
immutable_passport,
sequence,
google,
walletConnect,
auth0,
privy,
thirdweb,
steam,
discord,
google_api,
shopify,
ultra,
github
agreedToSendW9
boolean | null
customInputValue
string | null

Response

202

Use the id returned here to fetch the status and signature of the mint from the /api/minting/status/:id endpoint

mintingContractAssetMintStatusId
string<uuid>
required