Action card_pay
System ID:
action_card_pay
Description
Builds a link to the card payment page (amount, bot, channel, chat_id, language) and stores it in the payment_url constant. The amount is taken from the user constant deposite (required).
Payment domain: the bot constant payment_domain for the current language, or the system setting.
Events (scenario branches)
| Event | When it occurs |
|---|---|
| success | URL built and saved to payment_url |
| error | deposite missing in constants |
Parameters
No parameters in the node JSON ({}). Required user constant:
| Constant | Description |
|---|---|
deposite | Payment amount |
Configuration example
{}
Before calling, set for example via set:
{
"deposite": "500"
}
After success, use {{payment_url}} in a message or redirect.