mPos information
mPos id
curl -L \ --url 'http://api.client.nbcgate.tech//api/pay/m-pos/{id}' \ --header 'Authorization: YOUR_API_KEY'
{ "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
curl -L \ --request POST \ --url 'http://api.client.nbcgate.tech//api/pay/m-pos' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "balance_id": 1, "external_id": "text", "name": "text" }'
{ "id": 1 }
Editing mPos
curl -L \ --request PUT \ --url 'http://api.client.nbcgate.tech//api/pay/m-pos' \ --header 'Authorization: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "balance_id": 1, "id": 1, "m_pos_status_id": 1, "m_pos_type_id": 1, "name": "text", "owner_id": 1 }'
No body