Welcome To Softonpay Docs Last updated: 2026-06-06
Softonpay is a simple and secure payment automation tool that allows you to use your personal account as a payment gateway. It enables you to accept customer payments directly through your website. You'll find a complete overview of how Softonpay works and how to integrate the Softonpay API in your website
API Introduction
Softonpay Payment Gateway enables Merchants to receive money from their customers by temporarily redirecting them to www.Softonpay.com. The gateway is connecting multiple payment terminal including card system, mobile financial system, local and International wallet. After the payment is complete, the customer is returned to the merchant's site and seconds later the Merchant receives notification about the payment along with the details of the transaction. This document is intended to be utilized by technical personnel supporting the online Merchant's website. Working knowledge of HTML forms or cURL is required. You will probably require test accounts for which you need to open accounts via contact with Softonpay.com or already provided to you.
API Operation
REST APIs are supported in two environments. Use the Sandbox environment for testing purposes, 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 set to go live, use the live credentials assigned to your new signature key to generate a live order url to be used with the live URIs. Your server has to support cURL system. For HTML Form submit please review after cURL part we provide HTML Post method URL also
Live API End Point (For Create Payment URL):
https://pay.softonpay.com/api/payment/create
Payment Verify API:
https://pay.softonpay.com/api/payment/verify
Parameter Details
Variables Need to POST to Initialize Payment Process in 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. 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://yourdomain.com/sucess.php
cancel_url
URL to return customer to your product page or home page.
Yes
https://yourdomain.com/cancel.php
meta_data
Pass any json formatted data
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 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 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
Easily integrate our payment gateway into your WordPress website. Whether you're managing an online store, a membership site, or a donation platform, our WordPress plugin simplifies the payment process. Download now and start accepting payments seamlessly!
Seamlessly integrate our payment gateway into your WHMCS platform. Our module allows you to accept customer payments, manage invoices, and track transactions with ease. Get started in just a few clicks!
Upgrade your SMM panel with our payment gateway integration module. Simplify the payment process for your social media marketing services and deliver a smooth, hassle-free experience to your clients. Download the module today and elevate your panel’s performance!