Amwal Tech logoDocs

Get Transaction Details

Retrieve transaction authorization data, partner bank details, installment duration, card details, and net merchant financial settlement breakdowns for a specific transaction ID.


Endpoint

GET /installment/transaction/{transaction_id}/details

Path Parameters

ParameterTypeRequiredDescription
transaction_idString (UUID)YesUnique identifier of the transaction (e.g. 60b43176-5991-4475-8ef6-c73c2417c805).

Request Headers

Authorization: YOUR_SECRET_KEY
X-Amwal-Key: sandbox-amwal-xxx
HeaderTypeRequiredDescription
AuthorizationStringYesYour Amwal Secret Key (e.g. d9ccf8bc-ed63-44ad-a54c-9d8fee63df6b).
X-Amwal-KeyStringNoMerchant publishable API Key or sandbox identifier.

Response (200 OK)

{
  "transaction_id": "60b43176-5991-4475-8ef6-c73c2417c805",
  "status": "success",
  "amount": 299.99,
  "currency": "SAR",
  "bank_name": "Al Rajhi Bank",
  "installment_tenure_months": 6,
  "monthly_installment_amount": 50.00,
  "interest_rate": 0.0,
  "card": {
    "brand": "Visa",
    "last4": "4242",
    "country": "SA"
  },
  "fees": {
    "gateway_fee": 4.50,
    "vat": 0.68,
    "net_merchant_amount": 294.81
  },
  "refunded_amount": 0.00,
  "refund_tracker": null,
  "installment_tracker": {
    "id": "275460",
    "status": "A",
    "message": "Operation Successful"
  },
  "settlement_due_date": "2026-08-27",
  "created_at": "2026-05-14T11:22:10Z"
}

Response Parameters

Transaction Core Details

FieldTypeDescription
transaction_idString (UUID)Unique Amwal transaction identifier.
statusStringAuthorization lifecycle state: pending, success, fail, partially refunded, or refunded.
amountNumberTotal authorized transaction gross amount in SAR.
currencyStringISO 4217 Currency code (SAR).
bank_nameStringPartner bank processing the installment (e.g. Al Rajhi Bank, SNB, Alinma Bank, Riyad Bank).
installment_tenure_monthsIntegerAuthorized tenure duration in months (3, 6, 12, 24).
monthly_installment_amountNumberMonthly installment charged to cardholder at 0% APR.
interest_rateNumberBuyer interest rate (0.0 for 0% promotional installments).
refunded_amountNumberTotal amount refunded so far across all accepted refund requests.
refund_trackerArray of Objects / NullList of refund records and their gateway settlement status (P = Pending, R = Settled).
installment_trackerObject / NullBank installment verification tracking object with approval code (status: "A").
settlement_due_dateString (ISO 8601 Date)Expected SARIE bank settlement date into the merchant's Saudi bank account (T+2 business days).
created_atString (ISO 8601)Timestamp of transaction authorization in UTC.

Card Information (card)

FieldTypeDescription
brandStringCard payment network (e.g. Visa, Mastercard, Mada).
last4StringLast 4 digits of the payment card number.
countryString2-letter ISO country code of the card issuer (e.g. SA).

Fee & Settlement Breakdown (fees)

FieldTypeDescription
gateway_feeNumberAmwal processing transaction fee in SAR.
vatNumber15% VAT applied to the gateway fee in SAR.
net_merchant_amountNumberNet payout amount scheduled for merchant settlement (amount - gateway_fee - vat).

Error Responses

Status CodeError CodeDescription
401 Unauthorizedauthentication_failedMissing or invalid Secret Key in the Authorization header.
404 Not Foundtransaction_not_foundThe transaction_id UUID does not exist or does not belong to your merchant account.

On this page