Developers
Everything you need to build, test, and launch with PayHalal — docs, samples, and integration essentials.
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 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");Developer essentials
Start fast with documentation, tools, and sample code designed for real production integrations.
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
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
Developer resources
Clear guides, references, and walkthroughs to help you ship faster and safer.
API Reference
View backend API objects, methods, attributes, and responses.
Checkout Demo
Choose your use case for a secure, PayHalal-hosted payment page.
YouTube Tutorials
Watch engineers walk through code examples and developer product updates.
Developer Updates
Subscribe for API changes, new features, and best practices.
Stay up to date
Get updates on PayHalal’s API and developer products. Read recent issues on dev.to.
We’ll only send product updates and important integration notices.