Developers

API Reference

Complete reference for every AiPay API endpoint, request, and response.

Overview

AiPay's API is RESTful, JSON-based, and organized around the core resources you'll work with: charges, customers, refunds, and AI insights.

Core Endpoints

// Create a charge POST /v1/charges // Retrieve AI risk score GET /v1/charges/:id/risk // List transactions GET /v1/charges?limit=50 // Issue a refund POST /v1/refunds

Response Objects

Every API response includes standard metadata alongside AI-specific fields such as ai_score, route, and decision_time_ms — giving you full transparency into how each decision was made.