Developer Hub

Build with PayConnect APIs

Everything you need to integrate AI-powered payments into your platform. RESTful APIs, SDKs, webhooks, and comprehensive documentation.

payment.ts
import PayConnect from '@payconnect/node';

const client = new PayConnect({
  apiKey: process.env.PAYCONNECT_API_KEY,
});

const payment = await client.payments.create({
  amount: 4999,
  currency: 'EUR',
  source: { type: 'card', token: 'tok_sandbox_...' },
  metadata: { orderId: 'order_123' },
});

// AI fraud score included in response
console.log(payment.ai.fraudScore); // 0.02

Quickstart

Up and running in minutes

01

Get your API keys

Sign up for a developer account and generate your sandbox API keys from the dashboard.

02

Install the SDK

Use our official SDK for Node.js, Python, Java, Go, or PHP โ€” or call the REST API directly.

03

Make your first call

Process a test payment in sandbox mode and inspect the AI fraud score in the response.

04

Go live

Switch to production keys, configure webhooks, and deploy. Our team reviews your integration before go-live.

API Reference

Core API endpoints

Method
Endpoint
Description
POST
/v1/payments
Create and process a payment transaction with AI fraud scoring.
GET
/v1/payments/:id
Retrieve full details and AI analysis for a specific transaction.
POST
/v1/payments/:id/refund
Issue a full or partial refund for a processed payment.
GET
/v1/analytics/summary
Fetch aggregated analytics, conversion rates, and fraud metrics.
POST
/v1/webhooks
Register a webhook endpoint to receive real-time payment events.
GET
/v1/routing/suggest
Get AI-powered gateway routing recommendation for a transaction profile.

SDKs & Libraries

Official client libraries

Node.js
v3.2.1
npm install @payconnect/node
Python
v3.1.0
pip install payconnect
Java
v3.0.4
com.payconnect:sdk:3.0.4
Go
v2.9.0
go get github.com/payconnect/go-sdk
PHP
v2.8.2
composer require payconnect/php-sdk
Ruby
v2.7.1
gem install payconnect

Resources

Everything you need

Full API Reference

Complete endpoint documentation with request/response schemas, error codes, and examples.

Browse docs

Webhooks Guide

Learn how to configure and verify webhook events for real-time payment notifications.

Read guide

AI Fraud API

Deep dive into the fraud detection model, score interpretation, and custom rule configuration.

Explore

Sandbox Environment

Test your integration with simulated transactions, edge cases, and failure scenarios.

Open sandbox

Postman Collection

Import our pre-built Postman collection to explore and test all API endpoints instantly.

Download

Status Page

Real-time API status, incident history, and uptime metrics for all PayConnect services.

Check status
Sandbox available now

Ready to integrate?

Create a free developer account and start building in the sandbox today.