Add BankID-verified personal identification number

Link a personal identification number (personnummer) to your account, verified via BankID. This may be required for certain account actions or to complete identification. Returns an ID that might be needed for subsequent API calls to retrieve status or continue a process.

Headers

Accept Example
Content-Type Example

Body

required
application/json
field string · enum required
foretagpersonnummer
foretagpersonnummer2
value string required

Responses

200
success boolean
timestamp string
requestId string
data object
401
error string
message string
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/account/bankid-personnummer
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/account/bankid-personnummer" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "field": "foretagpersonnummer",
    "value": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "field": "string",
    "value": "string",
    "message": "string"
  }
}
Request Body
{
  "field": "foretagpersonnummer",
  "value": "string"
}