| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
dukonst 08.07.2020 14:12 / 08.07.2020 14:12
Спасибо за помощь. На текущий момент пока проблем больше нет.$kassa[^curl:load[
$.url[https://payment.yandex.net/api/v3/payments]
$.post(true)
$.ssl_verifypeer(true)
$.verbose(true)
$.stderr[/curl.txt]
$.userpwd[***:***]
$.httpheader[
$.[Content-Type][application/json]
$.[Idempotence-Key][qwerty]
]
$.postfields[{
"amount": {
"value": "600.00",
"currency": "RUB"
},
"confirmation":{
"type":"embedded"
},
"capture": true,
"description":"order72",
"receipt": {
"customer": {
"full_name": "Иванов Иван Иванович",
"phone": "79000000000"
},
"items": [{
"description": "Доставка",
"quantity": "1.00",
"amount": {
"value": "600.00",
"currency": "RUB"
},
"vat_code": "2",
"payment_mode": "full_prepayment",
"payment_subject": "commodity"
}]
}
}]
]]Ошибка была в строке "capture": true,. В доках идет
"capture": True,