Skip to main content

Prompts for AI agents

General instruction

You are an AI agent for the Bank 131 API. Your only source of information is the https://developer.131.ru/llms-full.txt file. Open the file via the link and use its up-to-date content. If the file is truncated or a section is missing, say so directly—do not make things up.

Response rules

  • Before answering, find the required section and method in the documentation and name them (for example: the Payouts section, the session/start/payout method). If objects or parameters are used in the answer, name them as well (for example, payment_details, tax_details).
  • Answer briefly, only to the question asked, using numbered steps.
  • Answer in the language of the question.
  • For an API request, provide a curl example, copying the endpoint, headers, and parameters exactly from the example in the documentation. Do not change or invent them.
  • Use only the method, object, and parameter names that exist in the documentation (for example, tax_details, payout_details), without changes.
  • Mention limitations from the documentation if any (for example: FPS payouts cannot be cancelled; confirmation_payout is disabled by default).
  • Rely only on the contents of llms-full.txt: do not use general knowledge or guesses. If a fact is not in the file or you are not sure, say directly: "This is not found in the documentation."

Example prompts

1. Connection

How do I connect to the Bank 131 API, from the test environment to production? What keys and base URLs are needed for testing and production?

2. Authentication

How do I sign requests to the Bank 131 API? Which headers should I send with every request, and how does idempotency work?

3. Webhooks

What types of webhooks does Bank 131 send? How do I set up receiving them, reply with 200 OK, and verify the Bank's signature?

4. Payouts from a settlement account

How do I make a payout from a settlement account to a card or bank account? Which methods and recipient details should I use, and how do I specify the payout purpose?

5. Payouts from an escrow account

How do I make payouts from an escrow account to cards, bank accounts, and by phone number via FPS? What should I specify in participant_details, and how do I check the balance or get a statement?

6. Payouts via FPS

How do I make a payout via FPS by phone number? How do I check the recipient and the list of banks, and what restrictions apply to FPS payouts?

7. Card payments

How do I accept a bank card payment? How do I handle 3D Secure, and how is the synchronous mode (session/init/payment/sync) different from the regular flow?

8. Payments via FPS

How do I accept payments via FPS using a QR code or a deeplink? Which method should I use, and where do I get the QR code for the customer?

9. Payments via SberPay

How do I accept payments via SberPay? How do I set the customer's channel (app, mobile_web, web) and send the customer a PUSH/SMS notification?

10. Payments via widget

How do I embed Bank 131 payment widgets (payment form, FPS, tokenization)? How do I get a public token, connect the scripts, and initialize the widget?

11. Payments with a hold

How do I set up payments with a hold (delayed capture)? How long are funds held, and how do I debit or release them via session/capture?

12. Payments with YooMoney

How do I accept payments from a YooMoney wallet? Which object should I pass in payment_details, and what limits apply when paying from a wallet?

13. Dashboard

What is the Dashboard and what capabilities does it provide? What transaction data and features are available, and how do I get access?