Welcome to our documentation on integrating our Payment API. This guide will help you understand how to set up and use our API for seamless payment processing.

Getting Started

  1. API Setup

    • Register your application to obtain your API key.
    • Configure your server to handle API requests.
  2. API Endpoints

    • /payment/initialize - Initialize a payment session.
    • /payment/verify - Verify payment completion.
  3. Request Parameters

    • amount - The amount to be paid.
    • currency - The currency code.
    • return_url - The URL to redirect after payment.

Example Request

GET /payment/initialize?amount=100&currency=USD&return_url=https://example.com/thank-you

Response

{
  "status": "success",
  "session_id": "1234567890",
  "payment_url": "https://example.com/payment/1234567890"
}

Security

  • Ensure all communication is over HTTPS.
  • Store API keys securely on your server.

Additional Resources

For more detailed information, please refer to our full documentation.


Payment Gateway