Sarraf API
    Preparing search index...

    Interface PaymobTransaction

    Paymob transaction object (callback obj and transaction inquiry response share this shape).

    interface PaymobTransaction {
        amount_cents: number;
        captured_amount?: number;
        created_at?: string;
        currency: string;
        data?: {
            bill_reference?: string | number;
            message?: string;
            txn_response_code?: string | number;
            [k: string]: unknown;
        };
        error_occured?: boolean;
        id: number;
        integration_id?: number;
        is_auth?: boolean;
        is_capture?: boolean;
        is_refund?: boolean;
        is_refunded?: boolean;
        is_void?: boolean;
        is_voided?: boolean;
        order?: number
        | { id: number; merchant_order_id?: string | null };
        parent_transaction?: number | null;
        pending: boolean;
        refunded_amount_cents?: number;
        source_data?: { pan?: string; sub_type?: string; type?: string };
        special_reference?: string;
        success: boolean;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    amount_cents: number
    captured_amount?: number
    created_at?: string
    currency: string
    data?: {
        bill_reference?: string | number;
        message?: string;
        txn_response_code?: string | number;
        [k: string]: unknown;
    }

    Type Declaration

    • [k: string]: unknown
    • Optionalbill_reference?: string | number

      Kiosk (Aman / Masary) payment reference.

    • Optionalmessage?: string
    • Optionaltxn_response_code?: string | number
    error_occured?: boolean
    id: number
    integration_id?: number
    is_auth?: boolean
    is_capture?: boolean
    is_refund?: boolean
    is_refunded?: boolean
    is_void?: boolean
    is_voided?: boolean
    order?: number | { id: number; merchant_order_id?: string | null }
    parent_transaction?: number | null

    Original transaction id on refund / void / capture transactions.

    pending: boolean
    refunded_amount_cents?: number
    source_data?: { pan?: string; sub_type?: string; type?: string }
    special_reference?: string
    success: boolean