Function buildVisaPaymentRequired
- buildVisaPaymentRequired(options): VisaPaymentRequired
Parameters
- options: {
amount: string;
asset?: string;
description?: string;
endpoint?: string;
maxTimeoutSeconds?: number;
merchantCountryCode?: string;
merchantName?: string;
merchantUrl?: string;
payTo: string;
}amount: string
Optional asset?: string
Optional description?: string
Optional endpoint?: string
Optional maxTimeoutSeconds?: number
Optional merchantCountryCode?: string
Optional merchantName?: string
Optional merchantUrl?: string
payTo: string
Build a Visa-flavored X402PaymentRequired object.
This is the Visa counterpart of
buildPaymentRequired(which builds NVM-flavored ones).