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:
| Criteria | Description | Required |
|---|---|---|
| Color palette | Uses OlaClick's official colors (#006FFF, #003E8F, etc.) | Yes |
| Typography | Uses Inter or a compatible sans-serif | Yes |
| Buttons | Follow the defined style (border-radius, colors, hover) | Yes |
| Inputs | Follow the defined style (border, focus state, error state) | Yes |
| Responsive | Adapts correctly to different screen widths | Yes |
| Background | White or light gray, no dark backgrounds or custom colors | Yes |
| No own branding | Does not prominently display the app's logos | Yes |
| Clear UX | Progress indicators, real-time validation, clear messages | Yes |
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 Status | Iframe Visible | Expected Iframe Behavior |
|---|---|---|
pending | Yes | Show the KYC form. If the company has already submitted, show a "submitted, waiting for review" state — do not allow re-submission. |
rejected | Yes | Show what was rejected and allow the company to correct and re-submit. |
awaiting_company_confirmation | No | The iframe is not shown. Use PATCH /v1/conections/:id to transition to another status when the company completes the required action. |
in_provider_review | No | The iframe is not shown. OlaClick displays a "under review" notice to the company. |
active | No | The iframe is not shown. The connection is fully operational. |
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_tokenusingPOST /oauth/tokenwith itsclient_idandclient_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/:idwith 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
| Status | Meaning |
|---|---|
pending | Connection created, waiting for provider to complete onboarding/KYC |
active | KYC approved, connection fully operational |
in_provider_review | Provider is reviewing the company's application |
awaiting_company_confirmation | Provider needs the company to take additional action |
rejected | Provider rejected the company's application |
revoked | Company or admin disconnected (terminal state) |
Valid Transitions
| From | Allowed Targets |
|---|---|
pending | active, rejected, in_provider_review |
in_provider_review | active, rejected, awaiting_company_confirmation |
awaiting_company_confirmation | in_provider_review, active, rejected |
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_REQUESTevents and respond with200 OK - Verify the
X-OlaClick-Signatureheader (see Signature Verification) - Fetch order data using
GET /v1/orders/:id - Confirm with
status: "COMPLETED"andinvoice_numberwhen the invoice is emitted - Confirm with
status: "REQUEST_ERROR"andmessagewhen emission fails - Handle idempotency (same
event_idreceived 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
- Request homologation — Contact the OlaClick integrations team.
- Provide staging access — Share the iframe URL in the staging environment.
- Style review — OlaClick reviews the iframe against the style guide.
- Functional tests — Token generation, connection activation, and invoice processing are tested.
- Approval — Production credentials are delivered.
Staging Environment
| Resource | URL |
|---|---|
| Public API | https://public-api.olaclick-stg.click |
| OAuth Token | POST 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
| Stage | Duration |
|---|---|
| Initial review | 1-2 business days |
| Adjustments (if applicable) | Depends on the app |
| Functional tests | 1 business day |
| Credential delivery | 1 business day |
The complete process usually takes 3-5 business days if there are no major adjustments.