Class: Aws::BedrockAgentCore::Types::CryptoX402PaymentInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::CryptoX402PaymentInput
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
The input for a crypto X402 payment.
Constant Summary collapse
- SENSITIVE =
[:payload]
Instance Attribute Summary collapse
-
#payload ⇒ Hash, ...
The X402 payment payload.
-
#permit2_allowance_limit ⇒ String
The maximum on-chain Permit2 allowance to grant before signing the payment authorization, in the asset's smallest denomination.
-
#version ⇒ String
The version of the X402 protocol.
Instance Attribute Details
#payload ⇒ Hash, ...
The X402 payment payload.
1924 1925 1926 1927 1928 1929 1930 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1924 class CryptoX402PaymentInput < Struct.new( :version, :payload, :permit2_allowance_limit) SENSITIVE = [:payload] include Aws::Structure end |
#permit2_allowance_limit ⇒ String
The maximum on-chain Permit2 allowance to grant before signing the
payment authorization, in the asset's smallest denomination. This
field is valid only for the upto (metered) scheme; supplying it
for the exact scheme returns a validation error.
When set, the service approves an ERC-20 allowance for this amount
before processing the payment. The approval sets, rather than adds
to, the wallet's allowance. Set this field only when the wallet
needs approving, for example on its first upto payment, to avoid a
redundant on-chain transaction. Omit the field to skip allowance
handling. This is the default, and the only behavior for the exact
scheme.
1924 1925 1926 1927 1928 1929 1930 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1924 class CryptoX402PaymentInput < Struct.new( :version, :payload, :permit2_allowance_limit) SENSITIVE = [:payload] include Aws::Structure end |
#version ⇒ String
The version of the X402 protocol.
1924 1925 1926 1927 1928 1929 1930 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1924 class CryptoX402PaymentInput < Struct.new( :version, :payload, :permit2_allowance_limit) SENSITIVE = [:payload] include Aws::Structure end |