La documentation technique est en anglais, pour vous et pour votre agent IA.

Going live

Test mode is open to everyone. Live mode (real money) opens once we know who you are and what you sell. It usually takes less than a day.

1. Verify your identity (3 minutes)

Dashboard → Verification → Step 1. You photograph your national ID card (CNI), passport or residence permit, then take a short video selfie. The check is done by Didit, our identity provider; Patronise Dev keeps only the result (approved or not, and the name on the document), never the images.

2. Verify your business

Dashboard → Verification → Step 2. Fill in your business name, RCCM and NIU (or your country's equivalents), what you sell, and upload the documents (PDF, JPG or PNG). A sole trader can upload a business licence (patente) or proof of activity. Our team reviews it within one business day.

3. Switch to live

When both are approved:

  1. Create a live secret key in Dashboard → API keys (sk_live_…).
  2. Add your live webhook endpoint in Dashboard → Webhooks (switch the dashboard to Live). It has its own signing secret.
  3. Replace the test key and webhook secret in your server's environment variables.

Your code stays the same.

Checklist before launch

  • Secret key only on the server, from an environment variable.
  • Idempotency-Key on every POST.
  • Webhook signature checked over the raw body.
  • Orders fulfilled from payment.succeeded (or GET /v1/payments/{id}), never from the redirect.
  • Duplicate webhooks handled (same event id twice).
  • A clear "Confirm on your phone" screen for ussd_prompt payments.

Besoin d’aide pour l’intégrer ?