Referenca e API-sëPikat e shitjes
List a POS's certificates
Every revision, newest first, including the signed PEM. `is_current` marks the one in use.
GET
/v1/pos/{pos_id}/certificatesEvery revision, newest first, including the signed PEM. is_current marks the one in use.
Authorization
fiskalizaKey fiskaliza:pos:manageAuthorizationBearer <token>
An opaque Fiskaliza API key. Each operation lists the capabilities required on that key.
In: header
Scope: fiskaliza:pos:manage
Path Parameters
pos_id*string
Match
^nj_pos_Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/pos/string/certificates"{ "success": true, "warnings": [ "string" ], "data": { "certificates": [ { "id": "string", "pos_id": "string", "revision": 0, "fingerprint_sha256": "string", "subject": "string", "not_before": "2019-08-24T14:15:22Z", "not_after": "2019-08-24T14:15:22Z", "is_current": true, "created_at": "2019-08-24T14:15:22Z", "signed_certificate_pem": "string" } ] }}