2020-09-23 Changelog

Square
Invoices API
Payments API
Refunds API
Documentation
BETA
Link to section

Version summary

Link to section

Details

Link to section

Existing API updates

  • Invoices API (beta)

    • InvoiceStatus enum. Added the PAYMENT_PENDING value. Previously, the Invoices API returned a PAID or PARTIALLY_PAID status for invoices in a payment pending state. Now, the Invoices API returns a PAYMENT_PENDING status for all invoices in a payment pending state, including those previously returned as PAID or PARTIALLY_PAID.
  • Payments API

    • ListPayment. The endpoint now supports the limit parameter.
  • Refunds API

  • DeviceDetails. The object now includes the device_installation_id field.

Link to section

Existing SDK updates

  • PHP SDK
    • File upload endpoints now handle requests with an unset mime-type field.
Link to section

Documentation updates

  • Payment status. Added details about the Payment.status changes and how the status relates to the seller receiving the funds.
  • Refund status. Added details about the PaymentRefund.status changes and how the status relates to the cardholder receiving the funds.
  • CreateRefund errors. Added documentation for the REFUND_DECLINED error code.