Upload a file to UQPAY. The maximum size of the upload file is up to 20MB. Supported file types include jpeg, png, jpg, doc, docx, pdf. When you upload a file, the API responds with a file_id. This file ID can then be referenced as required as part of the attachments object in our other endpoints.
Token used to request APIs
The value set to the connected account's ID. More information at List Connected Accounts
A unique identifier (UUID) used to maintain operation idempotency, ensuring that repeated executions of the same operation do not result in unintended effects or duplication. It helps preserve data consistency in the face of network errors, retries, or failures.
The notes of the uploaded file, max length is 50 characters
50OK - Successfully uploaded a file.
Timestamp when the file was uploaded.
"2024-08-22T17:12:58+08:00"
Unique identifier for the uploaded file. Use this ID to reference the file in other API calls.
"b3d9d2d5-4c12-4946-a09d-953e82sed2b0"
Original name of the uploaded file including extension.
"example.png"
File extension type (e.g., png, pdf, docx).
"png"
File size in bytes.
123456
Optional notes associated with the file.
"This is a note"