OMPX JavaScript SDK
    Preparing search index...

    Interface X402PaymentAccept

    A single payment option advertised by a server in X402 PAYMENT-REQUIRED

    interface X402PaymentAccept {
        amount: string;
        asset: string;
        extra?: Record<string, unknown>;
        maxTimeoutSeconds: number;
        network?: string;
        networkId?: string;
        payTo: string;
        scheme: "exact" | "upto";
    }
    Index

    Properties

    amount: string
    asset: string
    extra?: Record<string, unknown>
    maxTimeoutSeconds: number
    network?: string

    Alias used by some X402 servers (same meaning as networkId)

    networkId?: string

    Some gateways emit network instead of networkId — see acceptCaip2Network

    payTo: string
    scheme: "exact" | "upto"