Integration tutorials

Build your integration in the free sandbox before preparing for production.

Your measurement choice is reused on this site and can be turned off. Account association requires separate consent.

Start here

Your first identity onboarding sandbox run

Build the first identity onboarding result handler before collecting any document. This walkthrough uses an account-free synthetic response; it does not create a hosted provider session. Your application must keep verification decisions separate from seller permissions.

Signup phone signals (13)

Add a phone check without promising ownership

Add a pre-registration number check while keeping invalid numbers separate from unavailable results. A format or validity signal cannot prove ownership or SMS reachability. This walkthrough returns no line type and sends no OTP.

Should an unknown phone result reject a signup?

A signup form calls a phone check and gets back something that is neither valid nor invalid. Either the result is unknown or the provider call failed. The tempting shortcut is to reject anything other than a clean pass. This article argues against that shortcut and walks through the four-branch synthetic example to show how to route each outcome. The core distinction is simple. An unknown result is missing evidence, not negative evidence. If you reject on missing evidence, every provider outage becomes a user lockout.

Phone check, OTP, identity check: which question does each answer?

A signup flow has a phone field, and someone on the team asks for it to be "verified." That word covers three different questions. A phone check describes the number: is it well formed, is it valid, and what kind of line it might be. An OTP tests whether the person typing can receive a code on a channel right now. An identity check evaluates a claim about a person. None of these answers another's question. A mobile line does not show who owns it, a delivered code does not establish identity, and an Approved identity result does not grant permission on its own. This article helps you decide which proof your signup task needs, then shows how GridZen's downloadable synthetic example keeps the three apart.

Can this local OTP branch send a real message?

You run the phone example with the otp branch and get back a next step called customer_otp_provider. It is tempting to read that as "the OTP is on its way" and wire the signup screen to wait for a code. That would be a mistake: the fixture names a next step, it never sends a message. This article shows exactly what the otp branch returns, how to treat it in your own signup code, and how to decide whether a sandbox integration fits your task or whether you need a separate OTP provider you are authorized to use.

When phone auth fails for a configuration reason, don't let signup treat it as a bad number

A public question describes Firebase Phone Auth failing with "no matching SHA-256 registered" even though the developer registered the Play App Signing key fingerprint in the Firebase Console. We cannot diagnose that platform, we do not represent the person who asked, and nothing here fixes Firebase. The adjacent decision for a signup team is concrete, though: when the verification step fails because of app configuration rather than anything about the user's number, what should your signup flow do? This article uses only the checked four-branch synthetic phone example to separate a configuration failure from an invalid number, shows the exact fixture outputs, and proposes caller-owned handling you can test before deciding whether a sandbox integration fits.

Is this number on WhatsApp? What a signup phone check can and cannot tell you

A public question asks how to know whether a phone number is WhatsApp-enabled before sending a message through the WhatsApp Cloud API. We cannot answer for that platform, do not represent the person who asked, and nothing here changes how WhatsApp behaves. The adjacent decision for a small B2B team is narrower: when a signup form collects a number, what may your application conclude before it tries to reach that number on any channel? This article runs the checked four-branch synthetic phone example. It shows that none of its outputs establish messaging-app presence, reachability or ownership, and it sets out how your code should route each result.

"Try again later" is not "invalid": handling a phone check that cannot answer right now

A public question describes Google Play Console showing "We can't verify your phone number right now. Try again later." We cannot diagnose that platform, we do not represent the person who asked, and nothing here fixes Google Play. The message does raise an adjacent decision for your own signup flow. When your phone check cannot answer, does the user see a rejection, a dead end, or a bounded retry with a clear next step? This article uses only the checked four-branch synthetic example to separate the provider_failure path from a genuine invalid result. It proposes caller-owned failure handling and gives exact fixture outputs you can assert against.

Restart is not power off: why a signup phone check needs a retry path, not just pass or reject

A public question asks why computers and phones offer a restart option next to power off. We cannot answer for any device maker, do not represent the person who asked and fix no platform. The question maps onto a real decision in a signup flow. When a phone check cannot answer, you can end the attempt, which is the power off choice: reject the signup. Or you can retry within a limit and then hand off to review, which is the restart choice. This article uses only the checked four-branch synthetic phone example to show which branches call for which path. It also separates what the fixture actually returns from the application policy you would still have to design and own.

