• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

Object Index

You are viewing an old version of the API
SubscriptionTestResult BETA

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

Properties

Name Description
id
string

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

Max Length 64
status_code
integer (32-bit)

The status code returned by the subscription notification URL.

payload
string

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

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

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