Skip to content
logo
  • Products
    • Amwal Checkout
    • Amwal POS
    • Merchant App
    • Merchant Control Panel
  • Pricing
  • Developers
  • About us
  • Contact Us
Edit Content
  • Products
    • Amwal Checkout
    • Amwal POS
    • Merchant App
    • Merchant Control Panel
  • Pricing
  • Developers
  • About us
  • Contact Us
Login
Get Started
Login
Get Started

SMARTBOX

  • Express ApplePay Implementation
  • Offsite Implementation
  • Pre Requisites
  • Implementation

Merchant Cloud Notification

  • Merchant Cloud Notification Integration Guide

Secure Hash Calculation

  • Secure Hash Calculation

Webhooks

  • Get Order by Merchant Reference
  • Get Transaction by Merchant Reference
  • Acquiring Session Token
  • Initialize Payment
  • Encryption and Decryption
  • Refund Payment
  • Void Payment
  • Get Transaction by ID
  • Transactions with Statistics
  • Transactions Summary
  • Delete Customer Token
  • Pay by Token

Integrated Payment Link

  • Implementation

Mobile SDKs

  • Native Android SDK
    • Pre Requisites
    • Implementation
  • Native iOS SDK
    • Apple Pay Specific Configuration
    • Pre Requisites
    • Implementation
  • React Native SDK
    • Implementation
  • Flutter SDK
    • Implementation
    • Flutter SDK Overview

POS ECR

  • SDK for .NET
  • Flutter SDK
  • SDK for iOS Cocoapods
  • SDK for iOS SPM
  • Android SDK
  • React Native SDK

Plugins

  • BA Booking
    • BA Booking overview
    • BA Booking Installation
  • Woocommerce
    • WooCommerce Subscription & Recurring Payments
    • Overview
    • Woocommerce Installation
  • CS Cart
    • CS-Cart Overview
    • CS CART Installation
  • Shopify
    • Shopify Overview
    • Shopify Installation
  • Odoo
    • Odoo Overview
    • Odoo Installation
  • Laravel Package
    • Installation
    • Configuration
  • WHMCS
    • WHMCS Overview
    • WHMCS Installation
  • Magento
    • Magento 2 Overview
    • Magento Installation
  • Opencart
    • OpenCart Overview
    • Opencart Installtion
  • Wp Travel Engine
    • Wp Travel Engine Installation
  • ZenCart
    • ZenCart Overview
    • Zencart Installation
  • Drupal
    • Drupal Overview
    • Drupal Installation
  • PrestaShop
    • PrestaShop Overview
    • PrestaShop Installation
  • Contact Form 7
    • Contact Form 7 Overview
    • Contact Form 7 Installation
  • Joomla
    • Joomla Overview
    • Joomla Installation
View Categories
  • Home
  • Amwal Pay Developer Portal
  • 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 NameMandatoryField TypeConstraintsDescriptionSample Value
billerRefNumberNoString–Merchant’s reference number for the payment link.123
payerNameNoString–Name of the payer.John Doe
amountYesDecimalMinimum supported value is 0.100Amount to be paid.0.111
currencyYesInteger–Currency code (e.g., 512 for OMR).512
paymentMethodYesInteger–Payment method ID.1
notificationMethodNoInteger–Notification method ID.1 = Email, 2 = SMS, 3 = Both
emailNotificationValueYesStringValid email formatEmail address for notifications.maha@amwal-pay.com
SmsNotificationValueNoStringValid Mobile NumberMobile Number of Payer+96812341234
terminalIdYesInteger–Terminal ID provided by Amwal Pay.221111
merchantIdYesInteger–Merchant ID provided by Amwal Pay.711111
expireDateTimeNoStringISO 8601 date/time formatDate and time when the payment link expires (default = 1 month).2025-03-05T12:00:00Z
maxNumberOfPaymentNoIntegerMax: 999 (null for unlimited)Maximum number of payments allowed.100
paymentViewTypeNoInteger1 = Pop-up, 0 = Full-PagePayment view type ID.1
redirectUrlNoStringValid URL formatURL to redirect to after payment.https://www.example.com/success
secureHashValueYesStringLength: 64Secure 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
What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on May 4, 2026

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