vesant-sdk 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2444,14 +2444,15 @@ var KycClient = class extends BaseClient {
2444
2444
  *
2445
2445
  * Generates a link that the user can visit to submit their KYC documents.
2446
2446
  *
2447
- * @param request - Request containing the user ID and optional redirect URL
2447
+ * @param request - Request containing the user ID, optional redirect URL, and optional callback URL (receives POST requests)
2448
2448
  * @returns Response containing the redirect link and KYC ID
2449
2449
  *
2450
2450
  * @example
2451
2451
  * ```typescript
2452
2452
  * const result = await client.requestKycSubmitLink({
2453
2453
  * user_id: "user_123",
2454
- * redirect_url: "https://merchant.com/kyc-complete" // optional
2454
+ * redirect_url: "https://merchant.com/kyc-complete", // optional
2455
+ * callback_url: "https://merchant.com/api/kyc-webhook" // optional - receives POST requests on status change
2455
2456
  * });
2456
2457
  *
2457
2458
  * console.log(`Redirect user to: ${result.link}`);