Interface SettlePermissionsResult

x402 Settle Response - per x402 facilitator spec

interface SettlePermissionsResult {
    creditsRedeemed?: string;
    errorReason?: string;
    network: string;
    orderTx?: string;
    payer?: string;
    remainingBalance?: string;
    success: boolean;
    transaction: string;
}

Properties

creditsRedeemed?: string

Number of credits redeemed (Nevermined extension)

errorReason?: string

Reason for settlement failure (only present if success is false)

network: string

Blockchain network identifier in CAIP-2 format

orderTx?: string

Transaction hash of the order operation if auto top-up occurred (Nevermined extension)

payer?: string

Address of the payer's wallet

remainingBalance?: string

Subscriber's remaining balance (Nevermined extension)

success: boolean

Whether settlement was successful

transaction: string

Blockchain transaction hash (empty string if settlement failed)