File Processing

Get File Details

GET
/files/{id}

Return the details of a previously created File Processing resource, including its current status, the original signed upload URL, and (once processing is complete) the list of signed URLs to download the encrypted response file(s).

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /accesstoken, sent as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

A unique identifier for the file resource, generated by Global Payments. Returned in the id field of the Create URL response.

Header Parameters

X-GP-Version*string

The version of the API to execute the request.

Length1 <= length <= 50
Default"2021-03-22"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/files/FPR_bnqlo0LgbMt221TczxF70Awdg7c5ez" \  -H "X-GP-Version: 2021-03-22"
{  "id": "FPR_bnqlo0LgbMt221TczxF70Awdg7c5ez",  "time_created": "2023-03-10T13:14:48.386Z",  "status": "INITIATED",  "merchant_id": "MER_880c34767b184d5e82b10e767201e648",  "merchant_name": "Curtis_Douglas49",  "account_id": "FMA_2d4ddd693ff7448b97ea420b13aecac2",  "account_name": "file_processing",  "total_record_count": "",  "response_files": [    {      "response_file_id": "string",      "name": "string",      "time_created": "2023-03-10T13:14:48.386Z",      "expiration_date": "2025-12-20T23:59:59Z",      "url": "https://storage.googleapis.com/bkt-gouscnaic-file-processing-str01-unscanned/MER_c5d37eaf0e3841e083c232b2318af55c/Request/FPR_6eda5561b44f43238239215c4d44159e?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=file-processing-function%40pid-gousgnac-mega-gain-app.iam.gserviceaccount.com%2F20250324%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20250324T093351Z&X-Goog-Expires=900&X-Goog-SignedHeaders=content-type%3Bhost&X-Goog-Signature=ba342259b757d3284436197c0b1d65f04480ccbba698db5aafcc085bed9c1f246109edee4a2a5ed88f9a245aebc5e79111f94c7565068e3263227ed67ab2f3b979c2b721d00e6f537c8535039d053e60601467b2cb50cd200d10991d446ff6a1e9063ba79a292d17e6a2e62bd91594648f84b9ffec262c3115738f36399417e5fd335178e8d9c3d4a8a3bb7ba4b9f3925c78c45643cd648e4013fb0ed2c81c1b8b660a06fe2026e393d98d42fab4fd8078208908aa2fd464c378aa8dcc5d1dfe3e8477e2e62266714e0e569498719ff324680abb7dbb832f93874523e41fe30abaf8b544ece1b5ddbcdc9c4977e6f446f29dcba9b751959b3b137e76449ec753"    }  ],  "action": {    "id": "ACT_uzFr7t4VOqxdLDI44hHmXIjHtOOE8d",    "type": "FILE_CREATE",    "time_created": "2021-05-03T21:23:39.718Z",    "result_code": "SUCCESS",    "app_id": "uzFr7t4VOqxdLDI44hHmXIjHtOOE8d",    "app_name": "my_lovely_app"  }}