GET /tpos/api/v1/tposs
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 200 OK (application/json)
[<tpos_object>, ...]
Curl example
curl -X GET {{ request.base_url }}api/v1/tposs -H "X-Api-Key: <invoice_key>"
POST /tpos/api/v1/tposs
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
{"name": <string>, "currency": <string*ie USD*>}
Returns 201 CREATED (application/json)
{"currency": <string>, "id": <string>, "name": <string>, "wallet": <string>}
Curl example
curl -X POST {{ request.base_url }}api/v1/tposs -d '{"name": <string>, "currency": <string>}' -H "Content-type: application/json" -H "X-Api-Key: <admin_key>"
DELETE /tpos/api/v1/tposs/<tpos_id>
Headers
{"X-Api-Key": <admin_key>}
Returns 204 NO CONTENT
Curl example
curl -X DELETE {{ request.base_url }}api/v1/tposs/<tpos_id> -H "X-Api-Key: <admin_key>"