Welcome To nationalpaybd.com Docs Last updated: 2024-06-06
nationalpaybd.com is a simple and Secure payment automation tool which is designed to use personal account as a payment gateway so that you can accept payments from your customer through your website.
API Introduction
nationalpaybd.com Payment Gateway enables Merchants to receive money from their customers easily. After the payment is complete, the customer is returned to the merchant's site and seconds later the Merchant receives notification about the transaction.
API Operation
Use the Sandbox for testing and Live environment for production.
Live API Endpoint:
https://pay.bongopaybd.top/api/payment/create
Payment Verify API:
https://pay.bongopaybd.top/api/payment/verify
Parameter Details
POST Parameters for Payment Initialization:
Field
Description
Required
Example
cus_name
Customer Name
Yes
John Doe
cus_email
Email
Yes
john@gmail.com
amount
Total Amount
Yes
10.00
success_url
Redirect URL (Success)
Yes
https://yourdomain.com/success
cancel_url
Redirect URL (Cancel)
Yes
https://yourdomain.com/cancel
Integration
You can integrate nationalpaybd.com API in any platform like PHP, Laravel, WordPress, WooCommerce etc.
Payment Link (where customers will complete their payment)
Error Response
status
bool
FALSE
message
String
Message associated with the error response
Completing Payment Page task you will be redirected to success or cancel page based on transaction status with the following Query Parameters: yourdomain.com/(success/cancel)?transactionId=******&paymentMethod=***&paymentAmount=**.**&paymentFee=**.**&status=pending or success or failed