Class PaymentPointer
java.lang.Object
io.fliqa.client.interledger.model.PaymentPointer
Represents a payment pointer and its associated wallet information.
A payment pointer is an Interledger Open Payments identifier that resolves to wallet information including supported assets, authorization endpoints, and resource server URLs. This class contains the resolved wallet metadata retrieved from the payment pointer's well-known endpoint.
Asset Information
The asset code and scale define the currency and precision supported by this wallet:
- Asset Code - Currency code (e.g., "EUR", "USD")
- Asset Scale - Decimal precision (e.g., 2 for cents, 3 for mills)
Server Endpoints
- Auth Server - Authorization server for obtaining grants and tokens
- Resource Server - API server for payments, quotes, and wallet operations
- Since:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe unique identifier URL for this payment pointer.The currency or asset code supported by this wallet (e.g., "EUR", "USD").intThe number of decimal places for the asset.The authorization server URL for obtaining grants and access tokens.The human-readable public name for this wallet.The resource server URL for payment operations. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
address
The unique identifier URL for this payment pointer. This is the canonical address that can be used to reference this wallet. -
publicName
The human-readable public name for this wallet. This name may be displayed to users during payment flows. -
assetCode
The currency or asset code supported by this wallet (e.g., "EUR", "USD"). -
assetScale
public int assetScaleThe number of decimal places for the asset. For example, 2 for currencies like EUR (cents), 3 for mills. -
authServer
The authorization server URL for obtaining grants and access tokens. Used in the OAuth-like flow for payment authorization. -
resourceServer
The resource server URL for payment operations. This is where payment requests, quotes, and wallet operations are performed.
-
-
Constructor Details
-
PaymentPointer
public PaymentPointer()
-
-
Method Details