API
Overview
The platform exposes a REST API for payment management. Include your API key in the Authorization header as Bearer <your-api-key>.
All API Endpoints
| Method | Path | Description |
|---|---|---|
POST |
/api/v1/login |
Authenticate a user for API access |
POST |
/api/v1/signup |
Create an account for API access |
GET |
/api/v1/payments |
List payments (optionally filtered) |
POST |
/api/v1/payments/{id}/capture |
Capture a payment |
POST |
/api/v1/payments/{id}/cancel |
Cancel a payment |
POST |
/api/v1/refunds |
Create a refund (full or partial) |
GET |
/api/v1/disputes |
List disputes |
POST |
/webhook |
Centralized Stripe webhook ingestion |
Authentication
POST
/api/v1/login
POST
/api/v1/signup
Payments
GET
/api/v1/payments
List payments.
POST
/api/v1/payments/{id}/capture
Capture a payment.
POST
/api/v1/payments/{id}/cancel
Cancel a payment.
Refunds
POST
/api/v1/refunds
Create a refund.
Disputes
GET
/api/v1/disputes
List disputes.
Stripe Webhook
For inbound Stripe events, the system exposes a webhook endpoint. See Architecture → Stripe Webhook Processing for supported events and idempotency behavior.
POST
/webhook