Retrieves a checkout form with a specified ID.
Checkout form retrieved.
websiteId required | string (WebsiteId) <= 50 characters ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID. |
required | Array of Fixed quantity (object) or Variable quantity (object) non-empty List of plans that are applied to a customer order by default. Plans describe how the customer must pay for products. For more information, see Plans. |
Array (non-empty) One of: | |
id | string <= 50 characters ID of the checkout form. |
customDomain | string or null <= 255 characters Custom domain for the checkout form. |
Array of Fixed quantity (object) or Variable quantity (object) Default: [] List of add-on plans that are displayed to the customer on the payment screen. Add-ons are plans that the customer has not already subscribed to. The customer selects whether to add an add-on plan to their current order. | |
Array One of: | |
Array of Fixed quantity (object) or Variable quantity (object) Default: [] List of bump plans that are displayed to the customer on the payment screen. Use bump plans to offer purchase bonuses, discounts, and deals to the customer. The customer selects whether to purchase bump plans, or to use the plans that are specified in their current order. | |
Array One of: | |
accountsEnabled | boolean Default: false Specifies if the account is enabled.
If this value is |
couponsEnabled | boolean Default: false Specifies if coupons are enabled in the checkout form.
If this value is |
purchaseLimit | integer or null >= 0 Default: null Limits the number of purchases that can be made using a specific checkout form. If a purchase limit value is set, each purchase decreases this value. When the purchases limit value reaches zero, the checkout form becomes inactive. |
paymentMethods | Array of strings (PaymentMethod) List of available payment methods. Payment methods must have at least one active gateway account. If not specified, all available payment methods are displayed. |
object Visual customization options for the checkout form. | |
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. |
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. |
token | string Session token that is used for authentication. |
Array of objects (SelfLink) Related links. | |
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "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": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "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"
]
}, - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "token": "string",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}