AkiliPay
Core concepts

Security

A few practices keep your integration and your customers safe.

Transport

All API traffic must use HTTPS. Requests over plain HTTP are rejected.

Webhook signatures

Every webhook carries an x-akilipay-signature header of the form t=<unix>,v1=<hex>. Verify it by computing an HMAC-SHA256 of `${timestamp}.${rawBody}` with your endpoint secret and comparing in constant time. See Webhooks for ready-made verification code.

Credential handling

  • Keep secret keys and webhook secrets in environment variables or a secrets manager.
  • Never expose a secret key in frontend code, a mobile bundle, or a public repo.
  • Reject webhook events whose timestamp is older than a few minutes to resist replay.