All guides
TypeScript SDK
MrfqyClient wraps the REST API with typed pagination, bilingual fields, and webhook verification helpers.
Install (early access)
Contact developer portal for early access — npm publish coming soon
Authenticate
Pass a store API key from Apps → Mrfqy API, or an OAuth access token (oat_…) from the token endpoint.
import { MrfqyClient } from "@mrfqy/sdk";
const client = new MrfqyClient({
apiKey: process.env.MRFQY_ACCESS_TOKEN!,
baseUrl: "https://api.mrfqy.com/api/v1",
});List orders
Orders expose currency, totals, bilingual line titles, and payment status — aligned with Arab checkout flows.
