post

This event is sent when a PaySquad payment is cancelled and will return a specific reason (e.g. merchant cancelled).

The PaySquad failed event sends the information about a cancelled PaySquad to your server. As for the other webhooks, you should check the status of the Paysquad with the appropriate endpoints before taking any action.

Payload

Sent when a Paysquad is cancelled by the Squad Leader, the merchant, or Paysquad support before completion.

uuid

The ID of the Paysquad that was cancelled.

string | null
enum

The reason the Paysquad was cancelled. Always Cancellation for this event.

Allowed:
string | null

The event type. Always paysquad.cancelled for this payload.

Headers
string
required

The signature for this webhook. This should be validated against the provided webhook signing key to ensure the webhook is valid.

string
enum
required

The Paysquad environment this webhook originates from, so you can know which signing key to use.

Allowed:
Response
200

Return a 200 status to indicate that the data was received successfully

LoadingLoading…