Welcome to FAST PAY BD Docs Last updated: 2024-06-06
FAST PAY BD is a simple and secure payment automation tool designed to use a personal account as a payment gateway, so you can accept payments from your customers through your website. Here you will find a complete overview of how FAST PAY BD works and how to integrate the FAST PAY BD API into your website.
API Introduction
FAST PAY BD Payment Gateway enables merchants to receive money from their customers by temporarily redirecting them to www.fastpaybd.site. The gateway connects multiple payment terminals, including card systems, mobile financial services, and local and international wallets. After the payment is complete, the customer is returned to the merchant's site, and seconds later the merchant receives a notification with the transaction details. This document is intended for technical staff supporting the merchant's website. Working knowledge of HTML forms or cURL is required. You will probably need test accounts, which you can get by contacting fastpaybd.site or which may already have been provided to you.
API Operation
REST APIs are supported in two environments. Use the Sandbox environment for testing, 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 ready to go live, use the live credentials assigned to your new signature key to generate a live order URL for the live URIs. Your server must support cURL. For HTML form submission, an HTML POST method URL is also provided after the cURL section.
Live API endpoint (create payment URL)
POSThttps://pay.fastpaybd.site/api/payment/create
Payment verify API
POSThttps://pay.fastpaybd.site/api/payment/verify
Parameter Details
Variables to POST to initialize the payment process in the gateway URL
Field name
Description
Required
Example values
cus_name
Customer full name
Yes
John Doe
cus_email
Email address of the customer
Yes
john@gmail.com
amount
The total amount payable. Skip trailing zeros when the amount is a whole number.
Yes
10 or 10.50 or 10.6
success_url
URL the customer returns to after a successful payment. This should be the last page on the merchant's website, where the customer is notified that the payment succeeded.
Yes
https://yourdomain.com/success.php
cancel_url
URL that returns the customer to your product page or home page.
Yes
https://yourdomain.com/cancel.php
meta_data
Any JSON-formatted data you want to pass along
No
JSON formatted
Variables needed for payment verify
Field name
Description
Required
Example values
transaction_id
Transaction ID received as a query parameter on the success URL you provided during payment creation.
Yes
OVKPXW165414
Headers Details
Header name
Value
Content-Type
application/json
API-KEY
App key from API credentials
SECRET-KEY
Secret key from API credentials
BRAND-KEY
Brand key from Brands
Integration
You can integrate our payment gateway into your PHP, Laravel, WordPress and WooCommerce sites.
Integrate our payment gateway into your WordPress website effortlessly. Whether you run an e-commerce store, a membership site, or a donation platform, our WordPress module makes it easy to accept payments online. Download now and start accepting payments with ease!
Integrate our payment gateway seamlessly into your WHMCS setup. With our module, you can easily accept payments from your customers, manage invoices, and track transactions effortlessly. Get started with just a few clicks!
Enhance your SMM panel with our payment gateway integration module. Streamline the payment process for your social media marketing services and provide a seamless experience for your clients. Download the module now and take your SMM panel to the next level!