POST
/
items
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Описание намерения

The body is of type object.

Response

200
application/json

intent response

The response is of type object.