Welcome To Trust Pay Bd Docs Last updated: 2025-12-19
Trust Pay Bd is a simple and Secure payment automation tool designed to use your personal account as a payment gateway. Accept payments seamlessly from customers through your website with full API control.
API Introduction
Trust Pay Bd connects multiple payment terminals including card systems, MFS, and local/international wallets. After payment, customers are returned to your site with instant transaction notifications.
API Operation
Ensure your server supports cURL. Use Sandbox for testing and Live for production.
POST https://pay.trustpaybd.cfd/api/payment/create
POST https://pay.trustpaybd.cfd/api/payment/verify
Parameter Details
Note: Required variables for POST request to initialize payment.
Field Name
Description
Required
Example
cus_name
Customer Full Name
Yes
John Doe
cus_email
Customer Email
Yes
john@gmail.com
amount
Payable amount (Numbers only)
Yes
10.50
success_url
Success Callback URL
Yes
https://site.com/success
cancel_url
Cancel Callback URL
Yes
https://site.com/cancel
Verification: Required variables for Payment Verify API.
Field Name
Description
Required
Example
transaction_id
ID from success URL query
Yes
OVKPXW165414
Authentication Headers
Header Name
Value / Source
Content-Type
application/json
API-KEY
App key from credentials
SECRET-KEY
Secret key from credentials
BRAND-KEY
Brand key from Brands section
Integration Guides
Choose your platform and follow the sample requests or download our modules.
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