
| �������� | �������� |
|---|---|
| merch_id | ������������� ��������, �������� ��� ����������� �������� � ��������� ����� "�����.����.��" |
| vterm_id | ������������� ������������ ���������, �������� ��� ����������� �������� � ���������� ����� "�����.����.��" |
| user_login | ����� ������������ � ������� �������� |
| token | �������� ������, ���������� �� GooglePay API � ������� base64 ��� �������� ����� |
| token_type | �������� ������, ���������� �� GooglePay API � ������� base64 ��� �������� ����� |
| user_ip | IP-����� ������������ |
| order_id | ���������� ����� ������ � ������� �������� |
| order_amount | ����� ������, ����������� - ������� |
| order_message | �������� ������ |
| currency | ����������� �������� ��� ������ �� ISO-4217. ������ ����� ��. ����� |
| ts | Timestamp ������� ������������ ������� (������ ���� �15 ����� �� ������� ���������� �������) |
| signature | �������� ������� ���������� ������� |
�������������� �������� �� ������� ���������� ����� ������������ ���� �������� ��������� signature, ������� �������� ������� ������ ���������� �������.
� �������� ���������� ������� ������������ �������� SHA-1, ��������� ���� ��� ������������ ������� �������� ���������� "�����.����.��"
������� ������������ ����� ��������� ���������� �������, ������� ����������� � ������, ��������������� ��� ������������������ �������� ���������� �������, ����������� � ������� (����� ������ ��������� signature), ��������������� � ���������� ������� �� ����� ���������, � ����������� ����� ��������/���������, ��������� ��� �����������.
������ �������������� ���������� ����������� ����� �������� ��� ����������� � �����.
| �������� | �������� |
|---|---|
| vterm_id | MailRuPay3DS |
| user_login | user@example.com |
| user_ip | 127.0.0.1 |
| order_id | 123-ABC |
| order_amount | 526.04 |
| order_message | �������� ������� |
�������� ��������� ���� �������� = Secret_key
������ ������� ����� ��������� ��������� �������: 526.04123-ABC�������� �������127.0.0.1user@example.comMailRuPay3DS
����� ������ ��� ������� ��������������� � ��������� ������, ���������� ��� ����������� ��������/��������� � �������� ����� � ���������� ����������, ����������� ��� ��������/���������.
� ����� �������� ������� ����� �������:
signature = sha1( '526.04123-ABC�������� �������127.0.0.1user@example.comMailRuPay3DSSecret_key' );
�� ������ � ���� ������� �� ������ �������� ����� ��������: fcdc8a2bd7f7459a9e5e774769d0fb8afcd0da41
����� ���������� ������� � ����� ����� �������������� ������� ����� ���������� ����������� � ����������� �������.
��������, ����������, ����������� ��������� "�����.����.��" URL ����������� ����������� � ��� IP �����.
������ �����������:
| �������� | �������� |
|---|---|
| event | ��� �������. ��� ����������� �� ������ ������ ��������� �������� ORDER_PAID |
| merch_id | ������������� �������� |
| vterm_id | ������������� ������������ ��������� ��������, ����� ������� �������� ����� |
| order_id | ������������� ������ � �������� ����� |
| auth_id | ��� ����������� |
| amount | ����� ������ |
| issuer_id | ������������� ������ � ������� �������� |
| is3ds | ��������� �������� 1, ���� ����� ������� �������� � 3DS |
| user_login | ����� ������������ |
| acquirer | ����-������, ����� ������� ������������� ����� |
| card_id | ������������� �������� ����� �� ������� ����������� (���� ������ ��� ������ � ������� ����������� �����) |
| new_card_id | ������������� �������� ����� �� ������� ����������� (���� ��� ������� � ������������ ����� ��������� ���������������� �����) |
| card_item_added | Timestamp ���� ���������� �������� (������������ ������ ���� ����� �������� card_id ��� new_card_id) |
| tx_id | ����� ���������� �� ������� ����������� |
| card_mask_pan | ������������� ����� ����� (������ 6 � ��������� 4 ����� ������ � ������� 123456..1234) |
| rrn | Retrieval reference number - ����� ������ � ������� �����-������� |
| reject_code | ��� ������ ��� ���������� ����������, ��� ������� ORDER_PAID ���������� ������ �������� |
| >currency | ����������� �������� ��� ������ �� ISO-4217. ������ ����� ��. ����� |
| card_uid | ���������� �������� ������������� ����� � ����������� |
| signature | �������� ������� ���������� ������� |