API Operation
REST APIs are supported in two environments. Use the Sandbox environment for testing purposes, then move to the live environment for production processing. When testing, generate an order url with your test credentials to make calls to the Sandbox URIs. When you’re set to go live, use the live credentials assigned to your new signature key to generate a live order url to be used with the live URIs. Your server has to support cURL system. For HTML Form submit please review after cURL part we provide HTML Post method URL also
Live API End Point (Using cURL):
https://pay.mpaybd.com/checkout.php
Parameter Details
Variables Need to POST to Initialize Payment Process in gateway URL
Field Name |
Description |
Required |
Example Values |
apikey |
Api Key will be provided by mpaybd |
Yes |
dc0c2802bf04 |
clientkey |
Client Key will be provided by mpaybd |
Yes |
d2ab3336ec |
secretkey |
Secret Key will be provided by mpaybd |
Yes |
123456789 |
amount |
The total amount payable. Please note that you should skip the the trailing zeros in case the amount is a natural number. |
Yes |
10 or 10.50 or 10.6 |
cus_name |
Customer Full Name |
Yes |
Mr. ABC |
cus_email |
Email address of the customer who is making the payment. |
Yes |
abc@gmail.com |
success_url |
URL to which the customer will be returned when the payment is made successfully. The customer will be returned to the last page on the Merchant's website where he should be notify the payment successful. |
Yes |
https://yourdomain.com/sucess.php |
cancel_url |
URL to return customer to your product page or home page. |
Yes |
https://yourdomain.com/cancel.php |
Woocomerce Plugin 1.6 - Ecommerce Type Website
See Setup Video: Youtube Video
Woocomerce Plugin 1.6 - Digital Product Selling Type Website
See Setup Video: YouTube Video
SmmPanel Module (All Panel Supported) 1.3
See Setup Video: Video Here
SmmPanel Module (All Panel Supported) 1.8
See Setup Video: Video here/