cURL
curl --request POST \ --url https://api.steamgold.dev/v1/pouch/{pouchId}/intents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "intentId": "<string>" } '
{ "code": 200, "paymentAmount": 1500, "paymentCurrency": "RUB", "message": "Intent added to pouch" }
Добавляет существующее намерение в корзину
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID корзины
ID намерения для добавления
Намерение успешно добавлено
200
Обновленная сумма к оплате
1500
Валюта оплаты
"RUB"
"Intent added to pouch"