SIGNATURE
Example Request:
{
"user_uuid": "364dbfc8-ae50-492f-bdd9-748edd84d5c9",
"amount": 50000,
"callback_url": "https://webhook.site/f3029e33-db04-40fd-a81e-5cea9a69fc80",
"merchant_id": "40fd-a81e-f3029e33-5cea9a69fc80",
"payment_method": "imps",
"currency": "rub"
}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":"364dbfc8-ae50-492f-bdd9-748edd84d5c9","amount":50000,"callback_url":"https://webhook.site/f3029e33-db04-40fd-a81e-5cea9a69fc80","merchant_id":"40fd-a81e-f3029e33-5cea9a69fc80","payment_method":"imps","currency":"rub"}
Compute the result using the SHA1 hash function:
4734c31f2ee5ef486b5a9d05839368475ba2c6a6Last updated