Create Session
Changed onCreate a session and use it to initialize the SDK.
Request
- Base URLhttps://development.knotapi.com
- URLhttps://development.knotapi.com/session/create
- AuthHTTP basic
Request body
Example request
{
"type": "card_switcher",
"external_user_id": "123abc",
"card_id": "81n9al10a0ayn13",
"bank_account_id": "91n9al81da0k1yn13",
"email": "ada.lovelace@gmail.com",
"phone_number": "+11234567890",
"country": "CA",
"metadata": {
"reference_token": "abc123",
"trace_id": "def456"
}
}Response
Successful request.
Example response
{
"session": "915efe72-5136-4652-z91q-d9d48003c102"
}Changes
- warning
added the new
CANCELLABLE_SUBSCRIPTION_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
CANCELLABLE_SUBSCRIPTION_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
CANCELLABLE_SUBSCRIPTION_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
CANCELLABLE_SUBSCRIPTION_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
ENVIRONMENT_MISMATCHenum value to theresponse property for the response status - warning
added the new
ENVIRONMENT_MISMATCHenum value to theresponse property for the response status - warning
added the new
ENVIRONMENT_MISMATCHenum value to theresponse property for the response status - warning
added the new
ENVIRONMENT_MISMATCHenum value to theresponse property for the response status - warning
added the new
INSUFFICIENT_ROLEenum value to theresponse property for the response status - warning
added the new
INSUFFICIENT_ROLEenum value to theresponse property for the response status - warning
added the new
INSUFFICIENT_ROLEenum value to theresponse property for the response status - warning
added the new
INSUFFICIENT_ROLEenum value to theresponse property for the response status - warning
added the new
INSUFFICIENT_SCOPEenum value to theresponse property for the response status - warning
added the new
INSUFFICIENT_SCOPEenum value to theresponse property for the response status - warning
added the new
INSUFFICIENT_SCOPEenum value to theresponse property for the response status - warning
added the new
INSUFFICIENT_SCOPEenum value to theresponse property for the response status - warning
added the new
INVALID_ACCESS_TOKENenum value to theresponse property for the response status - warning
added the new
INVALID_ACCESS_TOKENenum value to theresponse property for the response status - warning
added the new
INVALID_ACCESS_TOKENenum value to theresponse property for the response status - warning
added the new
INVALID_ACCESS_TOKENenum value to theresponse property for the response status - warning
added the new
MULTIPLE_CANCELLABLE_SUBSCRIPTIONS_FOUNDenum value to theresponse property for the response status - warning
added the new
MULTIPLE_CANCELLABLE_SUBSCRIPTIONS_FOUNDenum value to theresponse property for the response status - warning
added the new
MULTIPLE_CANCELLABLE_SUBSCRIPTIONS_FOUNDenum value to theresponse property for the response status - warning
added the new
MULTIPLE_CANCELLABLE_SUBSCRIPTIONS_FOUNDenum value to theresponse property for the response status - warning
added the new
RATE_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
RATE_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_ERRORenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_ERRORenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_ERRORenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_ERRORenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_QUERY_TIMEOUTenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_QUERY_TIMEOUTenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_QUERY_TIMEOUTenum value to theresponse property for the response status - warning
added the new
REQUEST_LOG_QUERY_TIMEOUTenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_ALREADY_EXISTSenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_ALREADY_EXISTSenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_ALREADY_EXISTSenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_ALREADY_EXISTSenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_ERRORenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_ERRORenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_ERRORenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_ERRORenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_LIMIT_REACHEDenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_LIMIT_REACHEDenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_LIMIT_REACHEDenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_LIMIT_REACHEDenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_NOT_FOUNDenum value to theresponse property for the response status - warning
added the new
WEBHOOK_ENDPOINT_NOT_FOUNDenum value to theresponse property for the response status - info
added the new optional request property
- info
added the new optional request property
- warning