mPos information
mPos id
GET //api/pay/m-pos/{id} HTTP/1.1 Host: api.client.nbcgate.tech Authorization: YOUR_API_KEY Accept: */*
OK
{ "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" }
Creation of mPos
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
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
No content