Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:Authorization: Basic *****************
Request samples
curl --location --request GET 'https://apitest.wooshpay.com/v1/files/' \
--header 'Accept;' \
--header 'Authorization: Basic Og=='
Responses
application/json Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
The time at which the file expires and is no longer available in epoch seconds.
A filename for the file, suitable for saving to a filesystem.
The purpose of the uploaded file.
The size in bytes of the file object.
A user friendly title for the document.
The type of the file returned.
The URL from which the file can be downloaded using your live secret API key.
{
"id": "file_xxxxxxxxxxxxxx",
"object": "file",
"created": 1668769862,
"expires_at": 1692097862,
"filename": "file_1M5STK2EY01RxH3nPvxSLxzH",
"purpose": "dispute_evidence",
"size": 9863,
"title": null,
"type": "png",
"url": "https://files.com"
}
Modified at 2023-01-06 13:41:50