curl -i -X POST \
https://www.rebilly.com/_mock/catalog/all/checkout-forms \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG",
"customDomain": "string",
"plans": [
{
"planId": "plan_0YV7DENSVGDBW9S71XZNNYYQ0X",
"type": "fixed",
"quantity": 1
}
],
"addonPlans": [],
"bumpPlans": [],
"accountsEnabled": false,
"couponsEnabled": false,
"purchaseLimit": null,
"paymentMethods": [
"payment-card"
],
"customization": {
"logoId": "file_0YV7HZ7KDCC5WBV9Q7WRKG1H6N",
"summary": "string",
"buttonText": "Pay {{amount}}",
"colors": {
"primary": "0044d4",
"buttonText": "ffffff"
},
"links": {
"refundPolicy": "string",
"privacyPolicy": "string",
"termsOfService": "string"
},
"tracking": {
"googleAnalytics": "UA-XXXXX-YY",
"googleTagManager": "GTM-XXXXX",
"gtagJs": "UA-XXXXX-YY",
"facebookPixel": "1234567890",
"segmentAnalytics": "1234567890",
"heapIo": "1234567890"
},
"requiredAdditionalFields": [
"information.companyName",
"information.phoneNumber"
]
},
"name": "string",
"status": "active"
}'