Sign in

Upload file

documented

Upload a file.

POST /v1/filesFilesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://files.stripe.com/v1/files" \
  -X POST \
  -u {{STRIPE_API_KEY}}: \
  -H "Accept: application/json" \
  -F "purpose={{$purpose}}" \
  -F "file=@{{$file_path}};type={{$mime_type}}"