Skip to main content
GET
/
pouch
/
{pouchId}
cURL
curl --request GET \
  --url https://api.steamgold.dev/v1/pouch/{pouchId} \
  --header 'Authorization: Bearer <token>'
{
  "code": 200,
  "pouchStatus": "open",
  "intents": [
    {
      "intentId": "5f4d3fc4a1f6c80017e7b7d2",
      "verification": "verified",
      "deliveryStatus": "created",
      "deliveryId": "delivery_12345",
      "intentAmount": 500,
      "intentCurrency": "RUB",
      "paymentAmount": 500,
      "treasure": {
        "type": "gold",
        "platform": "steam",
        "item": "1000_gold_coins",
        "title": "1000 золотых монет"
      }
    }
  ],
  "paymentStatus": "created",
  "paymentAmount": 1000,
  "paymentCurrency": "RUB"
}

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 корзины

Response

Информация о корзине

code
integer
Example:

200

pouchStatus
enum<string>

Статус корзины

Available options:
open,
closed,
delivered,
failed
Example:

"open"

intents
object[]

Список намерений в корзине

paymentStatus
enum<string>

Статус оплаты корзины

Available options:
created,
pending,
paid,
rejected,
canceled,
refunded,
expired
Example:

"created"

paymentAmount
number

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

Example:

1000

paymentCurrency
string

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

Example:

"RUB"