Phone number validation API: handle valid, unknown and failed results

You are adding a phone number validation API call to a signup form, and you need to decide what your code does with each answer before any real lookup runs. The trap is treating every result as pass or reject. This article walks through the four synthetic branches of the downloadable example, shows the exact fixture outputs, and separates what the example implements from the application design we propose. One limit up front: the current free Basic Lookup route does not request line type, ownership, reachability or OTP delivery, so your design must not depend on them.

Phone verification API versus number validation: where does OTP fit?

A product manager asks for a phone verification API on signup. Before choosing a vendor, decide which question you need answered: what the number is, whether the person can receive a message on it, or who the person is. These are three different proofs. This article compares them, walks through a hypothetical signup using the local synthetic example, lists the exact fixture outputs, covers failure handling and ends with an acceptance checklist. The local example sends no OTP and makes no network calls.

Phone lookup API: which signup decision can basic properties support?

A phone lookup API answers a narrow question about a number, not about the person typing it. Before wiring one into signup, decide which decisions a basic property can support and what your code does when the answer is unknown or the provider call fails. This article uses the four-branch synthetic example to map each output to a caller-owned next step, without treating a lookup as possession or identity.

Phone validation API: tell an unknown result apart from a provider failure

A signup form calls a phone validation API and gets neither valid nor invalid. Two fixture branches produce that shape, unknown and provider_failure, and both return state unknown with valid null. Only the next field tells them apart. This article uses the checked four-branch synthetic example to show why your code should route them differently, what the fixture outputs exactly, and what Basic Lookup can never prove: possession, ownership or OTP delivery.

Integrating phone validity checks in signup: a four-branch model

A signup form sends a phone number to a check and gets back something that is not a clean pass. The decision is what your signup code does next: continue, retry, route to review, or hand off to an OTP provider you already run. This article walks through the four synthetic branches of the downloadable example, lists the exact fixture outputs, and separates what the example implements from what your application must design. It also explains why phone validity is not possession or identity, especially on the current free production route.

Callbacks, retries and recovery (8)

Recover a delayed verification callback

Recover a delayed callback without creating duplicate sessions. The runnable local example stores state in SQLite, enforces a deadline and rejects late permission grants. Its callback channel is explicitly synthetic: it is not a live signature verifier.

The HTTP response was sent, but the workflow is still running: keep verification state honest

A public n8n issue describes a webhook workflow that has already returned a successful HTML response while its execution, which includes a PostgreSQL node, still shows as running. We cannot diagnose or fix that vendor issue, and we do not represent anyone affected by it. It does raise an adjacent question for teams building identity onboarding. When the HTTP layer says done but the work behind it has not finished, what should your application believe about a verification session? This article answers that question with the synthetic verification_delivery fixture. The goal is to help you decide whether a sandbox integration fits your task.

Duplicate verification webhooks: deduplicate before you grant anything

A public question asks how to stop a Laravel app from processing the same webhook event twice. We cannot see that application, do not represent its author, and do not claim to fix any platform. The adjacent problem in identity onboarding is concrete, though. A provider retries a callback, your handler runs twice, and a permission is granted twice or a later correction is overwritten. Your decision is where the deduplication guarantee lives: in a queue, in a cache, or in the same database transaction that changes verification state. This article uses the checked local Python fixture to show one answer and its limits. The fixture is not Laravel code, and its permission flag is not a real business permission.

A webhook answered with HTTP 302: why retries follow, and what verification state should do meanwhile

A public question describes a PayPal webhook listener that answers with HTTP 302 and then receives retries. We cannot see that application, do not represent its author and do not claim to fix PayPal or any platform. The adjacent problem in identity onboarding is concrete, though. A redirect is not an acknowledgement. When a callback is not acknowledged, the sender may retry it, or it may never be processed at all. Either way your onboarding service has to keep honest state. The reader's decision is this: when a verification callback bounces, is duplicated or never lands, what should your application record, and what must it refuse to do? This article answers that question using only the checked local synthetic example. Throughout, it separates a proposed application design from what the fixture actually implements.

