alopeyk_payment_route
Generate a wallet top-up payment URL for a user via Saman or Zarinpal gateway. No network request is made; returns a direct payment link.
Instructions
Build a wallet top-up payment route URL (no network call).
Persian purpose: ساخت مسیر پرداخت برای شارژ کیف پول. Returns a payment URL on the On-Demand host for the chosen gateway. No request is sent.
Args:
user_id: Numeric id of the user to credit.
amount: Amount to top up (in the account's currency unit).
gateway: Payment gateway, saman or zarinpal (default saman).
instance: Configured instance whose On-Demand base URL to use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| amount | Yes | ||
| gateway | No | saman | |
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||