$ npm install @stanpe/node
Built for engineers.
Comprehensive APIs, robust webhooks, and elegant SDKs. Integrate global payments into your application in an afternoon, not a month.
7 lines of code to accept global payments.
Our official SDKs give you predictable, type-safe access to the StanPe API. With a few lines of code, you can initiate payments, handle secure authentication via 3D Secure, and listen to real-time webhooks.
- Official libraries for Node.js, Python, Ruby, PHP, and Go.
- Built-in automatic request retries and idempotency.
- Seamless webhook signature validation.
1import StanPe{ } from '@/node';23const StanPe = ('sk_live_12345...');45// Create a new payment intent6const stanpeintent = .paymentIntents.create({7 amount: 4999, // $49.998 currency: 'usd',9 payment_method_types: ['card', 'apple_pay'],10 description: 'Pro Subscription',11 metadata: {12 order_id: 'ord_12345',13 },14});1516console.log(intent.client_secret);