curl https://payment.yandex.net/api/v3/payments \
-X POST \
-u <Идентификатор магазина>:<Секретный ключ> \
-H 'Idempotence-Key: <Ключ идемпотентности>' \
-H 'Content-Type: application/json' \
-d '{
"amount": {
"value": "2.00",
"currency": "RUB"
},
"confirmation": {
"type": "redirect",
"return_url": "https://www.merchant-website.com/return_url"
},
"description": "Заказ №72"
}'