File Processing

Create URL

POST
/files

Create a File Processing resource on the Global Payments platform and return a unique signed URL that you can use to securely upload your encrypted bulk transaction file.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Header Parameters

X-GP-Version*string

The version of the API to execute the request.

Length1 <= length <= 50
Default"2021-03-22"
X-GP-Idempotency?string

Integrator generated value submitted in the request header that is checked to ensure the same value has not been seen in the last 24 hours. It is used to ensure idempotency is maintained with this action.

Length1 <= length <= 50

Request Body

application/json

Request body used to create a File Processing resource and obtain a signed upload URL.

account_name*string

A meaningful label that better identifies the account.

notifications*

Indicates to Global Payments where the merchant wants to receive notifications of certain events that occur on the platform.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/files" \  -H "X-GP-Version: 2021-03-22" \  -H "Content-Type: application/json" \  -d '{    "account_name": "file_processing",    "notifications": {      "status_url": "https://www.example.com/notifications/return"    }  }'
{  "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",  "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",  "expiration_date": "2025-12-20T23:59:59Z",  "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"  }}