Zynk
Getting StartedProduct GuidesAPI ReferenceFAQ'sRecipes
Getting StartedProduct GuidesAPI ReferenceFAQ'sRecipes
  1. Transformer - Cross Border Transfer
  • Transformer - Cross Border Transfer
    • Creating a verified customer (with Webhook Integration)
    • Fiat deposit to receive stablecoins flow
    • Stablecoin deposit to receive Fiat
    • Demo Video for ACH pull in USD jurisdiction
    • Example webhook events
  1. Transformer - Cross Border Transfer

Creating a verified customer (with Webhook Integration)

Step 1: Initialize API Client and Webhook Server
Set up the API client using Axios and prepare the Express server for incoming webhook requests.

Step 2: Register Webhook URL
Register your webhook endpoint with Zynk so it knows where to send KYC updates.

Step 3: Verify Webhook Signature
Use HMAC to validate that incoming webhook requests are from Zynk Labs.

Step 4: Handle Webhook Events
Process KYC status transitions and update the in-memory tracking object.

Step 5: Create Webhook Endpoint
Set up the Express POST endpoint to handle all webhook calls from Zynk.

Step 6: Create Helper Functions
Reusable helpers for entity creation, KYC status lookup, prepaid handling, and requirements retrieval.

Step 7: Submit KYC & Wait for Webhook
Submit the KYC request and wait for a webhook to resolve the status with a timeout fallback.

Step 8: Start Server & Execute Flow
Start the webhook server and optionally run example prepaid or direct KYC flows.
Modified at 2025-10-28 08:57:56
Next
Fiat deposit to receive stablecoins flow
Built with