createFileSynchronous

fun createFileSynchronous(fileParams: StripeFileParams, idempotencyKey: String? = null, stripeAccountId: String? = this.stripeAccountId): StripeFile

Create a file synchronously

Parameters

fileParams

the StripeFileParams used to create the StripeFile

idempotencyKey

optional, see Idempotent Requests

stripeAccountId

Optional, the Connect account to associate with this request. By default, will use the Connect account that was used to instantiate the Stripe object, if specified.