Beispiel #1
0
        /// <summary>
        /// Set a webhook config.
        /// </summary>
        /// <param name="tpp">The TPP member</param>
        public static void SetWebhookConfig(TppMember tpp)
        {
            WebhookConfig config = new WebhookConfig
            {
                Url = "http://example.token.io/webhook"
            };

            config.Type.Add(EventType.TransferStatusChanged);

            tpp.SetWebhookConfigBlocking(config);
        }