Welcome To Sakibul Pay Docs Last updated: 2024-06-06
Sakibul Pay is a simple and secure payment automation tool. It allows you to accept payments through your website using personal accounts as payment gateways. This documentation provides an overview of how it works and how to integrate its API.
API Introduction
Sakibul Pay Payment Gateway enables merchants to receive payments by redirecting customers to www.Sakibul Pay.com. After payment, customers return to the merchant's site and merchants receive transaction details. Basic knowledge of HTML forms or cURL is required.
API Operation
Use Sandbox for testing and live environment for production. Your server must support cURL. HTML POST method URLs are also provided.
Live API End Point (Create Payment URL):
https://payment.sakibul75x.fun/api/payment/create
Payment Verify API:
https://payment.sakibul75x.fun/api/payment/verify
Parameter Details
Variables to POST to initialize payment:
Field Name
Description
Required
Example Values
cus_name
Customer Full Name
Yes
John Doe
cus_email
Email address
Yes
john@gmail.com
amount
Total amount payable (omit trailing zeros if integer)
Yes
10 or 10.50 or 10.6
success_url
URL after successful payment
Yes
https://yourdomain.com/success.php
cancel_url
URL if payment cancelled
Yes
https://yourdomain.com/cancel.php
meta_data
Optional JSON data
No
JSON formatted
Variables for Payment Verify:
Field Name
Description
Required
Example Values
transaction_id
Transaction ID from success URL
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
Integrate our payment gateway into PHP, Laravel, WordPress, WooCommerce sites.
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