Webhooks on localhost: test verification callbacks without a public endpoint

A public question asks how to receive webhooks while developing on localhost. A hosted provider cannot reach 127.0.0.1, so during development the callback may never arrive. We do not represent the person who asked, and we do not claim to fix any platform. For identity onboarding the adjacent decision is concrete: what should your application do while it waits for a callback that cannot reach it? This article uses only the checked local synthetic example to show one answer. Persist a pending session with a deadline, feed synthetic callbacks directly into the handler, and let a missing callback expire locally. A missing callback must never become approval.

Will pending verification survive an application restart?

Your onboarding service creates a hosted verification session, writes it as pending with a deadline, and then the process restarts before any callback arrives. The decision you face: is local state durable enough that the restarted process can resume the same session, or do you need to create a new one? This article walks through the synthetic fixture, where a second process opening the same SQLite file sees the same pending row, deadline and grant count. It also shows what a restart must not do: it must not create a duplicate session, invent approval or poll a provider. Everything here is a local, synthetic example; it does not verify real signatures or grant real permissions.

Identity verification API webhook: persist state before waiting

Your onboarding service creates a hosted verification session and then waits for a webhook. Two things can go wrong while it waits: the process restarts, or the callback never arrives. If pending state lives only in memory, a restart loses it. If nothing enforces a deadline, a missing callback leaves the user stuck, or someone is tempted to treat silence as success. This article walks through the checked local restart and missing-callback branches of the synthetic verification_delivery example, shows the exact fixture outputs, and helps you decide whether a sandbox integration fits your task. The fixture accepts only synthetic callbacks and expires sessions locally; it never polls a provider.

Identity verification webhook: recover a pending state without polling

Your onboarding service created a hosted verification session, stored it as pending, and the webhook never arrived. You must decide what the session becomes and what happens next. This article uses the checked local example: SQLite persistence, a deadline, and a recover step that expires the session locally. It never queries a provider, and a missing callback never becomes approval.

Identity, permissions and production preparation (23)

Separate verification results from business permissions

Turn a verification result into a bounded application decision. Test account binding, explicit policy, duplicate events and rejection handling in a local fixture database. The permission shown in this walkthrough is a demo flag, not a real seller permission.

An approval was corrected to Declined: how to test permission revocation

Your fixture session received Approved and granted a local permission. A later event says Declined. You need to decide whether that event revokes access, and how to tell a real correction from a replayed or stale callback. This article tests that decision in the synthetic fixture and separates what the fixture does from what your application must design.

When is direct verification integration the simpler choice?

A small B2B team needs hosted identity onboarding for new sellers. It already has, or is about to open, its own account with a verification provider. The decision is whether to integrate that provider directly or to route through an orchestration layer such as GridZen under a Bring Your Own Provider (BYOP) arrangement. This article works through one hypothetical scenario and lists the tradeoffs. It separates product facts, taken from the GridZen guide and capability notes dated 2026-10-17, from engineering advice. You can check the advice against the synthetic fixture before making any account or provider decision.

What should you accept before enabling a verification pilot?

A small B2B team has a working synthetic identity onboarding run and wants to request a real hosted identity pilot. The decision is not whether the fixture passes, but what evidence you should demand before anyone treats a pilot result as permission to act on a real user. This article proposes a synthetic-to-approved-pilot acceptance checklist. It shows the exact fixture outputs to verify and names the evidence that is still missing. The checklist is a proposed application design, not implemented GridZen behavior. It does not grant production access.

What must a provider handoff carry besides a status?

A verification provider tells you a session is Approved. Your onboarding service has to decide whether that word may change anything in your application. A bare status cannot answer that. It does not say which tenant and user the session belongs to, whether the session is still inside its deadline, or whether your own policy currently allows the action. This article proposes a hypothetical handoff contract that carries those facts. It then checks each field against the synthetic delivery fixture so you can decide whether a sandbox integration fits your identity onboarding task. Everything below runs locally with synthetic identifiers. No live adapter is described or implied.

Which part of verification orchestration should your application own?

