Affirm · Schema
FileObject
Represents a file uploaded to Affirm's servers.
FintechBNPLLendingPaymentsConsumer
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the uploaded file. |
| filename | string | Original filename of the uploaded file. |
| size | integer | File size in bytes. |
| content_type | string | MIME type of the uploaded file. |
| purpose | string | Intended purpose of the file. |
| created | string | Upload timestamp in RFC 3339 format. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/affirm/refs/heads/main/json-schema/direct-api-file-object-schema.json",
"title": "FileObject",
"description": "Represents a file uploaded to Affirm's servers.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the uploaded file.",
"example": "500123"
},
"filename": {
"type": "string",
"description": "Original filename of the uploaded file.",
"example": "Example Merchant"
},
"size": {
"type": "integer",
"description": "File size in bytes.",
"example": 1
},
"content_type": {
"type": "string",
"description": "MIME type of the uploaded file.",
"example": "standard"
},
"purpose": {
"type": "string",
"description": "Intended purpose of the file.",
"example": "example_value"
},
"created": {
"type": "string",
"format": "date-time",
"description": "Upload timestamp in RFC 3339 format.",
"example": "2025-03-15T14:30:00Z"
}
}
}