Stripe · Schema

PostFilesRequest

CommerceFinancial ServicesFintechPaymentsT1StripeAgentic CommercePoint-of-SalePayment Processing

Properties

Name Type Description
expand array Specifies which fields in the response should be expanded.
file string A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for the `multipart/form-data` protocol.
file_link_data object Optional parameters that automatically create a [file link](https://stripe.com/docs/api#file_links) for the newly created file.
purpose string The [purpose](https://stripe.com/docs/file-upload#uploading-a-file) of the uploaded file.
View JSON Schema on GitHub

JSON Schema

stripe-post-files-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stripe/main/json-schema/stripe-post-files-request-schema.json",
  "title": "PostFilesRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stripe-files-api-openapi.yml#/components/schemas/PostFilesRequest",
  "type": "object",
  "required": [
    "file",
    "purpose"
  ],
  "properties": {
    "expand": {
      "description": "Specifies which fields in the response should be expanded.",
      "items": {
        "maxLength": 5000,
        "type": "string"
      },
      "type": "array"
    },
    "file": {
      "description": "A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for the `multipart/form-data` protocol.",
      "format": "binary",
      "type": "string"
    },
    "file_link_data": {
      "description": "Optional parameters that automatically create a [file link](https://stripe.com/docs/api#file_links) for the newly created file.",
      "properties": {
        "create": {
          "type": "boolean"
        },
        "expires_at": {
          "format": "unix-time",
          "type": "integer"
        },
        "metadata": {
          "anyOf": [
            {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            {
              "enum": [
                ""
              ],
              "type": "string"
            }
          ]
        }
      },
      "required": [
        "create"
      ],
      "title": "file_link_creation_params",
      "type": "object"
    },
    "purpose": {
      "description": "The [purpose](https://stripe.com/docs/file-upload#uploading-a-file) of the uploaded file.",
      "enum": [
        "account_requirement",
        "additional_verification",
        "business_icon",
        "business_logo",
        "customer_signature",
        "dispute_evidence",
        "identity_document",
        "pci_document",
        "tax_document_user_upload",
        "terminal_reader_splashscreen"
      ],
      "type": "string",
      "x-stripeBypassValidation": true
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/stripe-post-files-request"
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.