Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README (1).md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
icon: screwdriver-wrench
cover: .gitbook/assets/Hero visual V6 (2).png
coverY: 0
description: At Juspay, we believe payment infrastructure should be transparent, adaptable, and under merchants' control—not confined by vendor restrictions. That's why we've made the bold move to open-source o...
---

# Get Started
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
icon: compass
cover: .gitbook/assets/Hero visual V6 (2).png
coverY: 0
description: Juspay Hyperswitch gives you full control over your payments infrastructure without the complexity of building from scratch. Whether you're validating a prototype or scaling globally, you can get s...
---

# Exploration Guide
Expand Down
4 changes: 4 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Exploration Guide Overview.md>) Payment Suite Payments Suite
---

# Table of contents

## About Hyperswitch
Expand Down
1 change: 1 addition & 0 deletions about-hyperswitch/ai-resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
hidden: true
noIndex: true
icon: brain-circuit
description: AI resources enable you to intelligently interact with the entire Hyperswitch ecosystem through conversational AI. Whether you're a developer, product manager, or business stakeholder, you can ask ...
---

# AI Resources
Expand Down
1 change: 1 addition & 0 deletions about-hyperswitch/ai-resources/setup-mcp-server.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: user-robot-xmarks
description: This MCP server is only meant for product exploration while using sandbox environment.\
---

# Setup MCP Server
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: hand-holding-circle-dollar
description: Hyperswitch provides flexible payment processing with multiple flow patterns to accommodate different business needs. The system supports one-time payments, saved payment methods, and recurring bil...
---

# Payment Method (Card)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
hidden: true
icon: money-bills-simple
description: The Payment Method SDK provides APIs to securely capture and tokenize payment credentials, with support for vaulting payment details during the initial checkout flow. Upon successful vaulting, a pe...
---

# Copy of Payments
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: money-bills-simple
description: The Payment Method SDK and /payment-methods API work in tandem with the /payments API to achieve any business objective as listed below.  
---

# Payments
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
hidden: true
description: The Hyperswitch Payment Methods Management SDK provides a secure solution for merchants to handle and store payment information without the burden of PCI DSS compliance requirements. By leveraging ...
---

# Payment Method Management SDK
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
hidden: true
description: In the Payment with Vault flow setup, Hyperswitch acts as the central intelligence layer. You interact with a single unified API, and Hyperswitch manages the entire payment lifecycle across multipl...
---

# Payment with Vault Flow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: chart-diagram
description: In card payments, Over Capture occurs when a merchant captures (settles) an amount greater than the originally authorized amount.
---

# Overcapture
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: arrows-rotate-reverse
description: Recurring payments via Hyperswitch can be setup by passing some additional flags, as highligted below. The recurring payments are not tied to a specific amount or cycle and the merchant can charge ...
---

# Recurring payments
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: hard-drive
description: In this approach, the Hyperswitch SDK is used on the frontend to capture card details. Card data is securely sent to the Hyperswitch backend and stored in Hyperswitch Vault. Payment orchestration, ...
---

# Saved Card
Expand Down
1 change: 1 addition & 0 deletions about-hyperswitch/payment-suite-1/payments/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: file-invoice-dollar
description: Hyperswitch provides flexible payment processing with multiple flow patterns to accommodate different business needs. The system supports one-time payments, saved payment methods, and recurring bil...
---

# Payments (cards)
Expand Down
1 change: 1 addition & 0 deletions about-hyperswitch/payment-suite.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
hidden: true
noIndex: true
icon: suitcase
description: Hyperswitch provides a open-source, lightweight and full-stack solution to effortlessly and effectively manage payments. It provides you with:
---

# Payment Suite
Expand Down
1 change: 1 addition & 0 deletions about-hyperswitch/payments-modules/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: diamonds-4
description: Hyperswitch offers a modular, open-source payments infrastructure designed for flexibility and control. Apart from our Payment Suite offering, this solution allows businesses to pick and integrate ...
---

# Payments Modules
Expand Down
4 changes: 4 additions & 0 deletions connector-service/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: One integration. Any payment processor. Zero lock-in.
---

<div align="center">


Expand Down
4 changes: 4 additions & 0 deletions connector-service/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: - Overview - Getting Started - Installation - Quick Start - Concepts
---

# Summary

## Getting Started
Expand Down
4 changes: 4 additions & 0 deletions connector-service/architecture/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: If you've integrated multiple payment providers, you know the pain: - Stripe uses PaymentIntents
---

## The Problem

If you've integrated multiple payment providers, you know the pain:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: You get a working connector adapter in hours instead of weeks. Prism uses Grace, a code generation tool that reads payment provider API specs and produces Rust connector integration code with prope...
---

# Code Generation

You get a working connector adapter in hours instead of weeks. Prism uses Grace, a code generation tool that reads payment provider API specs and produces Rust connector integration code with proper request/response transformations.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: You get API reference docs that stay current without anyone manually updating markdown files every time a field changes. Prism generates all /docs-generated content from the source proto definition...
---

