Factuarea APIDevelopers

connect_return_url_not_allowed

The host of the `return_url` is not among the return domains of the account of the key you use to start the Stripe connection. Only `https` addresses whose exact host (no wildcards) is registered on that account are accepted, so nobody can send the person to a site you do not control.

CodeTypeHTTPCategory
connect_return_url_not_allowedinvalid_request_error422Integration

Cause

The host of the return_url is not among the return domains of the account of the key you use to start the Stripe connection. Only https addresses whose exact host (no wildcards) is registered on that account are accepted, so nobody can send the person to a site you do not control.

What to do

Register the host with POST /v1/accounts/{account}/connected-accounts/return-domains, or use in the return_url one that is already registered (GET on the same path), and start again with a new Idempotency-Key.

On this page

Need a hand?Contact support