Create URL
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 Access token from POST /accesstoken, sent as Authorization: Bearer <token>.
In: header
Header Parameters
The version of the API to execute the request.
1 <= length <= 50"2021-03-22"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.
1 <= length <= 50Request Body
application/json
Request body used to create a File Processing resource and obtain a signed upload URL.
A meaningful label that better identifies the account.
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" }}List Files GET
Return a list of File Processing resources previously created by the merchant. Results can be filtered by status, id, and creation date range, and paginated using standard paging parameters.
Upload File PUT
Upload the encrypted bulk transaction file to the signed URL returned by `POST /files`. This request is not sent to the Global Payments API. Instead, it must be sent as-is to the fully qualified `url` returned in the Create URL response. The signed URL contains all authentication and expires after the `expiration_date` value returned by Create URL (default 15 minutes). Notes: - Use HTTP `PUT` and stream the encrypted file as the raw request body (`--data-binary`). - The `Content-Type` header must match the value that was signed when the URL was generated (`text/csv`). - Do not send the `Authorization`, `X-GP-Version`, or any other Global Payments headers on this request. - A successful upload returns HTTP `200` with an empty body. The file's `status` on the Global Payments platform then transitions from `INITIATED` to `UPLOADED`.