Versions in this module Expand all Collapse all v0 v0.0.30 Aug 2, 2022 Changes in this version + type WebhookEvent string + const CardVerificationDeclinedEvent + const CardVerifiedEvent + const DisputeCanceledEvent + const DisputeEvidenceRequiredEvent + const DisputeExpiredEvent + const DisputeLostEvent + const DisputeResolvedEvent + const DisputeWonEvent + const PaymentApprovedEvent + const PaymentCanceledEvent + const PaymentCaptureDeclinedEvent + const PaymentCapturePendingEvent + const PaymentCapturedEvent + const PaymentChargebackEvent + const PaymentDeclinedEvent + const PaymentExpiredEvent + const PaymentPaidEvent + const PaymentPendingEvent + const PaymentRefundDeclinedEvent + const PaymentRefundPendingEvent + const PaymentRefundedEvent + const PaymentRetrievalEvent + const PaymentVoidDeclinedEvent + const PaymentVoidedEvent + const SourceUpdatedEvent v0.0.25 Jul 20, 2022 Changes in this version + type Client struct + API checkout.HTTPClient + func NewClient(config checkout.Config) *Client + func (c *Client) PartiallyUpdateWebhook(webhookID string, request *Request) (*Response, error) + func (c *Client) RegisterWebhook(request *Request) (*Response, error) + func (c *Client) RemoveWebhook(webhookID string) (*Response, error) + func (c *Client) Retrieve() (*Response, error) + func (c *Client) RetrieveWebhook(webhookID string) (*Response, error) + func (c *Client) UpdateWebhook(webhookID string, request *Request) (*Response, error) + type Headers struct + Authorization string + type Request struct + type Response struct + ConfiguredWebhooks []WebhookResponse + StatusResponse *checkout.StatusResponse + Webhook *WebhookResponse + type Webhook struct + Active *bool + ContentType common.WebhookContentType + EventTypes []string + Headers *Headers + URL string + type WebhookResponse struct + Active *bool + ContentType common.WebhookContentType + EventTypes []string + Headers *Headers + ID string + Links map[string]common.Link + URL string + Version string