T402 API Reference - v2.9.0
    Preparing search index...

    Stellar client implementation for the Exact payment scheme.

    Creates signed Soroban transfer transactions that can be submitted by a facilitator to complete the payment.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    scheme: "exact" = SCHEME_EXACT

    Methods

    • Creates a payment payload for the Exact scheme.

      The payload contains a signed Soroban transaction that performs a SEP-41 token transfer from the client to the recipient.

      Parameters

      • t402Version: number

        The t402 protocol version

      • paymentRequirements: PaymentRequirements

        The payment requirements

      Returns Promise<Pick<PaymentPayload, "t402Version" | "payload">>

      Promise resolving to a payment payload