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 and merchant public key from the Merchant Dashboard under Integrations → API Keys, then include both in the request headers for every request.

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

Pass your merchant public key in the required X-Amwal-Key header:

  • Sandbox: X-Amwal-Key: sandbox-amwal-xxx
  • Production: X-Amwal-Key: prod-amwal-xxx

Request Headers

Authorization: your_secret_key_here
X-Amwal-Key: sandbox-amwal-xxx
Content-Type: application/json
HeaderTypeRequiredDescription
AuthorizationStringYesYour confidential Amwal Secret Key (e.g. <YOUR_SECRET_KEY_UUID>).
X-Amwal-KeyStringYesMerchant Public Key (sandbox-amwal-xxx in Sandbox, prod-amwal-xxx in Production).
Content-TypeStringYesMust be set to application/json for requests with a body.

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