Class: Telnyx::Resources::X402

Inherits:
Object
  • Object
show all
Defined in:
lib/telnyx/resources/x402.rb,
lib/telnyx/resources/x402/credit_account.rb

Defined Under Namespace

Classes: CreditAccount

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ X402

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of X402.

Parameters:



14
15
16
17
# File 'lib/telnyx/resources/x402.rb', line 14

def initialize(client:)
  @client = client
  @credit_account = Telnyx::Resources::X402::CreditAccount.new(client: client)
end

Instance Attribute Details

#credit_accountTelnyx::Resources::X402::CreditAccount (readonly)

Operations for x402 cryptocurrency payment transactions. Fund your Telnyx account using USDC stablecoin payments via the x402 protocol.



9
10
11
# File 'lib/telnyx/resources/x402.rb', line 9

def 
  @credit_account
end