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

    Interface SettlePermissionsParams

    Parameters for settling permissions

    interface SettlePermissionsParams {
        agentRequestId?: string;
        batch?: boolean;
        marginPercent?: number;
        maxAmount?: bigint;
        paymentRequired: VisaPaymentRequired | X402PaymentRequired;
        x402AccessToken: string;
    }
    Index

    Properties

    agentRequestId?: string

    Agent request ID for observability tracking. Returned by verifyPermissions.

    batch?: boolean

    Whether this is a batch request (multiple LLM calls under one agentRequestId)

    marginPercent?: number

    Margin percentage (0-10) for credit calculation. Mutually exclusive with maxAmount when agentRequestId provided.

    maxAmount?: bigint

    Number of credits to burn (optional)

    The server's 402 PaymentRequired response (NVM or Visa flavored)

    x402AccessToken: string

    The X402 access token (base64-encoded)