A small B2B team wires hosted identity onboarding and finds three things tangled in one handler: what the provider said, how that message arrived, and whether the business should let a user act. When a callback says Approved, the handler grants seller access in the same step. This article proposes a small decision table that splits those concerns. It then checks the split against the tested synthetic fixture. The decision for you is whether that boundary, with your application owning business permission, fits your onboarding task well enough to try a sandbox integration.

A working demo is not a completed customer workflow: keep a three-layer acceptance record

Your synthetic identity onboarding run passes. The fixture returns status approved, permission_granted true and grant_count 1, and someone on the team writes "onboarding works" in the pilot notes. That sentence merges three different claims: that local code handles states correctly, that an approved real provider route exists for your business, and that a real user completed verification and your application took a real business action because of it. Each needs separate evidence. This article proposes a hypothetical acceptance record with three layers, shows the exact fixture outputs that belong in the first layer, and helps you decide whether a sandbox integration fits your task yet.

Provider timeout, rejection and unsupported route: three different outcomes

An identity onboarding step calls a verification provider and does not get a clean answer. Maybe the call timed out. Maybe the provider returned a rejection. Maybe the route you asked for is not supported at all. A common shortcut treats all three as "failed" and either rejects the user or lets them through. This article argues that your application, not the provider and not an orchestration layer, should own a decision table that keeps these outcomes apart. It shows how to check that table against the synthetic fixture and what the fixture can and cannot prove. Nothing here switches providers automatically, and the fixture grants no real permission.

KYC API integration: what an Approved result leaves to your application

A KYC API can tell you a verification session ended as Approved. It cannot tell your application whether that session belongs to the tenant and user now asking for access, whether your business rule allows the action, or whether this callback was already processed. This article uses the checked synthetic example to show three caller-owned duties: binding the result, applying an explicit rule, and handling events idempotently. Everything shown runs locally with synthetic identifiers; it grants only fixture records, never real permissions.

Identity verification API timeout: recover without assuming approval

Your onboarding service created a hosted verification session, and then the answer never arrived in time. The call timed out, or the callback is late. The tempting shortcuts are to let the user through or to reject them. Neither is justified: a timeout means the check could not complete, which is neither approval nor decline. This article walks through the checked synthetic identity example, its local deadline and its explicit failure branches, so you can decide whether a sandbox integration fits your onboarding task. Search interest for this term is not measured here; unknown volume stays unknown.

A payment screenshot versus a signed CEP: what can your reconciliation job accept?

A customer sends a screenshot of a SPEI transfer and asks you to release an order. Your reconciliation job must decide whether that image is evidence or only a claim. This article proposes how a job could treat a CEP check result built from task status, original-evidence availability, signature status and exact transaction binding, and why pending or unavailable must stay inconclusive. The example output shown is a synthetic contract illustration, not a live check.

Reject a mistyped CLABE before requesting a paid bank-name check

A Mexico account-entry form or payment-file import receives an 18-digit CLABE. If one digit is mistyped, a later paid bank-name or account check is spent on an input that could never pass. This article shows how a local format check returns structure_valid, checksum_valid and an institution code without network calls, and why a correct checksum still proves nothing about whether the account exists, can receive funds or belongs to a person.

Recover a pending SPEI evidence request without creating a duplicate

Your reconciliation job submitted a CEP check for an existing SPEI payment and got back status pending. Hours later the task is still pending, a worker restarted, and someone proposes simply submitting the same payment again. That shortcut can create a second task for one transfer and leave two records that disagree. This article proposes how an application could recover the original task instead, what the synthetic contract example returns, and how to keep pending or unavailable results inconclusive.

Check a new beneficiary CLABE name before changing beneficiary details

A seller on your Mexico marketplace asks to change the CLABE that receives downstream business actions. If you swap it without checking, the next business action may reach someone else's account. This article shows how a name comparison against supported bank evidence fits that decision. It covers task state, the name_match result, charges and why an inconclusive similarity goes to review. The example is a synthetic contract illustration, not a live check or proof of account control.

Separate the transfer principal, source cost and fee in a bank-name quote

