Developers

Integrated
in an afternoon.

A small REST API, signed webhooks and a hosted checkout.

Three steps

Create. Redirect. Verify.

1Create a payment
curl -X POST \
  https://api.payerfox.com/api/v1/payments \
  -H "Authorization: Bearer pd_live_…" \
  -H "Idempotency-Key: ord-1042" \
  -H "Content-Type: application/json" \
  -d '{"amount":"10.00","currency":"USD",
       "merchantOrderId":"ord-1042",
       "tags":["courses"],
       "successUrl":"https://…"}'
2Send the buyer
Redirect
to hosted checkout
OR
Share the link
WhatsApp, email, invoice
3Verify the webhook
// received = signature header (see docs)
const expected = crypto
  .createHmac('sha256', WEBHOOK_SECRET)
  .update(rawBody)
  .digest('hex');

if (!crypto.timingSafeEqual(
  Buffer.from(expected), Buffer.from(received)))
  return res.status(401).end();

if (event.type === 'payment.paid') fulfil(event);
Keys per websiteEvery payment tagged to its site.
Signed webhookspayment.paid · payment.failed
IdempotentRetries never double-charge.
Hosted or linkRedirect, or share the URL.

First key in under a minute.

Create account Add website Generate key
Create free account API documentation API status