webhooks

package
v0.0.0-...-1f8cd32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: BSD-3-Clause, MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	APIVersion *string           `json:"apiVersion,omitempty"`
	ID         *string           `json:"id,omitempty"`
	Created    *string           `json:"created,omitempty"`
	MerchantID *string           `json:"merchantId,omitempty"`
	Type       *string           `json:"type,omitempty"`
	Payment    *payment.Response `json:"payment,omitempty"`
	Refund     *refund.Response  `json:"refund,omitempty"`
	Payout     *payout.Response  `json:"payout,omitempty"`
	Token      *token.Response   `json:"token,omitempty"`
	Dispute    *dispute.Response `json:"dispute,omitempty"`
}

Event represents an event that is sent by webhooks

func NewEvent

func NewEvent() (*Event, error)

NewEvent constructs a new Event

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL