Skip to main content
Accept payments with minimal integration using Payvessel’s hosted checkout. Customers can pay with card or bank transfer in a single modal. Ideal for e-commerce, donations, and subscriptions.

Overview

Payvessel Checkout provides a secure, conversion-optimized payment interface. You can integrate it in two ways:
  1. npm package (Recommended): A lightweight frontend SDK that handles the modal UI and payment channels.
  2. Merchant Checkout API: A server-side integration for custom redirects or backend-driven flows.
Use your public API key (api_key) in frontend code. Keep secret keys server-side only.
For production systems, use this flow:
  1. Create order/session state on your backend first.
  2. Launch checkout from your frontend using payvessel-checkout.
  3. On completion callbacks, verify transaction status on your backend.
  4. Fulfill value (goods/services/wallet credit) only after successful server-side verification.

Integrating with payvessel-checkout

The payvessel-checkout package is the fastest way to add payment capabilities to your web application.

Installation

Install the package via npm or Yarn:

Usage Examples

Include the SDK via CDN or bundle it with your app.

Essential Parameters

Callback Behavior


Server-Side Verification

After a successful payment, always verify the transaction on your server before providing value to the customer.
  1. Listen for webhooks from Payvessel.
  2. Or use the Verify Transaction API to check the status manually.
For technical details, see:
Never mark an order as paid based only on frontend callbacks.

Mobile and Platform SDKs

If you are not integrating with a web frontend, use the SDK that matches your platform.

React Native SDK (react-native-payvessel)

Use this SDK for React Native apps with in-app modal checkout.
Reference: react-native-payvessel on npm

iOS SDK (Payvessel)

Install with CocoaPods:
Or Swift Package Manager:
Reference: Payvessel on CocoaPods

Android SDK (payvessel-android-sdk)

Add JitPack and dependency:
Reference: Android SDK on JitPack

WooCommerce Plugin

For WordPress stores, install the official WooCommerce plugin and add your Payvessel keys in WooCommerce payment settings. Reference: Payvessel Payment Gateway for WooCommerce

Next Steps

Initialize API Reference

Request/response schemas for server-side integration.

Verify API Reference

How to confirm payments accurately.