PayFanout API reference
    Preparing search index...

    Interface WorldlinePaymentLike

    Structural subset of a Worldline payment object (GET /payments/{id} and create responses).

    interface WorldlinePaymentLike {
        id: string;
        paymentOutput?: {
            amountOfMoney?: { amount?: number; currencyCode?: string };
            cardPaymentMethodSpecificOutput?: WorldlineCardOutput;
            merchantParameters?: string | null;
            references?: {
                merchantParameters?: string | null;
                merchantReference?: string;
            };
            transactionDate?: string
            | null;
        };
        status?: string;
        statusOutput?: {
            errors?: WorldlineApiError[];
            isCancellable?: boolean;
            statusCategory?: string;
            statusCode?: number;
        };
    }
    Index
    id: string
    paymentOutput?: {
        amountOfMoney?: { amount?: number; currencyCode?: string };
        cardPaymentMethodSpecificOutput?: WorldlineCardOutput;
        merchantParameters?: string | null;
        references?: {
            merchantParameters?: string | null;
            merchantReference?: string;
        };
        transactionDate?: string
        | null;
    }

    Type Declaration

    • OptionalamountOfMoney?: { amount?: number; currencyCode?: string }
    • OptionalcardPaymentMethodSpecificOutput?: WorldlineCardOutput
    • OptionalmerchantParameters?: string | null

      Replaced by references.merchantParameters (API contract); read only when that is absent.

    • Optionalreferences?: { merchantParameters?: string | null; merchantReference?: string }

      merchantParameters echoes the session metadata the adapter sent, JSON-encoded.

    • OptionaltransactionDate?: string | null

      "The server-side processing date and time of the transaction" (API contract).

    status?: string
    statusOutput?: {
        errors?: WorldlineApiError[];
        isCancellable?: boolean;
        statusCategory?: string;
        statusCode?: number;
    }

    Type Declaration

    • Optionalerrors?: WorldlineApiError[]

      Why a failed payment failed, in the shape of an error body's errors.

    • OptionalisCancellable?: boolean
    • OptionalstatusCategory?: string
    • OptionalstatusCode?: number