API Documentation

Integrate your checkout flow with our public payment APIs, including payment initiation, verification, EMI selection, and cancellation endpoints.

POST
Initiate Payment
Live
https://script.viserlab.com/viseremi/payment/initiate
Test
https://script.viserlab.com/viseremi/test/payment/initiate
Required headers
  • Accept: application/json
  • Content-Type: application/json
Parameter Type Requirement Description
public_key string Required Merchant API key for mode authentication.
identifier string (40) Required Your unique order/transaction reference.
products array Required List of purchased items.
products.*.name string (255) Required Display name of each product.
products.*.price number Required Per-unit product price.
products.*.quantity integer Required Quantity for each product line.
total_amount number Required Total payable amount (must match product sum).
ipn_url url Required Webhook URL for payment notifications.
success_url url Required Redirect URL after successful payment.
cancel_url url Required Redirect URL when payment is cancelled.
site_name string (40) Required Merchant/business name shown on checkout.
site_logo url Optional Optional logo URL shown on checkout.
customer array Required Customer identity and contact object.
customer.first_name string (40) Required Customer first name.
customer.last_name string (40) Required Customer last name.
customer.email email Required Customer email for verification/contact.
customer.phone string Required Customer phone number.
shipping_info array Optional Optional shipping address object.
shipping_info.address string (255) Optional Shipping street address.
shipping_info.city string (40) Optional Shipping city name.
shipping_info.state string (40) Optional Shipping state/division.
shipping_info.postal_code string Optional Shipping ZIP/postal code.
shipping_info.country string Optional Shipping country code (ISO-style).
billing_info array Optional Optional billing address object.
billing_info.address string (255) Optional Billing street address.
billing_info.city string (40) Optional Billing city name.
billing_info.state string (40) Optional Billing state/division.
billing_info.postal_code string Optional Billing ZIP/postal code.
billing_info.country string Optional Billing country code (ISO-style).

Ready to shop now and pay later for free?

Sign up for free in minutes and start splitting payments into easy, interest-free installments with zero hidden fees.

Get Started for Free
cta

We may use cookies or any other tracking technologies when you visit our website, including any other media form, mobile website, or mobile application related or connected to help customize the Site and improve your experience. learn more

Allow Decline