POST
/v1/terminal/onboarding_linksCreate an Onboarding Link
Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
expandarray<string>optional
Specifies which fields in the response should be expanded.
link_optionsobjectrequired
Specific fields needed to generate the desired link type.
link_typestringrequired
The type of link being generated.
on_behalf_ofstringoptional
Stripe account ID to generate the link for.
200Successful response.
link_optionsobjectrequired
Link type options associated with the current onboarding link object.
link_typestringrequired
The type of link being generated.
objectstringrequired
on_behalf_ofstringoptional
Stripe account ID to generate the link for.
redirect_urlstringrequired
The link passed back to the user for their onboarding.
defaultError response.
errorobjectrequired
Error handling
Any other status is an error: Error response.