cURL
curl --request POST \ --url https://api.steamgold.dev/v1/pouch \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "attribution": { "utm_source": "<string>", "utm_medium": "<string>" } } '
{ "code": 200, "pouchId": "5f4d3fc4a1f6c80017e7b7d1", "paymentAmount": 1000, "paymentCurrency": "RUB" }
Создает новую пустую корзину для последующего наполнения намерениями
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Атрибуция трафика (если есть). Подробнее в документации
Show child attributes
Корзина успешно создана
200
ID созданной корзины
"5f4d3fc4a1f6c80017e7b7d1"
Сумма к оплате
1000
Валюта оплаты
"RUB"