This is an alpha API and subject to change.
Authorizations
Body
application/json
Response
Checkout url generated
The response is of type object
.
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>"
}
API scope required: nfts.checkout
Begin the checkout process for a mint
This API is subject to change as it is currently in its alpha form.
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>"
}
Checkout url generated
The response is of type object
.
Was this page helpful?