A Mexico account-verification team wants to compare a beneficiary name against bank evidence for one CLABE. The quote may include a microtransfer. If your ledger records the whole quote as one fee, you cannot tell what left your account as transfer principal, what the evidence source charged, and what the service fee was. This article proposes how an application could keep those amounts apart, how to read the synthetic contract example, and what to check before trusting any result. The example is a synthetic contract illustration, not a live check or live acceptance.

Use an IP risk signal in signup without calling it identity verification

A signup handler receives an IP risk result and someone proposes rejecting anything above a threshold, or labeling low scores as verified users. Both moves treat a network signal as a verdict about a person. This article shows how to keep an IP risk check as one input to your own decision, using the synthetic contract sample for the registration_risk task, and lists what must be true before any real check runs.

Separate a name mismatch from missing evidence in CURP and CLABE onboarding

A Mexico onboarding flow submits an authorized CURP and CLABE for one identity and beneficiary-account comparison. The answer is not a clean pass. Is that a conflict between the person and the account, or simply no conclusion yet? Treating both as rejection blocks legitimate businesses; treating both as acceptable can let a wrong beneficiary through. This article proposes how an application could read verification grade, task status, evidence and charges as separate fields, using the synthetic contract example whose tested output is status review, grade null, verified false and automatic_business_approval false. That output is a contract illustration, not live acceptance.

Read the verification grade before deciding a beneficiary change

A seller asks to change the account that receives downstream business actions. Your service submits an authorized CURP and CLABE for one identity and beneficiary-account comparison and gets an answer back. The decision is whether that answer lets the change proceed. This article proposes how to read verification grade, task status, evidence and charges together, using a synthetic contract example whose output is status review, grade null, verified false and automatic_business_approval false. It is not a live check and grants no business permission.

Start a hosted identity journey without putting documents in an AI chat

An assistant is helping your team onboard a new business user, and someone pastes a passport photo into the chat to speed things up. That puts an identity document in a transcript that no verification flow controls. The decision is how to start verification so the person submits documents and liveness only on a hosted page, while your application reads back three things: a hosted URL, a task state and an authoritative completion status. This article covers the inputs, a hypothetical scenario, the exact synthetic fixture output, failure handling and an acceptance checklist. It separates what the product contract states from the application design we propose.

Practice Submission, Callbacks and Record Lookup with Synthetic Sandbox Scenarios

Backend engineers integrating identity onboarding or signup checks need a way to exercise the callback path, persist pending state, and look up the resulting record before any real person submits documents. The sandbox provides synthetic scenarios that simulate the full flow without creating a live verification session. This article walks through the documented workflow from the published operating instructions: signing in as a merchant, submitting a synthetic check, handling the different behaviors for phone and identity scenarios, simulating outcomes for identity checks, and locating the record to inspect test usage. Every step described here comes from the official help document; no live provider calls, real identity approvals, or production permissions are involved.

Tutorial: Add the GridZen Research MCP to Your Editor and Run a First Research Session

Developers using AI assistants like Cursor, Claude Code, or Codex can now integrate identity onboarding research directly through the Model Context Protocol (MCP). This tutorial walks through the documented steps to add the research MCP, enabling your agent to answer specific questions about verification workflows. We will use the public developer kit to explore these capabilities without performing live identity verification or business activation.

Tutorial: Create a Merchant API Key and Make a First Capabilities Read

Backend developers starting a GridZen merchant integration must establish secure access before integrating specific identity or phone check products. This guide explains how to use the merchant console to create a named API key and verify it with a read-only request to the capabilities endpoint, ensuring your server environment is correctly configured.

Tutorial: draft an account verification policy with the payout-policy-designer Skill

Before deploying a live verification route, developers need a way to structure identity onboarding policies and exception handling. The payout-policy-designer Skill provides an offline environment to draft these specifications using non-sensitive data. This tutorial explains how to use the local helper to create a bounded verification plan without making a live decision or configuring production settings.

Mexico CEP payment verification

Check an existing SPEI payment: retrieve its original XML, validate the signature and compare transaction details and beneficiary name. No transfer is created.

Verify an existing SPEI payment with CEP evidence

CEP XML parsing, signature checks and transaction binding

A verified CEP can still have a beneficiary-name difference

Deduplicate account research without losing payment reconciliation

Handle pending CEPs, not-found results and rate limits

