Global API
...
Request
Checkout URL
Checkout URL - Square
2min
the following properties can be provided to create a checkout url in square those marked with are required square checkout url field name data type description processorid string square processor id action string this will be “ createcheckouturl " locationid string if blank, we will request the “main” location by using this retrieve location checkouttype string checkout urls can be of two types quick pay checkout and order checkout to differentiate the type of checkout, this field is required allowtipping boolean to add tips while creating a payment customerid string square customer id (processor customer id) if specified corresponding transactions will be explicitly linked to the customer if ignored, the transactions will not be linked to any customer and will result in the creation of instant profiles lineitems object list of line items (see below) at least one line item is required to create checkout line items field name data type description quantity string quantity unitprice string base price money amount itemcurrency string base price money currency name string name note string note