Libraries & SDKs

CoverPay provides official SDKs for the most popular platforms. All libraries are open-source and available on GitHub.

JavaScript SDK

Stablev1.2.0
@coverpay/sdk
GitHub

Vanilla JavaScript drop-in modal. Works with any frontend framework or plain HTML.

npm install @coverpay/sdk
Drop-in checkout modalPromise-based APITypeScript types includedTree-shakeable ESM

React SDK

Stablev1.1.0
@coverpay/react
GitHub

React components and hooks for CoverPay Link. Includes CoverPayProvider, CoverPayButton, and useCoverPay hook.

npm install @coverpay/react
CoverPayProvider contextCoverPayButton componentuseCoverPay() hookServer component compatible

iOS SDK

Betav0.9.0
CoverPaySDK
GitHub

Swift Package for iOS. Provides a Plaid-style modal checkout using WKWebView and postMessage bridge.

Swift Package Manager
SwiftUI view modifierUIKit imperative APIWKWebView + JS bridgeiOS 16+

Node.js Server SDK

Stablev1.0.0
@coverpay/node
GitHub

Server-side SDK for Node.js. Handles API authentication, webhook signature verification, and typed responses.

npm install @coverpay/node
TypeScript typesWebhook signature verificationAutomatic retriesPromise-based

REST API

Don't see your language? Use the REST API directly with any HTTP client. All endpoints accept and return JSON.

REST API

v1
Sandbox: https://sandbox.coverpayme.com/v1
Production: https://api.coverpayme.com/v1
Auth: Bearer token in Authorization header
Format: JSON request and response bodies
Full API Reference →

Community & Support