Interface X402PaymentAccepted

x402 PaymentAccepted response (accepted payment scheme)

interface X402PaymentAccepted {
    accepted: X402Scheme;
    extensions: Record<string, unknown>;
    payload: {
        authorization: {
            from: string;
            sessionKeys: string[];
            sessionKeysProvider: string;
        };
        signature: string;
    };
    x402Version: number;
}

Properties

accepted: X402Scheme

The accepted payment scheme (nvm:erc4337)

extensions: Record<string, unknown>
payload: {
    authorization: {
        from: string;
        sessionKeys: string[];
        sessionKeysProvider: string;
    };
    signature: string;
}

The payload of the payment accepted

Type declaration

  • authorization: {
        from: string;
        sessionKeys: string[];
        sessionKeysProvider: string;
    }
    • from: string
    • sessionKeys: string[]
    • sessionKeysProvider: string
  • signature: string
x402Version: number

The x402 version