Decline a session and mark it as decisioned
curl --request POST \
--url https://api.beltic.com/v1/identity/sessions/{id}/decline \
--header 'X-Api-Key: <api-key>'{
"data": {
"id": "<string>",
"type": "session",
"attributes": {
"status": "created",
"creator_type": "system",
"entity_type": "person",
"creator_id": "<string>",
"person": {
"name": {
"first": "<string>",
"middle": "<string>",
"last": "<string>"
},
"birth_date": "<string>"
},
"business": {
"legal_name": "<string>",
"registration_date": "<string>",
"shareholders": [
{
"name": "<string>",
"shareholder_type": "<string>",
"date_of_birth": "<string>",
"id_type": "<string>",
"id_number": "<string>",
"number_of_share": "<string>",
"percentage_of_share": 123
}
]
},
"identity_numbers": {
"number": "<string>",
"issuing_country_code": "<string>",
"class": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"contact": {
"email": "jsmith@example.com",
"phone": "<string>"
},
"address": {
"line1": "<string>",
"line2": "<string>",
"sublocality": "<string>",
"locality": "<string>",
"administrative_area": "<string>",
"postal_code": "<string>",
"country_code": "<string>"
},
"behavior_analysis": {
"completion_time_seconds": 123,
"autofill_cancels": 123,
"autofill_starts": 123,
"bot_score": 123,
"threat_level": "low",
"shortcut_copies": 123,
"shortcut_pastes": 123,
"distraction_events": 123,
"devtools_open": true,
"debugger_attached": true,
"request_spoof_attempts": 123,
"user_agent_spoof_attempts": 123,
"hesitation_baseline": 123,
"hesitation_count": 123,
"hesitation_percentage": 123,
"hesitation_time": 123
},
"created_at": "<string>",
"updated_at": "<string>",
"started_at": "<string>",
"expires_at": "<string>",
"completed_at": "<string>",
"failed_at": "<string>",
"marked_for_review_at": "<string>",
"decisioned_at": "<string>",
"expired_at": "<string>",
"redacted_at": "<string>"
},
"relationships": {
"account": {
"data": {
"type": "<string>",
"id": "<string>"
}
},
"business": {
"data": {
"type": "<string>",
"id": "<string>"
}
},
"documents": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
},
"session_devices": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
},
"verifications": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
}
}
},
"meta": {},
"links": {}
}API key for authentication. Access https://console.beltic.com/ to obtain your API key.
The unique identifier of the session
"123e4567-e89b-12d3-a456-426614174000"
Was this page helpful?
curl --request POST \
--url https://api.beltic.com/v1/identity/sessions/{id}/decline \
--header 'X-Api-Key: <api-key>'{
"data": {
"id": "<string>",
"type": "session",
"attributes": {
"status": "created",
"creator_type": "system",
"entity_type": "person",
"creator_id": "<string>",
"person": {
"name": {
"first": "<string>",
"middle": "<string>",
"last": "<string>"
},
"birth_date": "<string>"
},
"business": {
"legal_name": "<string>",
"registration_date": "<string>",
"shareholders": [
{
"name": "<string>",
"shareholder_type": "<string>",
"date_of_birth": "<string>",
"id_type": "<string>",
"id_number": "<string>",
"number_of_share": "<string>",
"percentage_of_share": 123
}
]
},
"identity_numbers": {
"number": "<string>",
"issuing_country_code": "<string>",
"class": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"contact": {
"email": "jsmith@example.com",
"phone": "<string>"
},
"address": {
"line1": "<string>",
"line2": "<string>",
"sublocality": "<string>",
"locality": "<string>",
"administrative_area": "<string>",
"postal_code": "<string>",
"country_code": "<string>"
},
"behavior_analysis": {
"completion_time_seconds": 123,
"autofill_cancels": 123,
"autofill_starts": 123,
"bot_score": 123,
"threat_level": "low",
"shortcut_copies": 123,
"shortcut_pastes": 123,
"distraction_events": 123,
"devtools_open": true,
"debugger_attached": true,
"request_spoof_attempts": 123,
"user_agent_spoof_attempts": 123,
"hesitation_baseline": 123,
"hesitation_count": 123,
"hesitation_percentage": 123,
"hesitation_time": 123
},
"created_at": "<string>",
"updated_at": "<string>",
"started_at": "<string>",
"expires_at": "<string>",
"completed_at": "<string>",
"failed_at": "<string>",
"marked_for_review_at": "<string>",
"decisioned_at": "<string>",
"expired_at": "<string>",
"redacted_at": "<string>"
},
"relationships": {
"account": {
"data": {
"type": "<string>",
"id": "<string>"
}
},
"business": {
"data": {
"type": "<string>",
"id": "<string>"
}
},
"documents": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
},
"session_devices": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
},
"verifications": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
}
}
},
"meta": {},
"links": {}
}