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

Amwal Integrated Payment Link

3
  • Introduction
  • Example Code
  • Response and Hash Generation
Android SDk

Native Android SDK

3
  • Pre Requisites
  • Implementation
  • SecureHash Calculation
ios SDk

Native iOS SDK

3
  • Pre Requisites
  • Implementation
  • SecureHash Calculation
React SDk

React Native SDK

2
  • Installation
  • Configuration

AmwalPay Laravel Package

2
  • Installation
  • Configuration

SMARTBOX

3
  • Pre Requisites
  • Implementation
  • SecureHash Calculation
View Categories
  • Home
  • Developer | Amwalpay
  • Amwal Integrated Payment Link
  • Response and Hash Generation

Response and Hash Generation

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

Secure Hash Generation #

3.1 Step 1: Prepare the Data
• Gather all the necessary parameters for the payment request.
• Validate and sanitize the data to prevent potential security risks.
3.2 Step 2: Generate the Secure Hash
• Sort the data parameters alphabetically by key.
• Concatenate the sorted key-value pairs into a string in the format key=value. • Obtain your Merchant Secure Key provided by Amwal Payment Gateway.
• Concatenate the string from step 2 with the Merchant Secure Key.
• Use the SHA-256 algorithm to hash the concatenated string.
• The resulting hash is the secure hash for the transaction.
• Your string to generate the secure hash will look something like this: amount=0.111&billerRefNumber=&currency=512&emailNotificationValue=test@amwalpay.com&expireDateTime=&maxNumberOfPayment=100&merchantId=7921¬ificationMethod=1&payerName=Amr&paymentMethod=9&paymentViewType=1&red irectUrl=&terminalId=221143

NOTE: Make sure you create the string based on the data you will send to the API Request. Whatever data is there in the API request should also be there to generate secure hash.

3.3 Step 3: Send the Payment Request
• Include both the original data and the calculated SHA-256 hash in your payment request to Amwal Payment Gateway.

Updated on August 24, 2025

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Example Code
Table of Contents
  • Secure Hash Generation

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

2025 © AmwalPay. All Rights Reserved.

  • Terms & Conditions
  • Privacy Policy