Old versions of the API
Help
Sign up for YooMoney
Electronic certificate
Payment acceptance by electronic certificate linked to a "Mir" card.
Specifics
  • Payment method type in the API: electronic_certificate
  • Confirmation scenario: Redirect
  • Payment term: 1 hour
  • Holding: two-stage payments are unavailable
  • Code in the reports: EC
  • Refund: yes, full and partial, with some specifics
  • Refund processing time: to electronic certificates: from 1 to 3 days, with some specifics; if extra payment was made by bank card: from 0 to 3 days (depends on the issuer)
  • Recurring payments: not available
  • Limits: minimum payment is 1 ruble, maximum payment is 350,000 rubles, maximum payment amount per month: 700,000 rubles; limits can be increased by contacting a manager
Integration scenarios
Manual integration:
Overview
Electronic certificate is a way to purchase certain types of products, works, and services (TRU) intended for those who receive social support from the state. For example, an electronic certificate can be used to purchase technical rehabilitation equipment.
An electronic certificate is a record in the digital registry of the State Information System of Electronic Certificates (GIS of ES). It contains information about products, works, and services that can be purchased using this certificate, as well as the limit amount and validity period of the certificate, and other details. This record is linked to the "Mir" card issued by any Russian bank.
Using an electronic certificate, its owner may purchase products or pay for a part of their cost in stores. The money can only be spent on the product or service specified in the certificate.
To process payments and refunds, the use of certificates should be pre-approved by the Electronic Certificates Front Office of the National Payment Card System (NSPK's FES).
How it works
Preparation
Specify a list of products (TRU) that can be purchased by electronic certificates in your system. Each product should be assigned a special code (full product code consistent with the list of products, works, and services (TRU)).
Payment processing
When user makes a purchase, they create a shopping cart. It may contain products that can be purchased using certificates, and other products that need to be purchased by card. You create a shopping cart (according to the NSPK's FES) and select only those products that can be paid by certificate.
Creating a shopping cart
Creating a shopping cart
When user pays for products, they enter details of the "Mir" card linked to the certificate. This card and the list of products from the shopping cart shall be submitted to the NSPK's FES. You can do it independently or via YooMoney: process depends on your integration option.
The NSPK's FES authorizes the shopping cart by noting the products and their amount that can be reimbursed with the certificate.
Authorizing a shopping cart in the NSPK's FES
Authorizing a shopping cart in the NSPK's FES
Then YooMoney processes the payment: authorized amount is debited from certificate and remaining amount is debited from bank card.
Making a payment
Making a payment
Refund processing
Full and partial refunds are available. You can make a refund for both products purchased by electronic certificate and products purchased by card.
Specifics of refunds
  • If products were paid by certificate, you can only return funds to the same certificate.
  • If products were paid partly by certificate and partly by bank card, money is first returned to the certificate, and if everything was fine, the rest of the amount is returned to the card. If something went wrong when you make a refund to the certificate, the whole transaction is canceled. To complete the refund, you need to complete it again.
  • If you need to make a refund for those products that were paid by bank card, you can return money to the same card. But the returned amount shall not exceed the amount of extra payment. Otherwise, refund won't go through.

The funds debited from electronic certificate can only be returned to the same certificate. Any other methods violate the laws of the Russian Federation.

Specifics of refunds
Specifics of refunds
Refund processing time
Refund processing time for electronic certificate depends on the GIS of ES. The certificate will be valid again when the transaction has been processed in the system. It takes about 1 to 3 days. If money isn't returned within this time, the user should contact the authority that issued the electronic certificate.
If the payment was made by bank card, the debiting term depends on the issuer. Money is usually returned within 3 days.
Sending receipts to the Tax Office
When you process payments made by electronic certificates, details of the created receipts shall be sent not only to the Tax Office but also to the NSPK. This applies to all receipts: payment receipts, refund payment receipts, correction receipts, etc.
How to send receipts to the NSPK
The procedure depends on the way you create receipts: via YooMoney or independently:
  • If you submit your receipt details via YooMoney, they will be sent to the NSPK automatically. Check your Merchant Profile to make sure that the receipt was delivered to the NSPK. If something went wrong, resend the details in your Merchant Profile.
  • If you submit your receipt details independently (not via YooMoney), send the created receipt details using your Merchant Profile. Make sure that the receipt was delivered to the NSPK. If something went wrong, resend the details.

You can submit your receipt details and check the delivery status only in the payment history of your Merchant Profile.

Sending receipts to the NSPK
Sending receipts to the NSPK
Payment method implementation

In order to accept payments made by electronic certificates, you need to sign up for the GIS of ES and for an NSPK's FES personal account. Detailed instructions can be found on the NSPK's website.

Step 1. Make sure that selected payment method is available for you
Step 2. Select the integration option
Select the integration option you need:
Step 3. Get ready for integration
  1. Prepare information about products that can be paid by electronic certificate (a name, code in your system, and full code according to the list of products, works, and services (TRU)).
  2. If you selected payments with data collection on your side, please fill out the Self-Assessment Questionnaire (SAQ D) (PCI DSS).
Step 4. Sign up for the GIS of ES
Sign up for the Information Security Subsystem of the Russian Treasury. Add employees and grant them the required roles and rights. Add your company and a list of products purchased by certificate. Submit your data in the NSPK's FES personal account.
Step 5. Sign up for the NSPK's FES personal account
The link for registration in the NSPK's FES personal account will be sent to your email when you've signed up for the GIS of ES.
Step 6. Select a vendor and receive details for integration
Add a sales register for your company in the NSPK's FES personal account. Learn more on the NSPK's website
When you add a sales register, select a vendor:
Get sales register's ID, MAC KEY, and API KEY.
Step 7. Integrate with YooMoney
  1. Sign up for YooMoney (if necessary).
  2. Inform your YooMoney manager that you'd like to accept payments by electronic certificates.
  3. If you selected payments on the YooMoney's ready-made page, provide the manager with your sales register's ID, MAC KEY, and API KEY received in the NSPK's FES personal account.
  4. Integrate with YooMoney using the instructions for your integration option:
Step 8. Activate your company in the GIS of ES
Activate your company in the State Information System of Electronic Certificates. Learn more on the NSPK's website
Done! You can accept payments from real users.
Preparation of product information
When you process payments and refunds, you need to obtain the approval of the NSPK's FES for the use of electronic certificates and making refunds to them. To do this, you should submit information about your products: full product code according to a list of products, works, and services (TRU code), the name and code of the products in your system.
When and how this information should be submitted:
  • If you process payments on the YooMoney's ready-made page, this information needs to be set in the articles object in payment and refund requests sent to YooMoney.
  • If you process payments with data collection on your side, then this information should be set in the requests sent to the NSPK's FES for pre-authorization of certificate use and for pre-authorization of refunds.
Full product code according to the list of products, works, and services (TRU code)
The full product code is needed to authorize a payment or refund in the NSPK's FES. The product code consists of the TRU code, the manufacturer's code, the model code, and the manufacturer's country code.
Full product code according to the list of products, works, and services (TRU)
Full product code according to the list of products, works, and services (TRU)
To create a TRU code, check the catalog of the technical rehabilitation equipment. The following actions depend on whether the product you need is in the catalog.
The product is in the catalog
Copy the TRU code and bring it to the format: NNNNNNNNN.NNNNNNNNNYYYYMMMMZZZ.
Example:
  • a code from the catalog: 329921120.060010102.0008.0001.643
  • a code for payment processing (only the first period should be kept): 329921120.06001010200080001643
Done! Use this code when you process payments and refunds.
No product in the catalog
Create the code independently. To do that, you need to:
Step 2. Copy the TRU code from the list.
Example: 329921120.060010102
Step 3. Add the manufacturer's code in the format: YYYY. If it's unknown, then add zeroes: 0000.
Examples:
  • The code is known: 329921120.0600101020008
  • The code is unknown: 329921120.0600101020000
Step 4. Add the model code in the format: MMMM. If it's unknown, then add zeroes: 0000.
Examples:
  • The code is known: 329921120.06001010200080001
  • The code is unknown: 329921120.06001010200000000
Step 5. Add the numeric code of the manufacturer's country according to the All-Russian Classification of Countries of the World (OKSM, OK (MK (ISO 3166) 004-97) 025-2001) in the format: ZZZ. If it's unknown, then add zeroes: 000.
Examples:
  • The code is known: 329921120.06001010200080001643
  • The code is unknown: 329921120.06001010200000000000
Done! Use this code when you process payments and refunds.
Product code in your system
This product code is needed to authorize a payment or refund in the NSPK's FES. Format requirements can be found in the API reference .
Product name in your system
If you process payments on the YooMoney's ready-made page, then this name will be displayed in the payment form. Format requirements can be found in the API reference .
See also
Information about the project on the NSPK's website
Legal information
Terms and Conditions of the YooMoney ServiceElectronic Document Flow Agreement
+7 (495) 974-35-86
Ask a questionHelp
© 2024, "YooMoney", NBCO LLC