@nevermined-io/payments
    Preparing search index...

    Function buildVisaPaymentRequired

    • Build a Visa-flavored X402PaymentRequired object.

      This is the Visa counterpart of buildPaymentRequired (which builds NVM-flavored ones).

      Parameters

      • options: {
            amount: string;
            asset?: string;
            description?: string;
            endpoint?: string;
            maxTimeoutSeconds?: number;
            merchantCountryCode?: string;
            merchantName?: string;
            merchantUrl?: string;
            payTo: string;
        }

      Returns VisaPaymentRequired