PayHalal Developer Platform

Developers

Everything you need to build, test, and launch with PayHalal — docs, samples, and integration essentials.

All systems operational
API, webhooks, and dashboard are running normally.
Shariah-compliant onboardingSecure API flowsProduction-ready patterns
API Status
Live (Production)
API Version
v1
Security
Signed callbacks + best practices
Typical setup
Keys → Test → Go live
Quick integration
v1 examples
Create a payment
curl -X POST https://api.payhalal.my/pay_v2 \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 1990,
    "currency": "MYR",
    "description": "Order #1001",
    "customer": { "email": "[email protected]" }
  }'
Verify webhook signature
// Verify callback signature (pseudo-example)
const signature = req.headers["payhalal-signature"];
const payload = JSON.stringify(req.body);

if (!verifySignature(payload, signature, process.env.WEBHOOK_SECRET)) {
  return res.status(401).send("Invalid signature");
}

return res.status(200).send("OK");
THE IMPORTANT STUFF

Developer essentials

Start fast with documentation, tools, and sample code designed for real production integrations.

Live

Documentation

Explore guides and examples to integrate PayHalal — from payments to automation.

  • Payments — accept online and in-person payments
  • Finance automation — automate your revenue lifecycle
  • Banking as a Service — move, control, and borrow money
Examples

Samples

Copy-ready sample code to kickstart your PayHalal integration with confidence.

  • Accept one-time payments with PayHalal Checkout
  • Combine Checkout and Billing for subscription pages
  • Accept payments on web, iOS, or Android
THE READING STUFF

Developer resources

Clear guides, references, and walkthroughs to help you ship faster and safer.

API Reference

Endpoints

View backend API objects, methods, attributes, and responses.

Checkout Demo

Hosted checkout

Choose your use case for a secure, PayHalal-hosted payment page.

Coming soon

YouTube Tutorials

Video guides

Watch engineers walk through code examples and developer product updates.

Coming soon

Developer Updates

Changelog

Subscribe for API changes, new features, and best practices.

Coming soon
Developer Digest

Stay up to date

Get updates on PayHalal’s API and developer products. Read recent issues on dev.to.

Subscribe to us now

We’ll only send product updates and important integration notices.