Logo
Mastercard Developers API Documentation

Retrieve processed documents associated with cases

GET {{baseUrl}}/cases/:case_id/documents?download_format=ORIGINAL

Senders and receivers use this endpoint to retrieve all documents from a case. The documents include any documents attached by the sender, receiver, or both.

 

Body PARAM

Key Datatype Required Description 
download_format
string (Required) Desired format of the documents. *Available values:* ORIGINAL, MERGED_TIFF, MERGED_PDF



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "fileName": "CustomerLetter.pdf", "file": "This is a file stored in a base64 encoded string" }



Curl
curl -X GET '/cases/:case_id/documents?download_format=ORIGINAL?download_format=ORIGINAL' -H 'Accept: application/json'

ENDPOINTS