Get credentials
Find your VA and API Key in the iPaymu dashboard. Use sandbox credentials for testing.
Getting startedIPAYMU API V2 DOCUMENTATION
Choose Redirect for checkout on an iPaymu page, or Direct to select a payment method right from your app.
A quick path for developers
POST /api/v2/paymentDirect POST /api/v2/payment/directCHOOSE A PATH
The docs are organized around the task you want to complete.
INTEGRATION FLOW
Find your VA and API Key in the iPaymu dashboard. Use sandbox credentials for testing.
Getting startedCreate an HMAC-SHA256 signature and include a timestamp in each API request.
Signature guideRedirect opens iPaymu's checkout page; Direct selects the method and channel in your app.
Compare both flowsReceive status updates and verify their signature before updating a transaction.
Callback guideTWO WAYS TO CREATE A PAYMENT
The endpoints differ. Compare Redirect and Direct examples before choosing the right fit for your app.
The response includes a checkout URL for your buyer.
Open endpoint documentationcurl -X POST https://sandbox.ipaymu.com/api/v2/payment \
-H "Content-Type: application/json" \
-H "va: YOUR_VA" \
-H "signature: GENERATED_SIGNATURE" \
-H "timestamp: YYYYMMDDHHmmss" \
-d '{
"product": ["Example Product"],
"qty": ["1"],
"price": ["100000"],
"description": ["First order"],
"returnUrl": "https://example.com/success",
"notifyUrl": "https://example.com/webhook",
"cancelUrl": "https://example.com/cancel"
}'The essential parts of this request:
KEEP BUILDING