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"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/direct-api-file-object"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.