Upload AUS Request File
Upload request file using multipart/form-data (RFC-1867).
File must contain: Header (H1) + Detail Records (D1/D2) + Trailer (T1)
CRITICAL: All fields must be exact length, padded with trailing spaces.
Response Format: URL-encoded name=value pairs in text/plain body.
Request Body
Content type: multipart/form-data
Required4 fields
userIdstringUser login name
maxLength=75
userPassstringUser login password
format=password · maxLength=32
merchIdstringME merchant number, must be linked to userId in AUS system
maxLength=32
filestringAUS request file containing Header (H1) + Detail Records (D1/D2) + Trailer (T1).
All fields must be exact length, padded with trailing spaces.
format=binary
Responses
200
Upload response in URL-encoded format (application/x-www-form-urlencoded style in text/plain body)
Upload response in URL-encoded format (application/x-www-form-urlencoded style in text/plain body).
Success includes reqfId. Errors include rspCode and rspMessage only.
Common2 fields
rspCodestringResponse code, 0 = OK, see error table
maxLength=4
rspMessagestringResponse message
maxLength=200
When Provided1 field
reqfIdstringAUS system generated request file ID (only on success)
pattern=^\d{1,12}$ · maxLength=12
Example Response
rspCode=0&rspMessage=Upload+successful&reqfId=123456789012
Code samples
Copy-paste ready code in your preferred language.
API call
Copy/paste friendly
curl -X POST "https://test.merchante-solutions.com/srv/api/ausUpload" \
-H "Accept: application/json" \
-F "userId=ausmerchant" \
-F "userPass=SecureP@ss123" \
-F "merchId=941000057778" \
-F "file=@(binary file content)"