PayFanout API reference
    Preparing search index...

    Interface CompletionRequestBody

    The wire request body the browser POSTs to the completion endpoint.

    interface CompletionRequestBody {
        billingDetails?: {
            address?: {
                city?: string;
                country?: string;
                line1?: string;
                postalCode?: string;
            };
            email?: string;
            name?: string;
        };
        clientToken: string;
        sessionRef: string;
    }
    Index
    billingDetails?: {
        address?: {
            city?: string;
            country?: string;
            line1?: string;
            postalCode?: string;
        };
        email?: string;
        name?: string;
    }

    Optional AVS billing gathered on the payment step, merged at completion.

    clientToken: string

    The single-use token the client adapter's confirm() produced.

    sessionRef: string

    The opaque session reference — the clientSecret the fields were mounted with.