tochka_acquiring_payment_create
Generate a payment link to initiate an acquiring payment, supporting configurable payment modes, redirect URLs, and optional card saving.
Instructions
Create acquiring payment operation (payment link).
For payment with fiscal receipt, use tochka_acquiring_payment_with_receipt.
Args: customer_code: Customer code (9 chars, e.g. "100000001") amount: Payment amount (> 0) purpose: Payment purpose (1-140 chars) payment_mode: Allowed payment methods, e.g. ["sbp", "card"] redirect_url: Success redirect URL (optional) fail_redirect_url: Failure redirect URL (optional) save_card: Save card for future payments (optional) consumer_id: Consumer identifier (optional) merchant_id: Merchant identifier, 15 chars (optional) pre_authorization: Two-stage payment mode (optional) ttl: Link lifetime in minutes, 1-44640, default 10080 (optional) payment_link_id: Custom payment link ID, 1-45 chars (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| amount | Yes | ||
| purpose | Yes | ||
| save_card | No | ||
| consumer_id | No | ||
| merchant_id | No | ||
| payment_mode | Yes | ||
| redirect_url | No | ||
| customer_code | Yes | ||
| payment_link_id | No | ||
| fail_redirect_url | No | ||
| pre_authorization | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |