Amwal Tech logoDocs

API Reference Overview

The Amwal REST API empowers developers to create installment links, test sandbox transactions, and retrieve real-time payment data for both Online Checkout and In-Store POS integrations.


Authorization

Retrieve your secret API key from the Merchant Dashboard under Integrations → Secret Key, then include it in the Authorization header for every request.

Base URL: https://backend.sa.amwal.tech

Use the optional X-Amwal-Key header to select an environment:

  • Sandbox: X-Amwal-Key: sandbox-amwal-xxx
  • Production: X-Amwal-Key: prod-amwal-xxx (or omit the header).

Request Headers

Authorization: your_api_key_here
Content-Type: application/json
X-Amwal-Key: sandbox-amwal-xxx  # Optional: for sandbox testing

Response Status Codes

Status CodeDescription
200The request succeeded.
400Invalid input parameters or payload validation failure.
401Authentication failed. Check your API key.
404Resource not found or invalid URL path.

Interactive Testing & Checkout Flows

On this page