GET /temp/api/v1/temps
Headers
{"X-Api-Key": <invoice_key>}
Body (application/json)
Returns 200 OK (application/json)
[<temp_object>, ...]
Curl example
curl -X GET {{ request.base_url }}temp/api/v1/temps -H "X-Api-Key: <invoice_key>"
POST /temp/api/v1/temps
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 }}temp/api/v1/temps -d '{"name": <string>, "currency": <string>}' -H "Content-type: application/json" -H "X-Api-Key: <admin_key>"
DELETE /temp/api/v1/temps/<temp_id>
Headers
{"X-Api-Key": <admin_key>}
Returns 204 NO CONTENT
Curl example
curl -X DELETE {{ request.base_url }}temp/api/v1/temps/<temp_id> -H "X-Api-Key: <admin_key>"