General Communication
Callbacks sent to the address(es) you defined under Payment Settings > Callback in the Paywall panel, based on the conditions you specified.
Example: You have an address like https://domain.com/paywall/generalcallback and registered it in the Paywall panel. During the setup, you specified that only Refunds, Cancellations, and Partial Refunds should be sent to this address. In this case, Paywall sends notifications to the specified address only for payments in those specific statuses.
TypeNotification Type
See: Review
PaymentIdPayment identifier
AmountPayment amount
OperationAmountThe amount of the action taken on the payment.
Example: If it is a partial refund, this represents the partial refund amount.
IPThe IP address that sent the request to Paywall
UniqueCodeTracking number provided at the time of payment creation
CurrencyIdCurrency
See: Review
PaymentMethodIdPayment method
See: Review
InstallmentPayment installment value
ChannelIdPayment channel ID
See: Review
TagIdPayment tag ID. This parameter is included if you provide it at the time of payment creation.
DateTimeThe date the payment was processed
HashIt is the Hash value used to verify that the request originated from Paywall. It is generated using the System Webhook Hash Key created in the Paywall panel.
The key mentioned above may vary depending on the value of the HashKeyType parameter. A dynamic structure should be implemented.
HashFormatThe format type used to generate the hash value See: Hash Formats
HashKeyTypeThe type of key used in generating the hash value See: Key Types
public class GeneralCallbackModel
{
public int Type { get; set; }
public int PaymentId { get; set; }
public decimal Amount { get; set; }
public decimal OperationAmount { get; set; }
public string IP { get; set; }
public string UniqueCode { get; set; }
public short CurrencyId { get; set; }
public int PaymentMethodId { get; set; }
public byte Installment { get; set; }
public int ChannelId { get; set; }
public int TagId { get; set; }
public DateTime DateTime { get; set; }
public string Hash { get; set; }
}Last updated