Skip to main content
POST
/
pouch
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"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
attribution
object

Атрибуция трафика (если есть). Подробнее в документации

Response

Корзина успешно создана

code
integer
Example:

200

pouchId
string

ID созданной корзины

Example:

"5f4d3fc4a1f6c80017e7b7d1"

paymentAmount
number

Сумма к оплате

Example:

1000

paymentCurrency
string

Валюта оплаты

Example:

"RUB"