OpenAPI
Developers can leverage its comprehensive endpoints to manage transactions, process refunds, and retrieve payment statuses, ensuring efficient and reliable payment management.
Initiates a payment transaction and returns a payment URL. The merchant must be validated, and the vcode must be correct.
The payment amount
49.99
The payment currency code
MYR
The merchant's order ID
ORD-923779
Customer's name
John Doe
Customer's mobile number
60123456789
Customer's email address
customer@example.com
Description of the payment
Payment for order
Customer's country code
MY
The merchant identifier
MERCH_abc123def456
Verification code calculated as MD5(amount + orderId + merchantId + verifyKey)
a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
Payment initiated successfully
Bad request - validation error or invalid request data
Unauthorized - invalid verification code
Merchant is not active
Merchant not found
Server error
POST /api/v1/payments/initiate HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
Content-Length: 261
{
"amount": 49.99,
"currency": "MYR",
"orderId": "ORD-923779",
"billName": "John Doe",
"billMobile": 60123456789,
"billEmail": "customer@example.com",
"billDesc": "Payment for order",
"country": "MY",
"merchantId": "MERCH_abc123def456",
"vcode": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
}
{
"paymentUrl": "https://pay.fiuu.com/checkout/zt1750570357296"
}
Last updated