Transfer
Transfer of funds within the system
Authorizations
Body
amountnumberRequired
Сумма перевода
commissionnumberOptional
Комиссия перевода
from_balance_idintegerRequired
Баланс отправителя
order_idstringRequired
Номер транзакции
product_idintegerRequired
to_owner_idintegerRequired
Номер получателя
user_idintegerOptional
Инициатор запроса (заполняется на стороне api)
Responses
204
No Content
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
application/json
post
POST //api/transfer HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"amount": 1,
"commission": 1,
"from_balance_id": 1,
"order_id": "text",
"product_id": 1,
"to_owner_id": 1,
"user_id": 1
}
No content
Transfer data by order_id
Authorizations
Path parameters
order_idstringRequired
order id
user_idstringOptional
user id
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
application/json
get
GET //api/transfer/{order_id}/{user_id} HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Accept: */*
{
"amount": 1,
"author": "text",
"commission": 1,
"date": "text",
"from_balance_id": 1,
"from_iso_string": "text",
"order_id": "text",
"to_balance_id": 1,
"to_owner_id": 1,
"to_owner_name": "text"
}