SmartGare
API referenceEndpoints

Retrieve a dispute's ruling document

BIL-015. The bytes of this dispute's ruling document and of no other document, handed over only after they were read back and matched the size and SHA-256 fingerprint recorded when it was kept. Its own right, so a counter can print a ruling without the right to retrieve any other kept document. A pending, removed, missing or altered document, or a store that cannot be reached, is refused with its reason and no byte. **Required permission:** `billing.dispute:print-ruling`

GET/billing/v1/disputes/{disputeId}/ruling/document

BIL-015. The bytes of this dispute's ruling document and of no other document, handed over only after they were read back and matched the size and SHA-256 fingerprint recorded when it was kept. Its own right, so a counter can print a ruling without the right to retrieve any other kept document. A pending, removed, missing or altered document, or a store that cannot be reached, is refused with its reason and no byte.

Required permission: billing.dispute:print-ruling

AuthorizationBearer <token>

In: header

Response Body

*/*

*/*

curl -X GET "https://example.com/billing/v1/disputes/{disputeId}/ruling/document"
"string"