Accept Minting Terms
Accept the BitGo minting services terms for your enterprise before creating mint or burn orders. See the Guide.
-
Review the BitGo Coin Minting & Redemption Services Terms before proceeding.
-
Get the latest terms version number and status for an enterprise.
-
Set the
versionfield to match thestablecoinAgreementLatestVersionyou received in the prior step.
// 1. Review Terms
// No cURL implementation is provided for this step
// 2. Check Terms Status
export ENTERPRISE_ID="<YOUR_ENTERPRISE_ID>"
export ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>"
curl -X GET \
https://app.bitgo-test.com/api/v2/enterprise/$ENTERPRISE_ID \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $ACCESS_TOKEN"
// 3. Accept Terms
export ENTERPRISE_ID="<YOUR_ENTERPRISE_ID>"
export ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>"
export VERSION="<STABLECOIN_AGREEMENT_LATEST_VERSION">
curl -X PUT \
https://app.bitgo-test.com/api/mint/v1/enterprise/$ENTERPRISE_ID/agreement \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-d '{
"version": "'"$VERSION"'"
}'
// 1. Review Terms
// No JavaScript implementation is provided for this step
// 2. Check Terms Status
// Use the cURL tab for this step
// 3. Accept Terms
// Use the cURL tab for this step
Response
// 2. Check Terms Status Response
{
"id": "6437d9ae435d8b0007635c3f0db52154",
"name": "Example Enterprise",
"stablecoinAgreement": [
{
"user": "682de31be80bbf9a733a2553d30e5cb5",
"date": "2026-03-23T14:20:58.892Z",
"ip": "10.24.183.6",
"version": 1
}
],
"stablecoinAgreementLatestVersion": 1
}
// 2. Check Terms Status Response
{
"stablecoinAgreementLatestVersion": 1, // This value becomes your version in the next step.
}
// 3. Accept Terms Response
{
"enterpriseId": "67bc4ae090e8af8f9b412d3d67e85252",
"version": 1
}