Amwal Tech logoDocs

Transaction Status

Amwal payment transactions move through distinct statuses as they progress from initiation to completion. This page explains payment link statuses, transaction statuses, and how they transition through the payment lifecycle.


Payment links represent the overall state of a payment request. Each link has one of the following statuses:

StatusDescription
UnpaidPayment initiated but not yet Paid or Expired.
PaidPayment has been successfully completed and authorized.
ExpiredPayment link has expired and can no longer accept payment attempts.

Transaction Status

Individual transactions within a payment can transition through multiple statuses. Each transaction has one of the following states:

StatusCodeDescription
Payment InitiatedpendingTransaction created and submitted to payment gateway, awaiting further action from user or issuing bank.
SuccesssuccessTransaction completed and authorized successfully.
FailfailTransaction failed due to one of the failed reasons.
Partially Refundedpartially_refundedPartial refund processed and returned to customer.
RefundedrefundedFull refund processed and returned to customer.

Status Workflow

The diagram below shows how transactions flow between statuses. A transaction starts as pending, then moves to either success or fail. Successful transactions can be partially or fully refunded.

Rendering diagram...

Callback URL Notifications

If you include the callback_url parameter when creating a payment link, Amwal sends the transaction status to that URL. Use the transaction_id from the callback request to retrieve the full transaction details through the Transaction Details endpoint.

The callback transaction status can be pending, success, or fail.


Failure Reasons

A failed transaction may occur for multiple reasons depending on the bank gateway response or user behavior. Refer to the Transaction Failed Reasons page for more details.


On this page