Important note on search string encoding

When sending a request towards to KYC API, there are cases when a string shall be passed through as PATH or QUERY parameter. This case occurs most frequently when using the indexSearch by name or the liveSearch by name endpoints.)

  • If an urlEncode function is applied before sending the request, the whitespace should urlEncoded to %20.
  • Turning the whitespace to + will cause improper results.
  • If the plus sign need to be part of the search string then it should be turned to %2B.
  • Further reference is available at https://www.rfc-editor.org/rfc/rfc3986

Please note that in PHP, rawurlencode instead of urlencode should solve the issue and encoding should be done according to RFC 3986.

Read more on search endpoints in the corresponding guide under the working with endpoints section: company search guide.