Sarraf API
    Preparing search index...

    Interface FakeProviderOptions

    interface FakeProviderOptions {
        capabilities?: Partial<Capabilities>;
        checkoutKind?: "redirect" | "reference_code";
        redirectBaseUrl?: string;
        secret?: string;
    }
    Index
    capabilities?: Partial<Capabilities>
    checkoutKind?: "redirect" | "reference_code"
    redirectBaseUrl?: string

    Where redirect checkouts send the customer: <redirectBaseUrl>/<providerPaymentId>?reference=…. Point it at a page in your app to click through a fake hosted checkout. Default "https://fake.sarraf.dev/pay" (not a real page).

    secret?: string

    Secret used to sign simulated webhooks. Default "fake_secret".