PayFanout API reference
    Preparing search index...

    Interface ResolvedCompletionSession

    What the host resolves from the opaque completion reference the browser sent. Because the client already holds the session's clientSecret (it mounted <PaymentFields> with it), that value is a sufficient reference — no host-minted id needs to travel through session-creation responses and every checkout component. For the tokenize-first adapters the session token IS the pspSessionId, so resolveSession is often just a lookup for pspName plus a stable idempotency key.

    interface ResolvedCompletionSession {
        idempotencyKey: string;
        pspName: string;
        pspSessionId: string;
        service: PaymentService;
    }
    Index
    idempotencyKey: string

    Idempotency key for this completion (required). Return a STABLE key per session so a retried POST dedupes at the PSP instead of double-charging.

    pspName: string

    The PSP the session was created on (what createPaymentSession/the router reported).

    pspSessionId: string

    The session id completePayment finalizes.

    The tenant-scoped service that owns the routed PSP.