PakDataKit - v2.2.0
    Preparing search index...

    Interface RaastP2PQrOptions

    Options for createRaastP2PQr.

    interface RaastP2PQrOptions {
        iban: string;
        scheme?: "00" | "30";
        amount?: number;
        expiresAt?: Date;
        expiresIn?: number | `${number}m` | `${number}h` | `${number}d`;
        bankName?: string;
        particulars?: string;
    }
    Index
    iban: string

    Payee's Pakistani IBAN.

    scheme?: "00" | "30"

    Scheme identifier (tag 02). Defaults to '00', as used by banking apps. '30' is the value listed for Raast in SBP's QR standard.

    amount?: number

    Amount in PKR. When set, the QR is dynamic (point of initiation 12) and expiresAt is required: banking apps reject dynamic QR codes without an expiry, and ignore the amount in static ones.

    expiresAt?: Date

    When a QR with an amount stops working (tag 07). With amount, give this or expiresIn.

    expiresIn?: number | `${number}m` | `${number}h` | `${number}d`

    How long from now a QR with an amount works, instead of expiresAt: milliseconds, or a string such as '30m', '12h' or '7d'.

    bankName?: string

    Payee's bank name (up to 25 characters).

    particulars?: string

    Payment description (up to 30 characters).