TransactionCreateInputZp

Represents the input structure for creating a transaction with ZarinPal.
Properties
NameTypeDescription
merchant_idstringMerchant ID, if available (optional).
amountnumberAmount for the transaction.
callback_urlstringCallback URL to redirect after the transaction.
descriptionstringDescription for the transaction.
currency"IRR" | "IRT"Currency type for the transaction, either "IRR" or "IRT" (optional).
metadataobjectAdditional metadata for the transaction.
Properties
NameTypeDescription
mobilestringMobile number of the payer (optional).
emailstringEmail address of the payer (optional).
order_idstringOrder ID for the transaction (optional).