Submit KYC — estimate
Price the request without executing it. Same body as POST /v1/messaging/phone-numbers/kyc.
Request
- Base URL: https://apihub.co.il
- URL: https://apihub.co.il/v1/messaging/phone-numbers/kyc/estimate
- Auth: HTTP bearer
Request body
Reuse a prior approved verification for this country (skips document/field collection; places the order immediately).
requirementId → textual value
Area code (NDC) the number must be in. Hard constraint: an empty area pool fails with 409 code AREA_CODE_UNAVAILABLE instead of ordering from another area. Omit for any area. Options come from GET /v1/phone-numbers/availability (areaOptions); the purchase 202 kycUrl echoes the areaCode picked at purchase time so it can be passed here.
With areaCode: pre-order that area when it has no stock (an area listed in soldOutAreas with preOrderable true) instead of failing with AREA_CODE_UNAVAILABLE. The carrier sources a number in that area. Without areaCode it accepts the pre-order a previous submit offered with 409 code area_pre_order_available (a geographic-match country whose address area has no stock): resend the same body with preOrder true and the order is placed for that area. A whole pair with no stock is pre-ordered without either flag.
Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort). With areaCode, a quantity above that area's live stock is rejected with a 400.
Legacy fallback for reuseOptionId: the source phone number (GET reusable.options[].fromPhoneNumber). Ambiguous when a number labels two verifications, so prefer reuseOptionId. Omitted = the approved default. No match = 409.
Idempotency token for this submission attempt. Once the number has been ordered, a retry with the same token returns that same number instead of ordering another. A submission that fails before the number is ordered releases the token, so you can correct your details and re-submit with it. Omit it and every call provisions a new number.
Which reusable verification to use (GET reusable.options[].id). The unambiguous selection key. Omitted = the approved default. No match = 409.
End user's legal last name. Same condition as endUserFirstName.
End user's legal first name. Required when the country has an action/ID-verification (Onfido) requirement.
Response
Estimate
Changes
No recorded changes to this operation across all 2 revisions of this API.