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

Authorizations

Authorization
string
header
required

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

Path Parameters

pouchId
string
required

ID корзины

Body

application/json
intentId
string
required

ID намерения для добавления

Response

Намерение успешно добавлено

code
integer
Example:

200

paymentAmount
number

Обновленная сумма к оплате

Example:

1500

paymentCurrency
string

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

Example:

"RUB"

message
string
Example:

"Intent added to pouch"