<- Object

Object

All versions ->

SubscriptionTestResult

Represents the details of a webhook subscription, including notification URL, event types, and signature key.

Link to section

Properties

Link to section

id

string

Read only A Square-generated unique ID for the subscription test result.

Link to section

status_code

integer(32-bit)

The status code returned by the subscription notification URL.

Link to section

payload

string

An object containing the payload of the test event. For example, a payment.created event.

Link to section

created_at

string

Read only The timestamp of when the subscription was created, in RFC 3339 format. For example, "2016-09-04T23:59:33.123Z".

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

Link to section

updated_at

string

Read only The timestamp of when the subscription was updated, in RFC 3339 format. For example, "2016-09-04T23:59:33.123Z". Because a subscription test result is unique, this field is the same as the created_at field.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00