← Back to Home

API Documentation

Complete guide to integrating Alghahim Pay into your products

Documentation

Getting Started

Welcome to Alghahim Pay API

Alghahim Pay provides a unified payment processor API for seamless integration across all your internal products. Process payments programmatically with secure API keys, manage payment links, and track transactions in real-time.

API Endpoint

https://pay.iicar.org/api/v1

Authentication

All API requests require authentication using an API key in the Authorization header:

Authorization: Bearer ap_live_xxxxxxxxxxxxxxxxxxxx

API keys are generated in your API Keys dashboard. Keep your API keys secure and never share them publicly.

Rate Limiting

API rate limits are enforced per API key. Default rate limit is 1000 requests per hour. Rate limit information is included in response headers:

  • X-RateLimit-Limit: Total requests allowed per hour
  • X-RateLimit-Remaining: Remaining requests this hour
  • X-RateLimit-Reset: Unix timestamp when limit resets

Response Format

All responses are returned as JSON. Success responses return a 200-299 status code, while errors return 400+ status codes.

{ "success": true, "data": { /* resource data */ }, "message": "Operation completed successfully" }

Need Help?

For support with API integration, visit your API Keys dashboard or contact our support team.