Introduction

AegisPay lets your website or app accept FPX online banking and DuitNow QR payments in Malaysia through one signed API.

How it works #

  1. Your server creates a payment with POST /v1/payments. AegisPay returns a checkout_url.
  2. You send the payer's browser to checkout_url. They choose their bank (FPX) or scan the QR code (DuitNow QR) and pay.
  3. AegisPay confirms the payment with the bank network, then sends a signed webhook to your server.
  4. The payer is sent back to your return_url. Show "thank you", but fulfil the order only from the webhook or from GET /v1/payments/{id}.
  5. Paid money becomes available after the hold period and is settled to your verified bank account. You can follow it under Payouts in the dashboard.

Environments #

EnvironmentAPI base URLDashboard
Sandboxhttps://sandbox-api.aegispay8.comhttps://sandbox.aegispay8.com
Productionhttps://api.aegispay8.com (issued when your account goes live)Given at go-live

Sandbox and production are completely separate: different merchant IDs, different keys, different AegisPay signing keys. The sandbox talks to the banks' test systems, so no real money moves.

Security model, in one minute #

  • No API passwords. You sign every request with your own RSA private key. AegisPay only ever stores your public key, so a leak on our side can't be used to call the API as you.
  • Every response and webhook is signed by AegisPay. Verify it before you trust it, so nobody in between can fake a "paid".
  • Replay-proof. Each request carries a timestamp and a one-time nonce, and the signature covers the exact body, so it can't be changed or re-sent.
  • Safe retries. An Idempotency-Key on every POST means a retry after a timeout never creates a second payment.
Call the API only from your server. Never put your private key in a browser, a mobile app, or a code repository.

What you need #

  • A merchant dashboard login (with 2FA) from AegisPay or your agent.
  • A server that can make HTTPS requests and keep a private key secret.
  • An HTTPS endpoint on your server to receive webhooks.

Start with the sandbox quickstart: about 30 minutes from nothing to a completed test payment.