# Documentation Generation

You get API reference docs that stay current without anyone manually updating markdown files every time a field changes. Prism generates all `/docs-generated` content from the source proto definitions and a rules file that enforces consistency.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: You get idiomatic SDKs in Node.js, Python, Java, Rust, and Go without maintaining five separate codebases. Prism generates language-specific bindings from the same protobuf definitions, ensuring ev...
---

# SDK Generation

You get idiomatic SDKs in Node.js, Python, Java, Rust, and Go without maintaining five separate codebases. Prism generates language-specific bindings from the same protobuf definitions, ensuring every SDK stays synchronized with the core API.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: You get regression tests for every connector without writing them by hand. Prism generates test suites from the proto definitions and a declarative test spec, then runs them against live sandboxes ...
---

# Test Generation

You get regression tests for every connector without writing them by hand. Prism generates test suites from the proto definitions and a declarative test spec, then runs them against live sandboxes to catch breaking changes before they hit production.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Sometimes you need to adjust behavior for a specific connector without changing your core integration logic. Prism gives you fine-grained control through settings and overrides that apply per-conne...
---

# Connector Settings and Overrides

Sometimes you need to adjust behavior for a specific connector without changing your core integration logic. Prism gives you fine-grained control through settings and overrides that apply per-connector, per-request, or per-environment.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Prism organizes payment operations into services that reflect how payments actually work in the real world. Some operations are independent. Others are follow-on actions that only make sense after ...
---

# Services and Methods

Prism organizes payment operations into services that reflect how payments actually work in the real world. Some operations are independent. Others are follow-on actions that only make sense after a payment exists.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/architecture/concepts/core-components.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Prism breaks down into four components that each solve a specific integration pain point. Understanding them helps you decide how to deploy and extend the system.
---

# Core Components

Prism breaks down into four components that each solve a specific integration pain point. Understanding them helps you decide how to deploy and extend the system.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Your code behaves differently in development, staging, and production. Prism lets you configure environments explicitly so test transactions don't hit live payment processors and production keys do...
---

# Environment Settings

Your code behaves differently in development, staging, and production. Prism lets you configure environments explicitly so test transactions don't hit live payment processors and production keys don't leak into debug logs.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/architecture/concepts/error-handling.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Payment failures happen. Cards get declined. Networks timeout. Prism gives you structured error information that tells you exactly what went wrong and how to fix it, regardless of which payment pro...
---

# Error Handling

Payment failures happen. Cards get declined. Networks timeout. Prism gives you structured error information that tells you exactly what went wrong and how to fix it, regardless of which payment processor generated the error.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/architecture/concepts/error-mapping.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Payment processors speak different error languages. Stripe says "carddeclined." Adyen says "Refused." PayPal says "INSTRUMENTDECLINED." Prism translates all of them into a single set of error codes...
---

# Error Mapping

Payment processors speak different error languages. Stripe says "card_declined." Adyen says "Refused." PayPal says "INSTRUMENT_DECLINED." Prism translates all of them into a single set of error codes your application handles once.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Payment processors can't agree on how to name their IDs. Stripe uses pi3MqSCR2eZvKYlo2C1. Adyen uses 7914073381344578. Razorpay uses payABCdef123. This inconsistency breaks code completion, confuse...
---

# ID and Object Modeling

Payment processors can't agree on how to name their IDs. Stripe uses `pi_3MqSCR2eZvKYlo2C1`. Adyen uses `7914073381344578`. Razorpay uses `pay_ABCdef123`. This inconsistency breaks code completion, confuses LLMs, and forces you to maintain different ID handling logic for each connector.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Prism fits into your architecture two ways: as an embedded library or as a standalone microservice. The choice depends on your scale, team structure, and how you want to manage payment logic.
---

# Library Modes of Usage

Prism fits into your architecture two ways: as an embedded library or as a standalone microservice. The choice depends on your scale, team structure, and how you want to manage payment logic.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/architecture/concepts/specs-and-dsl.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Prism uses a domain-specific language (DSL) built on Protocol Buffers that catches integration errors at compile time. Instead of discovering you forgot a required field in production, you get a co...
---

# Specs and DSL

Prism uses a domain-specific language (DSL) built on Protocol Buffers that catches integration errors at compile time. Instead of discovering you forgot a required field in production, you get a compiler error immediately.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/architecture/overview.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: title: Architecture Overview description: How Prism library is architected for multi-language SDKs and unified payment processing
---

# Architecture Overview

##
Expand Down
4 changes: 4 additions & 0 deletions connector-service/architecture/versioning.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Prism follows Semantic Versioning 2.0.0. A minor version upgrade or a patch will never break your existing integration.
---

# Versioning

