SIGNATURE

Example Request:

{
  "user_uuid": "0091e581-d96f-478b-be98-51937b66204d",
  "merchant_id": "a6631ecaa-7ad1-162b-91c2-458dfd6e0e73",
  "amount": 500,
  "callback_url": "https://webhook.site/cfe48fa4-dd15-4a8b-a318-c918e94cb020",
  "redirect_url": "https://ya.ru/",
  "email": "[email protected]",
  "customer_name": "Ivan Vasiliev",
  "currency": "rub",
  "payeer_identifier": "payeer_identifier123",
  "payeer_ip": "127.0.0.1",
  "payeer_type": "trust",
  "payment_method": "crysis"
}

Signature generation rule

To generate the signature, you need to convert the request body to JSON format, concatenate it with the api_key issued to you in your personal account, and apply the SHA1 hash function to the resulting string:

74f9589ecae089b23668b92e29q2u1hiddad2{"user_uuid":"0091e581-d96f-478b-be98-51937b66204d","merchant_id":"a6631ecaa-7ad1-162b-91c2-458dfd6e0e73","amount":500,"callback_url":"https://webhook.site/cfe48fa4-dd15-4a8b-a318-c918e94cb020","redirect_url":"https://ya.ru/","email":"[email protected]","customer_name":"Ivan Vasiliev","currency":"rub","payeer_identifier":"payeer_identifier123","payeer_ip":"127.0.0.1","payeer_type":"trust","payment_method":"crysis"}

Compute the result using the SHA1 hash function:

Last updated