billing.go 396 B

123456789101112
  1. package types
  2. import "github.com/stripe/stripe-go/v76"
  3. // CreateBillingCustomerRequest is a request for creating a new billing customer.
  4. type CreateBillingCustomerRequest struct {
  5. UserEmail string `json:"user_email" form:"required"`
  6. }
  7. // PaymentMethod is a wrapper for the Stripe type, but it may be changed to include only
  8. // the necessary fields.
  9. type PaymentMethod = *stripe.PaymentMethod