Skip to content

Checkboxes

These parameters let you change the checkbox texts to match your phrasing. Set them in the Create order call.

  • AskForNewsletterSignupText: the text next to the newsletter checkbox.
  • MerchantProvidedQuestion: an extra true/false checkbox with your own text. It returns whether the customer checked it.

To set the default state of either checkbox, use AskForNewsLetterSignupChecked and MerchantProvidedQuestion - { Checked: "True/False" }.

CreateOrder example:

{
  "AskForNewsLetterSignup": true,
  "AskForNewsletterSignupChecked": true,
  "AskForNewsletterSignUpText": "Customized newsletter box text",
  "SignupForNewsLetter": true,
  "MerchantProvidedQuestion": {
    "Text": "Any text that merchant wants to display",
    "Checked": false
  }
}

Checkboxes