Build standards

Beta

The technical bar every app meets to pass review: security, speed, phones, and what happens when something goes wrong.

Beta

This is in private beta, for approved developers. It works today, and small details may still change.

The one rule for widgets: if anything fails, your widget hides itself. It must never stop a shopper buying.

Everywhere

  • HTTPS only, with TLS 1.2 or later.
  • Ask for the fewest permissions your app needs.
  • Your client secret, webhook secret and store tokens stay on your server, encrypted. Never put them in browser code.
  • When you get a 429, wait for the seconds in Retry-After before trying again.
  • Send an idempotency_key with every usage charge.
  • When you get a 401, the token was revoked because the app was removed. Stop calling.
  • Delete a store’s data within 30 days of app.uninstalled. Never sell or share it.
  • Stay up 99% of each month, keep a support email, and reply within 2 working days. Tell merchants about planned downtime.
  • Plain English. Naira shown as ₦12,500. No hidden charges.

Storefront widgets

  • Show in under 2 seconds on a 4G phone.
  • At most 250 KB of script, gzipped.
  • Work from 360px wide, with no sideways scroll.
  • Use the store’s font and colours, from QC.widget.context().theme.
  • Readable text (contrast of at least 4.5 to 1), a label on every field, and it works with a keyboard.
  • No pop-ups, no sound that plays by itself, and no ads.
  • No trackers, unless they’re declared in your app file and your privacy policy.
  • Collect only the shopper details the widget needs.
The one rule for widgets: if anything fails, your widget hides itself. It must never stop a shopper buying.

Backroom pages

  • Load in under 3 seconds and work on a phone.
  • Check the signed session token we pass on every load before you show store data.
  • Use the merchant’s words, not developer jargon.

Webhooks

  • Answer with a 2xx within 10 seconds, and do the slow work afterwards.
  • Ignore repeats, using X-QC-Delivery.
  • Always check X-QC-Signature, and answer a bad one with 401. See checking the signature.

Updates

  • Your code lives on your own server, so you can fix it any time.
  • A change to permissions, pricing, mounts or what the app does goes back through review first.
  • We check listed apps from time to time. Breaking a rule means a warning, then removal.

Before you submit

  • Every address is HTTPS, and your secrets live only on your server.
  • Each permission is needed, and your listing says why.
  • You wait on 429, stop on 401, and send an idempotency_key with every usage charge.
  • Webhooks: a 2xx within 10 seconds, repeats ignored, bad signatures answered with 401.
  • Widgets: show in under 2 seconds on 4G, at most 250 KB gzipped, no sideways scroll at 360px, the store’s font and colours.
  • Widgets: labels, contrast and keyboard all work. No pop-ups, sound or ads, and no undeclared trackers.
  • You switched your server off, and the widget hid itself while the shopper could still buy.
  • Backroom pages load in under 3 seconds on a phone and check the session token.
  • You delete a store’s data within 30 days of app.uninstalled.
  • Your support email answers, your privacy page loads, and your test notes and screen recording are ready.

Some of these are checked automatically before the Submit button turns on. See Testing and sandbox.

Something unclear or missing? Email owodunnitech@gmail.com. We usually reply within 48 hours, but it can take up to 7 days.