Java SDK

🎯 What is Prism?

Today, integrating multiple payment processors either makes developers running in circles with AI agents to recreate integrations from specs, or developers spending months of engineering effort.

Because every payment processor has diverse APIs, error codes, authentication methods, pdf documents to read, and above all - different behaviour in the actual environment when compared to documented specs. All this rests as tribal or undocumented knowledge making it harder AI agents which are very good at implementing clearly documented specification.

Prism is a stateless, unified connector library for AI agents and Developers to connect with any payment processor

Prism offers hardened transformation through testing on payment processor environment & iterative bug fixing

Prism can be embedded in you server application with its wide range of multi-language SDKs, or run as a rRPC microservice

❌ Without Prism
βœ… With Prism

πŸ—‚οΈ 100+ different API schemas

πŸ“‹ Single unified schema

⏳ Never ending agent loops/ months of integration work

⚑ Hours to integrate, Agent driven

πŸ”— Brittle, provider-specific code

πŸ”“ Portable, provider-agnostic code

🚫 Hard to switch providers

πŸ”„ Change providers in 1 line

Installation

Maven

<dependency>
    <groupId>io.hyperswitch</groupId>
    <artifactId>prism</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

Quick Start

Services

Service
Description

Process payments from authorization to settlement

Manage subscriptions and recurring billing

Retrieve and track refund statuses

Handle chargebacks and disputes

Process webhook notifications

Store and manage payment methods

Manage customer profiles

Generate access tokens

Send funds to recipients

Configuration

Option
Type
Required
Description

connector

String

Yes

Payment connector name (stripe, adyen, etc.)

apiKey

String

Yes

Your API key

environment

String

Yes

SANDBOX or PRODUCTION

timeout

Duration

No

Request timeout (default: 30s)

Error Handling

Support

For support and documentation, visit https://docs.hyperswitch.ioarrow-up-right

Last updated

Was this helpful?