- Square Version:
CreateCustomer and UpdateCustomer endpoints. The following changes apply:
phone_numberprovided in the request must be valid.
birthdaycan be specified using
MM-DDformat and is returned in
String-type fields provided in the request (except
note) have a maximum length constraint.
RetrieveCustomer, ListCustomers, and SearchCustomers endpoints. The
birthdayfield is returned in
For more information about these changes, see Migration notes.
InvoiceAcceptedPaymentMethods object. Added the
buy_now_pay_laterfield, which enables customers to pay invoices using Buy Now Pay Later installment payments. For more information, including requirements and processing limits, see Buy Now Pay Later payments with Afterpay. In Square versions 2021-04-21 and higher, Square now accepts the
UpdateInvoicerequests and includes it in returned invoices.
LocationCapability object. Added the
UNLINKED_REFUNDScapability for unlinked refunds support.
The following new types and enums are introduced to replace existing types and enums:
PayoutEntry object. Added the
type_app_fee_revenue_detailsfields. These fields show details related to application fee revenue and application fee refunds.
Refund object. Added four fields to support unlinked refunds, which allows authorized sellers to refund money to buyers without linking to a prior Square-processed payment:
destination_id. The payment card to be refunded.
Trueif the refund is unlinked.
location_id. The seller location where the refund was issued.
customer_id. The customer associated with the card if a refund payment card is saved on file.
If you need more assistance, contact Developer Support or ask for help in the Developer Forums.