< Back to changelog

2020-09-23 Changelog

Square
Invoices API
Payments API
Refunds API


Version Summary


Existing API updates Permalink Get a link to this section

  • 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.

Existing SDK updates Permalink Get a link to this section

  • PHP SDK

    • File upload endpoints now handle requests with an unset mime-type field.

Documentation updates Permalink Get a link to this section

  • 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.