Class: Pago::V2026_04::Client

Inherits:
BaseClient show all
Defined in:
lib/pago/v2026_04/client.rb,
sig/pago/v2026_04/generated.rbs

Overview

Client for version 2026-04 of the Pago API.

Examples:

client = Pago::V2026_04::Client.new(access_token: ENV.fetch("PAGO_ACCESS_TOKEN"))
client.organizations

Constant Summary collapse

API_VERSION =

Returns:

  • (String)
"2026-04"

Constants inherited from BaseClient

BaseClient::DEFAULT_BASE_URL, BaseClient::SANDBOX_BASE_URL

Instance Attribute Summary

Attributes inherited from BaseClient

#adapter, #base_url

Instance Method Summary collapse

Methods inherited from BaseClient

#api_version, #initialize, #request

Constructor Details

This class inherits a constructor from Pago::BaseClient

Instance Method Details

#benefit_grantsServices::BenefitGrants



54
# File 'lib/pago/v2026_04/client.rb', line 54

def benefit_grants = @benefit_grants ||= Services::BenefitGrants.new(self)

#benefitsServices::Benefits

Returns:



51
# File 'lib/pago/v2026_04/client.rb', line 51

def benefits = @benefits ||= Services::Benefits.new(self)


84
# File 'lib/pago/v2026_04/client.rb', line 84

def checkout_links = @checkout_links ||= Services::CheckoutLinks.new(self)

#checkoutsServices::Checkouts

Returns:



72
# File 'lib/pago/v2026_04/client.rb', line 72

def checkouts = @checkouts ||= Services::Checkouts.new(self)

#custom_fieldsServices::CustomFields



87
# File 'lib/pago/v2026_04/client.rb', line 87

def custom_fields = @custom_fields ||= Services::CustomFields.new(self)

#customer_metersServices::CustomerMeters



117
# File 'lib/pago/v2026_04/client.rb', line 117

def customer_meters = @customer_meters ||= Services::CustomerMeters.new(self)

#customer_portalServices::CustomerPortal



99
# File 'lib/pago/v2026_04/client.rb', line 99

def customer_portal = @customer_portal ||= Services::CustomerPortal.new(self)

#customer_seatsServices::CustomerSeats



102
# File 'lib/pago/v2026_04/client.rb', line 102

def customer_seats = @customer_seats ||= Services::CustomerSeats.new(self)

#customer_sessionsServices::CustomerSessions



105
# File 'lib/pago/v2026_04/client.rb', line 105

def customer_sessions = @customer_sessions ||= Services::CustomerSessions.new(self)

#customersServices::Customers

Returns:



93
# File 'lib/pago/v2026_04/client.rb', line 93

def customers = @customers ||= Services::Customers.new(self)

#discountsServices::Discounts

Returns:



90
# File 'lib/pago/v2026_04/client.rb', line 90

def discounts = @discounts ||= Services::Discounts.new(self)

#disputesServices::Disputes

Returns:



69
# File 'lib/pago/v2026_04/client.rb', line 69

def disputes = @disputes ||= Services::Disputes.new(self)

#event_typesServices::EventTypes



111
# File 'lib/pago/v2026_04/client.rb', line 111

def event_types = @event_types ||= Services::EventTypes.new(self)

#eventsServices::Events

Returns:



108
# File 'lib/pago/v2026_04/client.rb', line 108

def events = @events ||= Services::Events.new(self)

#filesServices::Files

Returns:



75
# File 'lib/pago/v2026_04/client.rb', line 75

def files = @files ||= Services::Files.new(self)

#license_keysServices::LicenseKeys



81
# File 'lib/pago/v2026_04/client.rb', line 81

def license_keys = @license_keys ||= Services::LicenseKeys.new(self)

#membersServices::Members

Returns:



96
# File 'lib/pago/v2026_04/client.rb', line 96

def members = @members ||= Services::Members.new(self)

#metersServices::Meters

Returns:



114
# File 'lib/pago/v2026_04/client.rb', line 114

def meters = @meters ||= Services::Meters.new(self)

#metricsServices::Metrics

Returns:



78
# File 'lib/pago/v2026_04/client.rb', line 78

def metrics = @metrics ||= Services::Metrics.new(self)

#oauth2Services::Oauth2

Returns:



48
# File 'lib/pago/v2026_04/client.rb', line 48

def oauth2 = @oauth2 ||= Services::Oauth2.new(self)

#ordersServices::Orders

Returns:



63
# File 'lib/pago/v2026_04/client.rb', line 63

def orders = @orders ||= Services::Orders.new(self)

#organizationsServices::Organizations



42
# File 'lib/pago/v2026_04/client.rb', line 42

def organizations = @organizations ||= Services::Organizations.new(self)

#paymentsServices::Payments

Returns:



120
# File 'lib/pago/v2026_04/client.rb', line 120

def payments = @payments ||= Services::Payments.new(self)

#productsServices::Products

Returns:



60
# File 'lib/pago/v2026_04/client.rb', line 60

def products = @products ||= Services::Products.new(self)

#refundsServices::Refunds

Returns:



66
# File 'lib/pago/v2026_04/client.rb', line 66

def refunds = @refunds ||= Services::Refunds.new(self)

#subscriptionsServices::Subscriptions



45
# File 'lib/pago/v2026_04/client.rb', line 45

def subscriptions = @subscriptions ||= Services::Subscriptions.new(self)

#webhooksServices::Webhooks

Returns:



57
# File 'lib/pago/v2026_04/client.rb', line 57

def webhooks = @webhooks ||= Services::Webhooks.new(self)