Skip to main content

Square notifications API (0)

Download OpenAPI specification:Download

This API will be used by Square to send notifications related to Square payments.

NewStore partners with Square as the PSP for retailers with stores in Japan. To integrate Square with NewStore, see Integrating Square.

To configure Square, contact the support team.

Update payment status

When this method is called by Square, the status of the payment transaction is updated in the NewStore platform.

Each message has a type and a data field with the event payload. The integration should be configured in the Square portal.

Request Body schema: application/json
type
required
string

The type of event that triggered the webhook. Example: payment.created, payment.updated

required
object

Responses

Request samples

Content type
application/json
{
  • "type": "payment.created",
  • "data": {
    }
}