Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.5 KB

checkout-options.md

File metadata and controls

33 lines (25 loc) · 1.5 KB

Checkout Options

Structure

Checkout Options

Fields

Name Type Tags Description
allow_tipping TrueClass|FalseClass Optional Indicates whether the payment allows tipping.
custom_fields Array<Custom Field Hash> Optional The custom fields requesting information from the buyer.
subscription_plan_id String Optional The ID of the subscription plan for the buyer to pay and subscribe.
For more information, see Subscription Plan Checkout.
Constraints: Maximum Length: 255
redirect_url String Optional The confirmation page URL to redirect the buyer to after Square processes the payment.
Constraints: Maximum Length: 2048
merchant_support_email String Optional The email address that buyers can use to contact the seller.
Constraints: Maximum Length: 256
ask_for_shipping_address TrueClass|FalseClass Optional Indicates whether to include the address fields in the payment form.
accepted_payment_methods Accepted Payment Methods Hash Optional -

Example (as JSON)

{
  "allow_tipping": null,
  "custom_fields": null,
  "subscription_plan_id": null,
  "redirect_url": null,
  "merchant_support_email": null,
  "ask_for_shipping_address": null,
  "accepted_payment_methods": null
}