.RESP.pgp to the original file’s name. For example, if you send BankABC.Transactions.2017-11-01.batch001.pgp, the response file will be named BankABC.Transactions.2017-11-01.batch001.RESP.pgp.
The .RESP suffix identifies the file as a response file, and the .pgp extension is added due to the file being PGP encrypted.
Requirements
To receive response files, you must provide:- A URL and credentials for your SFTP server, where MX will deliver the files after the batch processing is complete.
- A valid username and password. Your SFTP should use username and password authentication.
- A public PGP key for MX to use for encrypting the response files.
File Format
Response files are sent in CSV format and encrypted with your provided public PGP key. MX uses standard CSV settings: comma delimiters, newlines for record separators, and quotes for field quoting.Order of Fields and Addition of New Fields
Don’t rely on the specific order or length of fields in response files, as new fields may be added periodically. Response files include a header row that lists fields and their order. Always use this header row to interpret file contents. If your system requires a specific field length or order, you’ll need to pre-process the CSV file to meet your requirements. This may include:- Re-ordering fields
- Eliminating new or unexpected fields
- Truncating or expanding fields to a consumable length
Response File Contents
All response files contain astatus_code field with an HTTP status for each record from your original request file.
HTTP status codes
- 200 OK: The upsert action was successful. An existing record was updated.
- 201 Created: The upsert action was successful. A new record was created.
- 204 No Content: The delete action was successful. The record was deleted from the MX Platform.
- 404 Not Found: A dependent record was missing. For example, the user specified in the account record is not present in the MX system.
- 400 Bad Request: Invalid record. See the message field for details about what was invalid, for example, improper data types, missing required fields, etc.
- 409 Conflict: The record was not processed. This status can occur when there are duplicate records in the file.

