POST
/
v1-alpha1
/
checkout
/
mint
curl --request POST \
  --url https://staging.crossmint.com/api/v1-alpha1/checkout/mint \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "clientId": "<string>",
  "collection": {
    "description": "<string>",
    "photo": "<string>",
    "title": "<string>"
  },
  "emailTo": "<string>",
  "listingId": "<string>",
  "mintConfig": {
    "totalPrice": "<string>"
  },
  "mintTo": "<string>",
  "paymentMethod": "<string>",
  "redirect": {
    "cancel": "<string>",
    "continue": "<string>"
  },
  "userId": "<string>",
  "whPassThroughArgs": "<string>"
}'
{
  "checkoutURL": "<string>"
}

This is an alpha API and subject to change.

Authorizations

X-API-KEY
string
headerrequired

Body

application/json
clientId
string
required

The clientId of a previously created collection

collection
object
emailTo
string

Target email

listingId
string
mintConfig
object
mintTo
string

Crypto address to mint the NFT to

paymentMethod
string

Payment method

redirect
object
userId
string
required

The userId of a previously created wallet

whPassThroughArgs
string

Any arguments to included in the webhook status updates

Response

200 - application/json
checkoutURL
string

A URL to send the user to in order to capture payment and start the minting process