File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ package payrex
33// BillingStatementLineItem is a line item of a [BillingStatement] that pertains
44// to a business's products or services.
55//
6+ // Service: [ServiceBillingStatementLineItems]
7+ //
68// API reference: https://docs.payrexhq.com/docs/api/billing_statement_line_items
79type BillingStatementLineItem struct {
810 BaseResource
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ package payrex
22
33// CheckoutSession is used to notify your application about events in your PayRex account.
44//
5+ // Service: [ServiceCheckoutSessions]
6+ //
57// API reference: https://docs.payrexhq.com/docs/api/checkout_sessions
68type CheckoutSession struct {
79 BaseResource
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ package payrex
22
33// TODO: add doc comments for resources when PayRex adds official docs for CustomerSession
44
5+ // CustomerSession represents a customer session.
6+ //
7+ // Service: [CustomerSession]
58type CustomerSession struct {
69 BaseResource
710 CustomerID string `json:"customer_id"`
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import "net/http"
66//
77// Payouts are made depending on the payout schedule for your PayRex merchant account.
88//
9+ // Service: [ServicePayouts]
10+ //
911// API reference: https://docs.payrexhq.com/docs/api/payouts
1012type Payout struct {
1113 BaseResource
@@ -35,6 +37,8 @@ type PayoutDestination struct {
3537//
3638// Every [PayoutTransaction] belongs to a [Payout] resource.
3739//
40+ // Service: [ServicePayouts]
41+ //
3842// API reference: https://docs.payrexhq.com/docs/api/payout_transactions
3943type PayoutTransaction struct {
4044 // Unique identifier for the resource.
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ package payrex
22
33// Refund resources represent a refunded amount of a paid payment.
44//
5+ // Service: [ServiceRefunds]
6+ //
57// API reference: https://docs.payrexhq.com/docs/api/refunds
68type Refund struct {
79 BaseResource
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ package payrex
22
33// Webhook is used to notify your application about events in your PayRex account.
44//
5+ // Service: [ServiceWebhooks]
6+ //
57// API reference: https://docs.payrexhq.com/docs/api/webhooks
68type Webhook struct {
79 BaseResource
You can’t perform that action at this time.
0 commit comments