Skip to content
logo
  • Products
    • Amwal Checkout
    • Merchant App
    • Merchant Control Panel
  • Pricing
  • Developers
  • About us
  • Contact Us
Sign In
BA Booking

BA Booking

2
  • BA Booking overview
  • BA Booking Installation
amwalpay woocommerce

Woocommerce

2
  • Overview
  • Woocommerce Installation
CS-Cart

CS Cart

2
  • CS-Cart Overview
  • CS CART Installation
Shopify

Shopify

2
  • Shopify Overview
  • Shopify Installation
odoo

Odoo

2
  • Odoo Overview
  • Odoo Installation
whmcs

WHMCS

2
  • WHMCS Overview
  • WHMCS Installation
Magento

Magento

2
  • Magento 2 Overview
  • Magento Installation
Opencart

Opencart

2
  • OpenCart Overview
  • Opencart Installtion
ZenCart

ZenCart

2
  • ZenCart Overview
  • Zencart Installation
Drupal

Drupal

2
  • Drupal Overview
  • Drupal Installation
PrestaShop

PrestaShop

2
  • PrestaShop Overview
  • PrestaShop Installation
Contact Form 7

Contact Form 7

2
  • Contact Form 7 Overview
  • Contact Form 7 Installation
Joomla

Joomla

2
  • Joomla Overview
  • Joomla Installation
AMWAL INTEGRATED PAYMENT LINK

Integrated Payment Link

1
  • Implementation
Android SDk

Native Android SDK

2
  • Pre Requisites
  • Implementation
ios SDk

Native iOS SDK

3
  • Apple Pay Specific Configuration
  • Pre Requisites
  • Implementation
React SDk

React Native SDK

1
  • Implementation

Laravel Package

2
  • Installation
  • Configuration

Flutter SDK

2
  • Implementation
  • Flutter SDK Overview

SMARTBOX

3
  • Pre Requisites
  • Implementation
  • Acquiring Session Token

Merchant Cloud Notification

1
  • Merchant Cloud Notification Integration Guide

Secure Hash Calculation

1
  • Secure Hash Calculation
View Categories
  • Home
  • Developer | Amwalpay
  • Integrated Payment Link
  • Implementation

Implementation

This document describes the process of creating a payment link using the Amwal Pay API. Amwal Pay utilizes Secure Hash Generation to ensure the integrity and authenticity of payment requests.

1.1 Purpose: This document serves as a guide for merchants integrating with Amwal Pay to generate payment links securely. It provides step-by-step instructions on how to create the payment link and how to calculate the secure hash and send it along with the payment request.

2 Usage

Stage: Base URL: https://test.amwalpg.com:14443
Endpoint: /MerchantOrder/CreatePaymentLink
Prod:
Base URL: https://webhook.amwalpg.com
Endpoint: /MerchantOrder/CreatePaymentLink

2.1 Description
This endpoint is to get the transaction summary.
2.2 Headers
Mandatory Content- Type application/json
2.3 Request
Request Type: POST

{
  "billerRefNumber": "123456",
  "payerName": "john doe",
  "amount": 1.000,
  "currency": 512,
  "paymentMethod": 1,
  "notificationMethod": 1,
  "emailNotificationValue": "test@gmail.com",
  "smsNotificationValue": "",
  "terminalId": 1234,
  "merchantId": 5678,
  "expireDateTime": "",
  "maxNumberOfPayment": 1,
  "paymentViewType": 2,
  "redirectUrl": "",
  "secureHashValue": "604A45C8CD21EF1F0A4C6ADEBDEA03289C4399762FB7F7DF5F99CD6952791D59"
}

Parameters description

Field Name Mandatory Field Type Constraints Description Sample Value
billerRefNumber No Integer – Merchant’s reference number for the payment link. 123
payerName Yes String – Name of the payer. John Doe
amount Yes Decimal Minimum supported value is 0.100 Amount to be paid. 0.111
currency Yes Integer – Currency code (e.g., 512 for OMR). 512
paymentMethod Yes Integer – Payment method ID. 1
notificationMethod No Integer – Notification method ID. 1 = Email
emailNotificationValue Yes String Valid email format Email address for notifications. maha@amwal-pay.com
SmsNotificationValue No String Valid Mobile Number Mobile Number of Payer +96812341234
terminalId Yes Integer – Terminal ID provided by Amwal Pay. 221111
merchantId Yes Integer – Merchant ID provided by Amwal Pay. 711111
expireDateTime No String ISO 8601 date/time format Date and time when the payment link expires (default = 1 month). 2025-03-05T12:00:00Z
maxNumberOfPayment No Integer Max: 999 (null for unlimited) Maximum number of payments allowed. 100
paymentViewType No Integer 1 = Pop-up, 0 = Full-Page Payment view type ID. 1
redirectUrl No String Valid URL format URL to redirect to after payment. https://www.example.com/success
secureHashValue Yes String Length: 64 Secure hash calculated as described in docs. E3B2266EFED85DEF60CA881CB34FD94D…

Sample Success Response
{

"success": true,
responseCode": null,
"message": "Order created successfully. Notification is being sent.",
"data": "https://test.amwalpg.com:19443/705DYDY7RL",
"errorList": null

}

Success Parameters description

Field Name Field Type Description Sample Value
success Boolean Indicates whether the request was successful. True
Response Code Numeric This is the response code from API. 02
message String Message describing the result of the request. Order created successfully. Notification is being sent.
data String Payment link URL. https://test.amwalpg.com:19443/705DYDYRL
Updated on January 28, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest

Secure. Seamless – Powering Payments for Every Business.

Sign Up
Support

4th Floor, Majan Tower Building
North Al Ghubrah, P.O. Box 233, P.C 118
Muscat, Sultanate of Oman

: support@amwal-pay.com

📞 : +96824121845

Resources
  • Developers
  • Careers
Company
  • About us
  • Contact Us
  • Contact Sales
  • Partners

2026 © AmwalPay. All Rights Reserved.

  • Terms & Conditions
  • Privacy Policy