Integrate one CEP workflow through REST, web and MCP

Price CEP reconciliation separately from a new bank transfer

Decide whether this fits your project
Direct provider integration or GridZen: start with the task

Choose the integration layer after listing the work your application must own. A provider account and a wrapper are different things.

When direct integration is enough

If one provider meets your task and your team already owns callbacks, state storage, retries and access rules, evaluate a direct integration first. An additional layer must justify its operational cost.

When to evaluate GridZen

Compare a runnable workflow for persistent state, duplicate-event handling and explicit unavailable outcomes. Use the same task and failure branches on both sides; do not assume that an MCP or SDK alone saves implementation time.

What the example proves

Run success, reject and unavailable branches below. These are synthetic integration outcomes. They prove branch handling, not provider rights, identity approval or a production customer result.

Your acceptance record

Record your task, chosen provider, required evidence, recovery owner and actual test results. Measure elapsed work yourself; no unmeasured time saving or price advantage is claimed.

Integration guide

From a working demo to an authorized production route

A successful demo is one checkpoint. Verify service access, consent, recovery and your application action separately.

Confirm the exact capability

Name the event, country, provider product and required fields. Number validity does not prove ownership; an identity result does not grant your application permissions.

Check access and data handling

Confirm the current account entitlement, permitted use, required consent and data handling before real requests. A public research listing is not commercial access.

Complete one real authorized workflow

Check the provider result, the received notification where required, the local state and the intended action in your application. Do not replace missing evidence with a sandbox response.

Separate trial and payment

The example below is synthetic and free of upstream calls. A production request needs its separate readiness checks. Real self-service payments remain disabled; do not top up to unlock an unconfirmed capability.

Integration guide

Estimate a verification pilot without inventing a price

Build a scoped estimate from the task and supplier evidence. Separate query charges from integration and ongoing operations.

Define a bounded pilot

Specify one task, country, expected volume range and the result your application needs. List unknown fields and unsupported branches instead of assuming global coverage.

Separate the cost components

Collect the current supplier quote, product tier, billing unit, minimums and applicable taxes. Keep integration work and ongoing recovery or maintenance separate. No public price is asserted here.

Decide who owns failures

Assign duplicate-event handling, timeouts, user retry and manual review. A low query price alone does not establish the lowest total operating cost.

Bring evidence to the next step

Run the synthetic example, then prepare task scope and required capability for an access assessment. No payment is accepted by this example; production scope and supplier rights require confirmation.

Integration guide

Continue from a video

Selecting an entry records your content choice, not proof of watching.

English Mapping Verification Events to App Permissions

English Implementing Multi-Branch Phone Verification Logic

English Match a CLABE name: what an uncertain result means

English Hosted identity: why Approved still isn't permission

English Missing verification webhook? What this local example does and doesn't do

English Can an Approved verification result belong to the wrong tenant?

English Why does a valid-looking phone number fail your E.164 check?

English A beneficiary name differs on a CEP. What should you compare next?

English Approved but no seller-access rule? Handle it in a local example

English Does an identity Approved result make a business action safe?

English Your phone provider failed. What should the signup flow do?

English A Callback Says Approved. What Must You Check First?

English Identity verification API: why Approved isn't seller permission

English Identity verification webhook missing? Persist state before waiting

English KYC API integration: what an Approved result leaves to your app

English Missing Verification Webhook? Save State and Deadline Together

English A valid phone number: what does that result leave unproven?

English Does a mobile number result prove account ownership?

English What changes when the verification deadline passes without a webhook?

English Should an unknown phone result reject a signup?

English What if the same Approved event arrives twice? Idempotent grant_count

English Will pending verification survive an application restart?

English No verification webhook? Persist pending state with a deadline

English Should an unknown phone result reject a signup?

English Does receiving an OTP prove a legal identity?

English Will pending verification survive an application restart?

Español XML de CEP: firma válida no es vínculo con tu pago SPEI

Español Webhook de verificación no llegó: recupera el estado pendiente

Connect your app

Run three synthetic outcomes · Get integration help

Connect a free sandbox account

Basic number validity does not prove possession or reachability and does not send OTP. Your app owns the admission decision.