💰 Welcome to the Payment API Documentation!
This guide provides detailed information on how to integrate and use our payment services. For a quick overview of API basics, check out our API guide.
Overview
Our Payment API allows developers to:
- Process transactions securely
- Manage payment statuses
- Handle refunds and disputes
Endpoints
Method | Path | Description |
---|---|---|
GET | /en/docs/payment-api-reference | Main documentation page |
POST | /api/v1/payments | Create a new payment |
GET | /api/v1/payments/{id} | Retrieve payment details |
DELETE | /api/v1/payments/{id} | Cancel a payment |
Authentication
All requests require API keys for authentication:
🔑 Header: Authorization: Bearer <your_api_key>
⚠️ Ensure your API key is stored securely and never exposed in client-side code.
Examples
curl -X POST https://api.example.com/api/v1/payments \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount": 100.00, "currency": "USD", "description": "Test payment"}'
📄 For more details on specific endpoints, visit Payment API Endpoints.
Need help with implementation? Check our developer support page.
payment flow chart