cURL
curl --request POST \ --url https://api.steamgold.dev/v1/items \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "account": "<string>", "additionalFields": {}, "email": "<string>", "platform": "<string>", "item": "<string>", "code": "<string>", "fee": "excluded", "attribution": { "utm_source": "<string>", "utm_medium": "<string>" }, "successUrl": "<string>", "failureUrl": "<string>", "callbackUrl": "<string>" }'
{ "code": 123, "intentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "verified": true, "intentAmount": 123, "intentCurrency": "<string>", "paymentAmount": 123, "paymentCurrency": "<string>", "message": "<string>" }
Создает намерение для покупки
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Описание намерения
The body is of type object.
object
intent response
The response is of type object.