M pos
Creation of mPos
Authorizations
Body
balance_idintegerRequired
external_idstringRequired
namestringRequired
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
application/json
post
POST //api/pay/m-pos HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"balance_id": 1,
"external_id": "text",
"name": "text"
}
{
"id": 1
}
Editing mPos
Authorizations
Body
balance_idintegerRequired
idintegerRequired
m_pos_status_idintegerRequired
m_pos_type_idintegerRequired
namestringRequired
owner_idintegerOptional
Responses
204
No Content
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
application/json
put
PUT //api/pay/m-pos HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"balance_id": 1,
"id": 1,
"m_pos_status_id": 1,
"m_pos_type_id": 1,
"name": "text",
"owner_id": 1
}
No content
mPos information
Authorizations
Path parameters
idintegerRequired
mPos 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/pay/m-pos/{id} HTTP/1.1
Host: api.client.nbcgate.tech
Authorization: YOUR_API_KEY
Accept: */*
{
"amount": 1,
"balance_id": 1,
"date_add": "text",
"editable_balance": true,
"id": 1,
"iso_str": "text",
"m_pos_status_id": 1,
"m_pos_type_id": 1,
"name": "text",
"owner_id": 1,
"uu_id": "text"
}