Payment Gateway Settings Disconnected

Subscription to the disconnected webhook example:

curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "payment_gateways_settings/disconnected",
"target_url": "URL"
}'

Payment gateway disconnected payload example

{
	"entity_name": "payment_gateways_settings",
  "event_type": "disconnected",
  "data": {
  	"business_uid": string,
    "payment_gateway_name": string,
    "is_connected": boolean,
    "is_primary": boolean,
    "updated_at": string
  }
}