Connection test

Sent when the customer presses Send test webhook on the connection screen (not on saving).
Check the signature, that you know the installation of data.connection.account_id, and the settings, then answer 200.
The same press also sends a sample invoice.create with "test": true.

Payload

Common envelope of every message (Standard Webhooks payload format).

const
enum
required

Message type.

Allowed:
date-time
required

When the message was created (not the attempt time).

boolean
Defaults to false

Test message – validate it, but do not issue a legally valid document.

data
object
required
Headers
string
required
length ≤ 100

Unique message id, identical on every retry of the same message. Use it for idempotency.

integer
required

Unix timestamp (seconds) of this attempt. Reject if more than 5 minutes off.

string
required

Space-separated v1,<base64> signatures.

Responses

LoadingLoading…