Prism follows [Semantic Versioning 2.0.0](https://semver.org/). A minor version upgrade or a patch will never break your existing integration.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: If you have ever integrated a payment processor, you know the drill. You read through a PDF that was last updated in 2019, figure out what combination of API keys goes in which header, discover tha...
---

# Why we built a Unified Payment Integration Library?

If you have ever integrated a payment processor, you know the drill. You read through a PDF that was last updated in 2019, figure out what combination of API keys goes in which header, discover that "decline code 51" means something subtly different on this processor than the last one you dealt with, and then do it all over again when your business decides to add a second processor.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/docs-strategy.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: This document outlines the documentation structure, organization, and strategy for the Unified Prism (UCS) project.
---

# Documentation Strategy


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Every payload from a payment processor carries two risks: tampering (someone modified the data in transit) and impersonation (someone forged the sender's identity). The Prism provides the tools to ...
---

# Integrity and Source Verification

Every payload from a payment processor carries two risks: tampering (someone modified the data in transit) and impersonation (someone forged the sender's identity). The Prism provides the tools to eliminate both risks:
Expand Down
4 changes: 4 additions & 0 deletions connector-service/frameworks/money-struct.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Payment integrations are often confusing due to different formats in which payment amount is accepted and processed. A small error can cause large ramifications in terms of business impact.
---

# The Money Struct

Payment integrations are often confusing due to different formats in which payment amount is accepted and processed. A small error can cause large ramifications in terms of business impact.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/frameworks/source-verification.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: A customer returns from a 3D Secure challenge. The URL shows status=success. Do you ship the order? Not yet. That URL could be forged. Prism verifies the source before you fulfill a single order.
---

# Source Verification

A customer returns from a 3D Secure challenge. The URL shows `status=success`. Do you ship the order? Not yet. That URL could be forged. Prism verifies the source before you fulfill a single order.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/getting-started/create-order.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Now that the library is installed, let's create your first payment order (different payment processor's use different terminology - order, intent, transaction and so on). Conceptually, it represent...
---

# Quick Start

Now that the library is installed, let's create your first payment order (different payment processor's use different terminology - order, intent, transaction and so on). Conceptually, it represents the user's intent to start a payment session.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/getting-started/extend-to-more-flows.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: YOu have implemmented the basic plumbing for routing payment processor agnostic APIs. All methods work the same way with the single interface regardless of which payment processor you use. That's t...
---

# Extending to More Flows

YOu have implemmented the basic plumbing for routing payment processor agnostic APIs. All methods work the same way with the single interface regardless of which payment processor you use. That's the power you get with the library.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/getting-started/extending-to-more-flows.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: After completing your first payment, this guide shows you how to implement additional payment flows and capabilities.
---

# Extending to More Flows

After completing your [first payment](./first-payment.md), this guide shows you how to implement additional payment flows and capabilities.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/getting-started/first-payment.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: You will have paymentmethodid from Stripe if you depend on your processor for PCI compliance. Alternatively if your Stripe API keys are enabled to accept PCI compliant raw card data, that will suff...
---

# First Payment with Error Handling

You will have `payment_method_id` from Stripe if you depend on your processor for PCI compliance. Alternatively if your Stripe API keys are enabled to accept PCI compliant raw card data, that will suffice to make the first payment.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/getting-started/installation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Start by installing the library for the programming language of your choice.
---

# Installation

Start by installing the library for the programming language of your choice.
Expand Down
4 changes: 4 additions & 0 deletions connector-service/rfcs/unified-payment-protocol-spec.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: | Field | Value | |-------------|------------------------------------------| | Status | Draft |
---

# RFC: Unified Payment Protocol (UPP)

| Field | Value |
Expand Down
1 change: 1 addition & 0 deletions explore-hyperswitch/account-management/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: joystick
description: Hyperswitch Control Center streamlines the complexities of managing payments, ensuring operational efficiency and control over every aspect of payment flow. From account management to real-time ana...
---

# Payment Operations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: laptop-code
description: As a SaaS platform or marketplace, your value lies in your core product, not in rebuilding payment setting screens. Yet, to offer financial services to your users ("sub-merchants"), you often face ...
---

# Embeddable Components
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
hidden: true
description: This SDK allows you to embed the Hyperswitch connector configuration directly into your React application. It uses a provider pattern to manage authentication sessions via JWTs, ensuring your API k...
---

# Integration Guide
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: This SDK allows you to embed the Hyperswitch connector configuration directly into your React application. It uses a provider pattern to manage authentication sessions via JWTs, ensuring your API k...
---

# Integration Reference

This SDK allows you to embed the Hyperswitch connector configuration directly into your React application. It uses a provider pattern to manage authentication sessions via JWTs, ensuring your API keys never leak to the client.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: utility-pole-double
description: Migration of data is a crucial step in ensuring business continuity without any interruptions. We will work with you and your current payment service provider (PSP) to transfer the data securely.
---

# Data migration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: left-from-bracket
description: We believe customers fully own their data. If you decide to export data from Hyperswitch, we will work with your new payment service provider to safely export your data.
---

# Export data from Hyperswitch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
icon: right-from-bracket
description: We help you with smooth migration from your current payment processor, ensuring uninterrupted business operations.
---

# Import data to Hyperswitch
Expand Down
Loading