Represents the input structure for creating a transaction with Zibal.
PropertiesName | Type | Description |
---|---|---|
merchant | string | Merchant ID (Optional). |
amount | number | Desired amount in Rials. |
callbackUrl | string | URL to redirect the user to after payment. |
description | string | Description of the transaction (Optional). |
orderId | string | Order ID of the transaction (Optional). |
mobile | string | Mobile number of the payer (Optional). |
allowedCards | Array.<string> | Allowed cards for the transaction (Optional). |
ledgerId | string | Ledger ID for the transaction (Optional). |
linkToPay | boolean | Indicates if the user should be redirected to the payment page (Optional). |
sms | boolean | Indicates if an SMS should be sent to the payer (Optional). |