NotificationSubscription

NotificationSubscription

Represents a notification subscription owned by a Merchant account.

See Decode notifications for information on how to decode the notification payload and how to interpret its contents.

Fields
name

string

Output only. The name of the notification configuration. Generated by the Merchant API upon creation of a new NotificationSubscription . The account represents the merchant ID of the merchant that owns the configuration. Format: accounts/{account}/notificationsubscriptions/{notification_subscription}

registered_event

NotificationEventType

The event that the merchant wants to be notified about.

call_back_uri

string

URL to be used to push the notification to the merchant.

Union field interested_in .

interested_in can be only one of the following:

all_managed_accounts

bool

If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis.

target_account

string

The name of the account you want to receive notifications for. Format: accounts/{account}