Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

CreateWebhookSignatureRequest.cs

using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models;

namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Webhooks;

/// 
/// Represents the request to verify a webhook signature
/// 
public class CreateWebhookSignatureRequest : WebhookSignature, IAuthorizedRequest
{
    #region Properties

    /// 
    /// Gets the request path
    /// 
    [JsonIgnore]
    public string Path => $"v1/notifications/verify-webhook-signature?";

    /// 
    /// Gets the request method
    /// 
    [JsonIgnore]
    public string Method => HttpMethods.Post;

    #endregion
}