PUT
/
v1-alpha1
/
minting
/
collections
/
{collectionId}
/
royalties
curl --request PUT \
  --url https://staging.crossmint.com/api/v1-alpha1/minting/collections/{collectionId}/royalties \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "recipients": [
    {
      "address": "0x71C...",
      "basisPoints": 100
    }
  ]
}'

This is an alpha API and subject to change.

Authorizations

X-API-KEY
string
header
required

Path Parameters

collectionId
string
default:
default-solana
required

Collection identifier. For pre-built collections use IDs 'default-solana' or 'default-polygon'. use the result of the create-collection endpoint to get the identifier for custom collections.

Body

application/json
recipients
object[]

List of royalty recipients. Note: EVM collections support only a single recipient. Use a contract splitter as recipient in order to send payments to multiple addresses.

Response

204
_mintlify/placeholder

No-content success response indicating that the request is being processed.