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>",
  "userId": "<string>",
  "emailTo": "<string>",
  "mintTo": "<string>",
  "paymentMethod": "<string>",
  "listingId": "<string>",
  "collection": {
    "title": "<string>",
    "description": "<string>",
    "photo": "<string>"
  },
  "redirect": {
    "continue": "<string>",
    "cancel": "<string>"
  },
  "mintConfig": {
    "totalPrice": "<string>"
  },
  "whPassThroughArgs": "<string>"
}'
{
  "checkoutURL": "<string>"
}

This is an alpha API and subject to change.

Authorizations

X-API-KEY
string
header
required

Body

application/json

Response

200
application/json

Checkout url generated

The response is of type object.

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>",
  "userId": "<string>",
  "emailTo": "<string>",
  "mintTo": "<string>",
  "paymentMethod": "<string>",
  "listingId": "<string>",
  "collection": {
    "title": "<string>",
    "description": "<string>",
    "photo": "<string>"
  },
  "redirect": {
    "continue": "<string>",
    "cancel": "<string>"
  },
  "mintConfig": {
    "totalPrice": "<string>"
  },
  "whPassThroughArgs": "<string>"
}'
{
  "checkoutURL": "<string>"
}

This is an alpha API and subject to change.

Authorizations

X-API-KEY
string
header
required

Body

application/json

Response

200
application/json

Checkout url generated

The response is of type object.