# Workflow: subscription payment

> How the agent gets the customer’s Bankemes subscription paid without touching money itself.

New accounts get a 48-hour free trial from completed registration and phone verification, once per phone number, covering only the first cashier. Issuing an API key does not start or extend it. The first bank-confirmed payment starts a paid calendar month and ends any remaining trial; the platform owner never pays.

1. The customer first saves a Kaspi billing phone and consents to recurring invoices in the protected Bankemes subscriptions page. Never collect or set this phone through chat or MCP.
2. `bankemes_get_subscription_payment_link` (pass `cashier_id` if there are several cashiers). It sends a remote invoice to the saved billing phone and reuses an open invoice instead of creating another.
3. Ask the customer to pay the invoice manually in Kaspi. The returned Bankemes subscriptions page shows its status; there is no automatic charge.
4. Poll `bankemes_get_next_setup_action` (state `subscription_payment_pending`). The subscription activates only after the bank confirms the payment.

If online payment is unavailable the tool returns `manual_activation_required` with the subscriptions page URL; the customer requests activation there. Never tell the customer the subscription is paid unless the status says so.

Source: https://bankemes.kz/for-agents/workflows/connect-payments
