PayFanout API reference
    Preparing search index...

    Interface UpdatePaymentSessionInput

    Amendments to a not-yet-completed session (cart total changed, address arrived late). Fields omitted are left unchanged. Some PSPs re-issue the session (new pspSessionId/clientSecret) — always continue with the RETURNED PaymentSession, never the one captured before the update.

    interface UpdatePaymentSessionInput {
        amount?: number;
        currency?: string;
        idempotencyKey: string;
        metadata?: Record<string, string>;
        pspSessionId: string;
        receiptEmail?: string;
        shippingDetails?: ShippingDetails;
        statementDescriptor?: string;
    }
    Index
    amount?: number
    currency?: string
    idempotencyKey: string
    metadata?: Record<string, string>
    pspSessionId: string
    receiptEmail?: string
    shippingDetails?: ShippingDetails
    statementDescriptor?: string