Skip to main content

Homologation

Before an app can go to production, it must complete a homologation process with the OlaClick team. This verifies that all integration components work correctly.

Requirements​

1. KYC Iframe — Style Compliance​

The iframe must follow the Style Guide. The following will be verified:

CriteriaDescriptionRequired
Color paletteUses OlaClick's official colors (#006FFF, #003E8F, etc.)Yes
TypographyUses Inter or a compatible sans-serifYes
ButtonsFollow the defined style (border-radius, colors, hover)Yes
InputsFollow the defined style (border, focus state, error state)Yes
ResponsiveAdapts correctly to different screen widthsYes
BackgroundWhite or light gray, no dark backgrounds or custom colorsYes
No own brandingDoes not prominently display the app's logosYes
Clear UXProgress indicators, real-time validation, clear messagesYes
tip

Send screenshots or a staging link of the iframe before scheduling the formal review — this speeds up the process.

Iframe State Management​

Your iframe is responsible for managing the KYC state for each company. The iframe is shown to the user in different connection statuses, and must behave accordingly:

Connection StatusIframe VisibleExpected Iframe Behavior
pendingYesShow the KYC form. If the company has already submitted, show a "submitted, waiting for review" state — do not allow re-submission.
rejectedYesShow what was rejected and allow the company to correct and re-submit.
awaiting_company_confirmationNoThe iframe is not shown. Use PATCH /v1/conections/:id to transition to another status when the company completes the required action.
in_provider_reviewNoThe iframe is not shown. OlaClick displays a "under review" notice to the company.
activeNoThe iframe is not shown. The connection is fully operational.
warning

OlaClick does not track whether KYC has been submitted — your iframe must manage this state internally. If the user opens the iframe a second time after submitting, your iframe should detect the existing submission and prevent duplicates.

2. Authentication — Token Generation​

The app must demonstrate that it can:

  • Obtain an access_token using POST /oauth/token with its client_id and client_secret
  • Correctly handle token expiration and renew before expiry
  • Include the token in the Authorization: Bearer {token} header in all requests

Required test: Obtain a valid token in the staging environment.

3. Connection Status Update​

The app must demonstrate that it can:

  • Call PATCH /v1/conections/:id with an App Token
  • Update connection status using valid transitions (see table below)
  • Handle errors correctly (404 when connection not found, 422 when invalid transition)

Connection Statuses​

StatusMeaning
pendingConnection created, waiting for provider to complete onboarding/KYC
activeKYC approved, connection fully operational
in_provider_reviewProvider is reviewing the company's application
awaiting_company_confirmationProvider needs the company to take additional action
rejectedProvider rejected the company's application
revokedCompany or admin disconnected (terminal state)

Valid Transitions​

FromAllowed Targets
pendingactive, rejected, in_provider_review
in_provider_reviewactive, rejected, awaiting_company_confirmation
awaiting_company_confirmationin_provider_review, active, rejected
info

Connection status is informational only — it does not gate API access or token generation. An app can obtain Company Tokens and call APIs for any non-revoked connection, regardless of its status.

Required test: Update a connection through at least one valid transition (e.g. pending → active) in the staging environment.

4. Invoice Emission​

The app must demonstrate that it can:

  • Receive FISCAL_NOTES_REQUEST events and respond with 200 OK
  • Verify the X-OlaClick-Signature header (see Signature Verification)
  • Fetch order data using GET /v1/orders/:id
  • Confirm with status: "COMPLETED" and invoice_number when the invoice is emitted
  • Confirm with status: "REQUEST_ERROR" and message when emission fails
  • Handle idempotency (same event_id received twice should not produce duplicate invoices)

Required test: Receive a test event, fetch the order, emit a test invoice, and confirm to OlaClick in the staging environment.

Homologation Process​

Steps​

  1. Request homologation — Contact the OlaClick integrations team.
  2. Provide staging access — Share the iframe URL in the staging environment.
  3. Style review — OlaClick reviews the iframe against the style guide.
  4. Functional tests — Token generation, connection activation, and invoice processing are tested.
  5. Approval — Production credentials are delivered.

Staging Environment​

ResourceURL
Public APIhttps://public-api.olaclick-stg.click
OAuth TokenPOST https://public-api.olaclick-stg.click/oauth/token

Staging credentials will be provided for the homologation process.

Rejection Criteria​

Homologation will be rejected if:

  • The iframe doesn't follow the color palette or is not responsive
  • The app cannot generate a valid token
  • API errors are not handled correctly
  • The iframe redirects outside the context or opens unauthorized popups
  • Fields are not validated in real time
  • No clear feedback is shown about the process status

Estimated Time​

StageDuration
Initial review1-2 business days
Adjustments (if applicable)Depends on the app
Functional tests1 business day
Credential delivery1 business day
info

The complete process usually takes 3-5 business days if there are no major adjustments.