Attach a checkout session by hosted slug (public)

Sets the checkout session ID on the invoice with the given hosted slug (used by the hosted page when the customer starts payment). Returns the same customer-facing payload as the by-slug retrieve.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Hosted invoice slug

Body Params

Checkout session reference

string
required
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json