provider POST /v1/files
@utdk/stripe /v1/files
Create a file
<p>To upload a file to Stripe, you need to send a request of type <code>multipart/form-data</code>. Include the file you want to upload in the request, and the parameters for creating a file.</p> <p>All of Stripe’s officially supported Client libraries support sending <code>multipart/form-data</code>.</p>

Try it

Authentication
Configure credentials for Stripe API
postfiles
POST/v1/files
<p>To upload a file to Stripe, you need to send a request of type <code>multipart/form-data</code>. Include the file you want to upload in the request, and the parameters for creating a file.</p> <p>All of Stripe’s officially supported Client libraries support sending <code>multipart/form-data</code>.</p>

This operation has no parameters.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postfiles()