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
Type

Notification Type

See: Review

PaymentId

Payment identifier

Amount

Payment amount

OperationAmount

The amount of the action taken on the payment.

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

IP

The IP address that sent the request to Paywall

UniqueCode

Tracking number provided at the time of payment creation

CurrencyId

Currency

See: Review

PaymentMethodId

Payment method

See: Review

Installment

Payment installment value

ChannelId

Payment channel ID

See: Review

TagId

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

DateTime

The date the payment was processed

Hash

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.

HashFormat

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

HashKeyType

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