Create an account link
POST
/v1/account_links https://api.stripe.com/
Request Body
application/x-www-form-urlencoded
required
{
account: string;
collect?: "currently_due" | "eventually_due";
collection_options?: { fields?: "currently_due" | "eventually_due";future_requirements?: "include" | "omit"; };
expand?: string[];
refresh_url?: string;
return_url?: string;
type: "account_onboarding" | "account_update";
}
account: string;
collect?: "currently_due" | "eventually_due";
collection_options?: { fields?: "currently_due" | "eventually_due";future_requirements?: "include" | "omit"; };
expand?: string[];
refresh_url?: string;
return_url?: string;
type: "account_onboarding" | "account_update";
}
Responses
200 application/json
Successful response.
interface AccountLink {
created: number;
expires_at: number;
object: "account_link";
url: string;
}
created: number;
expires_at: number;
object: "account_link";
url: string;
}
default application/json
Error response.
interface Error {
error:ApiErrors ;
}
error:
}