payments

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(sg *echo.Group)

func CheckoutWebhookHandler added in v1.1.8

func CheckoutWebhookHandler(c echo.Context) error

func CreateCheckoutSessionHandler added in v1.1.8

func CreateCheckoutSessionHandler(c echo.Context) error

Types

type CreateCheckoutSessionOptions

type CreateCheckoutSessionOptions struct {
	OrgID    string `query:"org_id"`
	Quantity int64  `query:"quantity"`
	Plan     Plan   `query:"plan"`
}

type Plan added in v1.1.8

type Plan string
const (
	Monthly Plan = "monthly"
	Annual  Plan = "annual"
)

Jump to

Keyboard shortcuts

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