Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

application/json

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

platform
string
required

Платформа для которой создается намерение (например, steam-gift)

item
string
required

Идентификатор игры (appId в Steam)

target
object
required

Данные получателя подарка

email
string<email>
required

Электронная почта геймера для получения чека

fee
enum<string>
default:excluded

Если included то комиссия включена в сумму, если excluded то комиссия не включена в сумму, naive считает комиссию от суммы оплаты.

Available options:
included,
excluded,
naive
code
string

Промокод применяемый к покупке

Response

intent response

code
integer<int32>
required

HTTP-код ответа

intentId
string<uuid>
required

Идентификатор намерения

paymentAmount
number
required

Сумма платежа

paymentCurrency
string
required

Валюта платежа