By default, generates a temporary page that allows a user to visit and have a browser session set. This is typically the first step in directing the user to a Tilia web UI, such as those presented in the payments or payouts flows. After calling this endpoint, redirect the client's browser to the URL in the response payload. More info about the web UI can be found here.
Alternatively, if return_token
is set to true, the response payload will contain the key token
whose value is a password token string that can be passed directly to other API calls. This is useful for clients that are not browser-based.
Success.
Invalid input. Invalid JSON in request body, or account_id is invalid
Unauthorized access.
Access forbidden. The account is blocked.
Service unavailable or server error
{- "account_id": "acct_2TiDFXHVFMlAuyy7ovvz3YPKv9b",
- "return_token": true,
- "mechanism": "tilia_hosted",
- "flow": "addcard",
- "token_expiration_seconds": 30
}
{- "status": "Success",
- "message": [
- null
], - "codes": [
- null
], - "payload": {
- "nonce_auth_id": "80b4ff4b-320c-49b3-addf-b8e2e9b13b8c",
- "token": "string"
}
}