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

    Interface IssueMppChallengeParams

    interface IssueMppChallengeParams {
        agentId?: string;
        credits: string | number | bigint;
        description?: string;
        digest?: string;
        httpVerb: string;
        planId: string;
        resource: string;
    }
    Index

    Properties

    agentId?: string
    credits: string | number | bigint

    Credits the buyer is asked to redeem. Sent as a decimal string.

    description?: string
    digest?: string

    sha-256=<base64> digest binding the challenge to one request body.

    httpVerb: string

    HTTP verb of that resource. Part of the same binding.

    planId: string

    The Nevermined plan the credits are burned against.

    resource: string

    The protected resource. Sealed into the challenge and re-asserted at redeem.