Some account types require identity verification before you can open them. Bancolombia accounts (and US accounts) are gated behind KYC. The verification is async: you start it, the user completes it externally, and you receive a webhook (or poll) for the result.
Identity verification required by financial regulation. You start a verification for a user's URN, they complete it at an external URL (provided by Bloque), and you receive the result via webhook or polling.
const verification = await client.compliance.kyc.startVerification({ urn: client.urn, webhookUrl: 'https://your-app.com/webhooks/kyc', // optional but recommended})console.log('Verification URL:', verification.url)console.log('Status:', verification.status)// status = 'awaiting_compliance_verification'
Verification started — you have a URL and status
Redirect your user to verification.url. They complete the identity check there (document upload, selfie, etc.). You don't control this step — it's handled by Bloque's compliance provider.
In sandbox mode, verification auto-approves after a short delay.
Share the referenceCode with anyone who needs to send you COP via Bancolombia. They use it as the payment reference when making a PSE or bank transfer. When the payment arrives, you'll receive a webhook: