/api/v2/orders/validate-contact Validate contact fields before order creation.
This endpoint is intentionally public because checkout can run before an account exists.
It returns HTTP 200 for both valid and invalid verdicts; branch on valid and warnings[].
Transport or body-shape failures return Problem Details.
Unrecognised body fields are ignored.
No authentication required.
Accept application/json Content-Type application/json firstName string required
· Example: Anna lastName string required
· Example: Svensson companyName string · nullable
· Example: null Company name for organisation accounts. May be omitted or null; omitted values are treated as null.
registrationIdentifier object | string · nullable
· Example: null Organisation number or personal identity number in the same public shape used by order clientData.registrationIdentifier. Organisation accounts should send { "value": "559290-1325", "countryCode": "SE" }; private accounts may omit it or send null.
accountType string · enum required
· Example: private private organisation countryCode string required
· Example: SE valid: false is still a successful validation response. 2 fields valid boolean required
· Example: true warnings array<object> required warnings[].field string · enum required
· Example: companyName firstName lastName companyName warnings[].code string · enum required
· Example: duplicates_org_number missing_required looks_like_email looks_like_org_number duplicates_org_number warnings[].reason string required
· Example: Organisation name and organisation number contain the same value. Organisation name sho... type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object Retry-After seconds plus X-RateLimit-* headers. 10 fields type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object https://cloud.hostup.se/api/v2/orders/validate-contact curl -X POST "https://cloud.hostup.se/api/v2/orders/validate-contact" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"firstName": "Anna",
"lastName": "Svensson",
"companyName": null,
"registrationIdentifier": null,
"accountType": "private",
"countryCode": "SE"
}' {
"valid": true,
"warnings": []
} {
"firstName": "Anna",
"lastName": "Svensson",
"companyName": null,
"registrationIdentifier": null,
"accountType": "private",
"countryCode": "SE"
}