Create a token from offer

Creates a new token for the authenticated user from the specified offer ID.
Validates offer availability and location data before initialization.

Path Params
string
required
Body Params
int32 | null

The location id of the offer.

boolean | null

Opt-in duplicate prevention. When Some(true), the request fails
with 409 Conflict if the authenticated user already has an active
token (token_owners.deleted_at IS NULL) for this offer_id. When
None or Some(false), behavior is unchanged: a new token is always
created even if the user already has one.

Responses

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