Zinpay is a simple and Secure payment automation tool which is designed to use personal account as a payment gateway so that you can accept payments from your customer through your website where you will find a complete overview on how Zinpay works and how you can integrate Zinpay API in your website.
API Introduction
Zinpay Payment Gateway enables Merchants to receive money from their customers by temporarily redirecting them to www.zinpay.site. The gateway is connecting multiple payment terminals including card systems, mobile financial systems, local and International wallets. 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. Working knowledge of HTML forms or cURL is required.
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.
Live API End Point (For Create Payment URL):
https://secure.razenpay.com/api/payment/create
Payment Verify API:
https://secure.razenpay.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 trailing zeros.
Yes
10 or 10.50
success_url
URL to which the customer will be returned when the payment is made successfully.
Yes
https://yourdomain.com/success.php
cancel_url
URL to return customer to your product page or home page.
Yes
https://yourdomain.com/cancel.php
webhook_url
IPN callback URL
No
https://yourdomain.com/webhook.php
meta_data
Extra data formatted as JSON
No
Json Formatted
Variables Needs For Payment Verify
Field Name
Description
Required
Example Values
transaction_id
Transaction id received as a query parameter from the success URL.
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.
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