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.

Key
Description

Notification Type

See: Review

Payment identifier

Payment amount

The amount of the action taken on the payment.

Example: If it is a partial refund, this represents the partial refund amount.

The IP address that sent the request to Paywall

Tracking number provided at the time of payment creation

Currency

See: Review

Payment method

See: Review

Payment installment value

Payment channel ID

See: Review

Payment tag ID. This parameter is included if you provide it at the time of payment creation.

The date the payment was processed

It 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.

The format type used to generate the hash value See: Hash Formats

The 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