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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

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.

Enter a gateway URL above to enable sending.

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

TypeScript

import stripe from '@utdk/stripe';

await stripe.postfiles()