Secure Payments API Reference

Welcome to the Secure Payments API Reference. This page provides comprehensive documentation on the API endpoints, methods, and parameters that enable you to integrate secure payment solutions into your application.

API Endpoints

  • /api/payments/authorize - Used to initiate a payment authorization process.
  • /api/payments/complete - Completes the payment process after authorization.
  • /api/payments/cancel - Cancels a pending payment.

API Methods

  • POST - To initiate payment or authorization requests.
  • GET - To retrieve payment status or details.

API Parameters

Parameter Type Description
amount Decimal The total amount to be processed.
currency String The currency code for the payment.
payment_method String The payment method identifier (e.g., credit_card, bank_transfer).
customer_id String The unique identifier for the customer.
payment_token String The payment token provided by the payment method.

Example Request

{
  "amount": "100.00",
  "currency": "USD",
  "payment_method": "credit_card",
  "customer_id": "c12345",
  "payment_token": "tok_n3456789"
}

Usage

To get started with the API, visit our API Documentation page for more detailed information and examples.

Payment Gateway