x402-chainlink
    Preparing search index...

    Class FacilitatorClient

    HTTP client for communicating with x402 facilitator services

    const client = new FacilitatorClient({
    baseUrl: 'https://facilitator.example.com',
    apiKey: 'your-api-key'
    });

    // Check supported payment kinds
    const supported = await client.supported();

    // Verify a payment
    const verifyResult = await client.verify(payload, requirements);

    // Settle if valid
    if (verifyResult.isValid) {
    const settleResult = await client.settle(payload, requirements);
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods