Class PaymentPointer

java.lang.Object
io.fliqa.client.interledger.model.PaymentPointer

public class PaymentPointer extends Object
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 Details

    • address

      public URI address
      The unique identifier URL for this payment pointer. This is the canonical address that can be used to reference this wallet.
    • publicName

      public String publicName
      The human-readable public name for this wallet. This name may be displayed to users during payment flows.
    • assetCode

      public String assetCode
      The currency or asset code supported by this wallet (e.g., "EUR", "USD").
    • assetScale

      public int assetScale
      The number of decimal places for the asset. For example, 2 for currencies like EUR (cents), 3 for mills.
    • authServer

      public URI authServer
      The authorization server URL for obtaining grants and access tokens. Used in the OAuth-like flow for payment authorization.
    • resourceServer

      public URI 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