Installment plans
dk_installmentsRetrieve Digipay credit-line installment offers for a Digikala product, showing credit amount and monthly repayment in Toman.
Instructions
Get the Digipay credit-line offers available when buying a product, in Toman.
Each plan is a fixed credit line (credit_amount), repaid in months installments of
monthly_repayment; it is not sized to the product price (the credit can be larger), so do
not present it as "this product for X a month". Get the price from dk_product. How the
credit and the price combine at checkout is unconfirmed. Needs Digipay approval. An unknown
id gives no plans; check it with dk_product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Digikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||