This section provides an overview of the payment endpoints available in our API. These endpoints allow you to handle various payment operations securely and efficiently.
Overview
The payment endpoints are designed to facilitate transactions, refunds, and other financial operations. They provide a seamless integration experience for developers looking to integrate payment processing into their applications.
Endpoints
1. Create Payment
- Description: This endpoint is used to initiate a new payment transaction.
- URL:
/api/v1/payments
- Method: POST
- Parameters:
amount
: The amount to be paid.currency
: The currency of the payment.payment_method
: The payment method to be used.
- Example:
2. Get Payment Status
- Description: This endpoint is used to check the status of a payment transaction.
- URL:
/api/v1/payments/{payment_id}
- Method: GET
- Parameters:
payment_id
: The ID of the payment transaction.
- Example:
3. Refund Payment
- Description: This endpoint is used to initiate a refund for a payment transaction.
- URL:
/api/v1/payments/{payment_id}/refund
- Method: POST
- Parameters:
payment_id
: The ID of the payment transaction.amount
: The amount to be refunded.
- Example:
Security
Security is a top priority for our payment endpoints. We use industry-standard encryption and authentication mechanisms to ensure that your transactions are secure.
Support
For any questions or issues regarding the payment endpoints, please contact our support team at support@paymentapi.com.
Payment Gateway