- Marketing consent, such as permission to send offers by email or SMS
- Newsletter signup
- Acceptance of your own terms, such as membership or club terms

Custom checkboxes are available in Express Checkout only.
If you use an e-commerce platform or plugin, the platform creates the session for you. Ask your platform provider if they support custom checkboxes, since the platform also needs to read the customer’s choice from the transaction.
Add checkboxes to a session
Add a top-levelcheckboxes array when you create the session.
Request
Use the same checkboxes for every session
To apply the same checkboxes to every session that uses a profile, setconfiguration.checkboxes on the session profile instead of on each session.
Read the customer’s choice
When the customer checks or unchecks a checkbox, the checkout updates the session. After payment, the transaction includes acheckboxes array with the final checked value for each checkbox.
1
Get the transaction ID
Read
transaction_id from the callback or return URL.2
Fetch the transaction
Call GET /transactions/{id}.
Request
3
Find the checkbox by ID
Look up the checkbox in The response is shortened. In this example,
checkboxes by the id you set on the session. Use customer.email or customer.phone_number to identify who gave consent.Response
checked is true, so the customer gave consent to receive offers by email.