Variables Need to POST to Initialize Payment Process in gateway URL
Field Name
Description
Required
Example Values
cus_name
Customer Full Name
Yes
Payment Koro
cus_email
Email address of the customer
Yes
txpay@gmail.com
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
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://txpay.site/sucess.php
cancel_url
URL to return customer to your product page or home page.
Yes
https://txpay.site/cancel.php
webhook_url
IPN callback URL
No
https://txpay.site/webhook.php
meta_data
IPN callback URL
No
Json Formated
Variables Needs For Payment Verify
Field Name
Description
Required
Example Values
transaction_id
Transaction id received as a query parameter from the success URL provided during payment creation.
Yes
OVKPXW165414
Headers Details
Header Name
Value
Content-Type
application/json
API-KEY
App key From Brands
Integration
You can integrate our payment gateway into your PHP Laravel WordPress WooCommerce sites.
Sample Request
পেমেন্ট গেটওয়ে ইন্টিগ্রেশন ডকুমেন্টেশন
Brand Key ও API Key ব্যবহার করে সহজেই আপনার ওয়েবসাইটে পেমেন্ট গেটওয়ে যুক্ত করুন। নিচের কোড স্যাম্পল ও টেবিল দেখে দ্রুত ইন্টিগ্রেশন করুন।
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