Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

shieldpay-api-sdkjs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shieldpay-api-sdkjs

FIXLE SDK for the ShieldPay API — payments, anti-spam, VPN blocking and email auth

latest
Source
npmnpm
Version
2.0.2
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

shieldpay-api-sdkjs

Official JavaScript/TypeScript SDK for the ShieldPay API.

Anti-spam, VPN blocking, email authentication, and PayPal payments — all in one package.

Install

npm install shieldpay-api-sdkjs

Quick Start

import { ShieldPay } from 'shieldpay-api-sdkjs'

const sp = new ShieldPay({ apiKey: 'sk_live_YOUR_KEY' })
// All calls go to: https://fixle.ch/shieldpay/api/worker=sk_live_YOUR_KEY/...

// Create a PayPal payment
const order = await sp.payment.create({
  amount: 49.99,
  currency: 'CHF',
  return_url: 'https://yoursite.com/success',
  cancel_url: 'https://yoursite.com/cancel',
})
window.location.href = order.approve_url // redirect to PayPal

// After PayPal redirects back, capture
const captured = await sp.payment.capture(orderId)

// Check IP reputation (Pro: real IPQS check)
const ip = await sp.security.checkIp('1.2.3.4')

// Passwordless email auth for your users
const { token } = await sp.auth.createToken('user@email.com')
const { verified } = await sp.auth.verifyToken(token)

API Endpoint

Your API key is embedded in the URL — no headers needed:

https://fixle.ch/shieldpay/api/worker=sk_live_YOUR_KEY/payment/create
https://fixle.ch/shieldpay/api/worker=sk_live_YOUR_KEY/security/check-ip
https://fixle.ch/shieldpay/api/worker=sk_live_YOUR_KEY/me

Plans

FeatureFreePro (1 CHF/mo)
PayPal payments
Transaction fee2%0%
VPN/Tor blockingBasicFull IPQS
Auto-fallback
Email alerts

Docs

Full documentation: https://fixle.ch/shieldpay/SDK/docs/

Keywords

paypal

FAQs

Package last updated on 12 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts