payment koro is a simple and secure payment automation tool designed to use your personal account as a payment gateway so that you can accept payments from your customers directly through your website.
API Introduction
payment koro Payment Gateway enables Merchants to receive money from their customers by temporarily redirecting them to www.payment koro.com. The gateway connects multiple payment terminals including cards, MFS, local and international wallets.
API Operation
REST APIs are supported in Sandbox and Live environments. Ensure your server supports cURL system.
POSTLive API Endpoint (Create Payment URL)
https://pay.st-shop.xyz/api/payment/create
POSTPayment Verify API Endpoint
https://pay.st-shop.xyz/api/payment/verify
Parameter Details
Variables Needed for Initializing Payment:
Field Name
Description
Required
Example Values
cus_name
Customer Full Name
Yes
John Doe
cus_email
Email address of customer
Yes
john@gmail.com
amount
Total amount payable
Yes
10 or 10.50
success_url
Return URL after success
Yes
https://yourdomain.com/success.php
cancel_url
Return URL after cancellation
Yes
https://yourdomain.com/cancel.php
meta_data
Custom JSON formatted data
No
{"order_id": 1234}
Variables Needed for Verification:
Field Name
Description
Required
Example Values
transaction_id
Transaction ID received after payment
Yes
OVKPXW165414
Headers Details
Header Name
Value Description
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 easily using the sample code below.
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