curl --request GET \
--url https://api.crevio.co/v1/checkouts/{prefix_id} \
--header 'Authorization: <api-key>'{
"id": 123,
"status": "<string>",
"processorId": "<string>",
"clientSecret": "<string>",
"prefixId": "<string>",
"mode": "<string>",
"currency": "<string>",
"total": 123,
"isFree": true,
"prefilledEmail": "<string>",
"checkoutItems": [
{
"id": 123,
"quantity": 123,
"priceVariant": {
"id": 123,
"name": "<string>",
"amount": 123,
"currency": "<string>",
"billingType": "one_time",
"amountType": "<string>",
"discountedFromAmount": 123,
"presetAmount": 123,
"minimumAmount": 123,
"maximumAmount": 123,
"recurringInterval": "<string>",
"intervalCount": 123,
"trialPeriodDays": 123,
"revokeAfterDays": 123,
"hidden": true,
"archived": true,
"waitlist": true,
"position": 123,
"prefixId": "<string>",
"benefits": [
"<string>"
],
"seatQuantity": 123,
"isDefault": true,
"isPayWhatYouWant": true,
"hasFreeTrial": true,
"isQuantityLimited": true
},
"product": {
"id": 123,
"name": "<string>",
"slug": "<string>",
"prefixId": "<string>",
"url": "<string>"
}
}
],
"sellerAccount": {
"id": 123,
"name": "<string>",
"subdomain": "<string>",
"avatar": {
"filename": "<string>",
"contentType": "<string>",
"byteSize": 123,
"createdAt": "2023-11-07T05:31:56Z",
"signedId": "<string>",
"src": "<string>",
"srcSet": "<string>"
},
"linkInBioPage": {
"id": 123,
"title": "<string>",
"description": "<string>"
},
"socialLinks": [
{
"id": 123,
"name": "<string>",
"url": "<string>",
"platform": "<string>",
"position": 123,
"active": true
}
],
"referralUrl": "<string>",
"availableSupportEmail": "<string>"
}
}Returns a specific checkout session
curl --request GET \
--url https://api.crevio.co/v1/checkouts/{prefix_id} \
--header 'Authorization: <api-key>'{
"id": 123,
"status": "<string>",
"processorId": "<string>",
"clientSecret": "<string>",
"prefixId": "<string>",
"mode": "<string>",
"currency": "<string>",
"total": 123,
"isFree": true,
"prefilledEmail": "<string>",
"checkoutItems": [
{
"id": 123,
"quantity": 123,
"priceVariant": {
"id": 123,
"name": "<string>",
"amount": 123,
"currency": "<string>",
"billingType": "one_time",
"amountType": "<string>",
"discountedFromAmount": 123,
"presetAmount": 123,
"minimumAmount": 123,
"maximumAmount": 123,
"recurringInterval": "<string>",
"intervalCount": 123,
"trialPeriodDays": 123,
"revokeAfterDays": 123,
"hidden": true,
"archived": true,
"waitlist": true,
"position": 123,
"prefixId": "<string>",
"benefits": [
"<string>"
],
"seatQuantity": 123,
"isDefault": true,
"isPayWhatYouWant": true,
"hasFreeTrial": true,
"isQuantityLimited": true
},
"product": {
"id": 123,
"name": "<string>",
"slug": "<string>",
"prefixId": "<string>",
"url": "<string>"
}
}
],
"sellerAccount": {
"id": 123,
"name": "<string>",
"subdomain": "<string>",
"avatar": {
"filename": "<string>",
"contentType": "<string>",
"byteSize": 123,
"createdAt": "2023-11-07T05:31:56Z",
"signedId": "<string>",
"src": "<string>",
"srcSet": "<string>"
},
"linkInBioPage": {
"id": 123,
"title": "<string>",
"description": "<string>"
},
"socialLinks": [
{
"id": 123,
"name": "<string>",
"url": "<string>",
"platform": "<string>",
"position": 123,
"active": true
}
],
"referralUrl": "<string>",
"availableSupportEmail": "<string>"
}
}API key in the format: Bearer {api_token}
The resource prefix ID
Was this page helpful?