tochka_acquiring_payment_with_receipt
Create acquiring payment with fiscal receipt by specifying customer code, amount, purpose, payment modes, client email, and receipt items. Sends receipt to client email.
Instructions
Create acquiring payment operation with fiscal receipt.
For payment without receipt, use tochka_acquiring_payment_create.
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"] client_email: Receipt recipient email items_json: JSON array of receipt items [{name, amount, quantity, vatType?, paymentMethod?, paymentObject?}] 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) client_name: Receipt recipient name (optional) client_phone: Receipt recipient phone (optional) tax_system_code: Tax system: osn, usn_income, usn_income_outcome, esn, patent (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| amount | Yes | ||
| purpose | Yes | ||
| save_card | No | ||
| items_json | Yes | ||
| client_name | No | ||
| consumer_id | No | ||
| merchant_id | No | ||
| client_email | Yes | ||
| client_phone | No | ||
| payment_mode | Yes | ||
| redirect_url | No | ||
| customer_code | Yes | ||
| payment_link_id | No | ||
| tax_system_code | No | ||
| fail_redirect_url | No | ||
| pre_authorization | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |