SDK Reference

Complete reference for Prism SDKs in Node.js, Python, Java/Kotlin, and JavaScript.

Prism provides native SDKs that embed directly into your application via FFI (Foreign Function Interface). Each SDK offers type-safe clients for all payment services with automatic connection pooling, error handling, and request/response serialization.

Service Clients

Each SDK provides specialized clients for different payment operations:

Service
Purpose
Key Methods
SDK Reference

PaymentService

Core payment lifecycle

authorize(), capture(), refund(), void(), createOrder()

RefundService

Refund operations

get()

RecurringPaymentService

Subscription billing

charge(), revoke()

DisputeService

Chargeback handling

accept(), defend(), submitEvidence()

EventService

Webhook processing

handle()

CustomerService

Customer management

create()

PaymentMethodService

Payment method storage

tokenize()

PaymentMethodAuthenticationService

3DS authentication

preAuthenticate(), authenticate(), postAuthenticate()

MerchantAuthenticationService

Session management

createAccessToken(), createSessionToken(), createSdkSessionToken()

Last updated

Was this helpful?