@zendfi/sdk 1.1.6 → 1.1.8

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -342,7 +342,7 @@ if (!grant) {
342
342
 
343
343
  await zendfi.withdrawSubAccountToBank('sa_7b1w9j2k4m8p', {
344
344
  amount_usdc: 25,
345
- bank_id: '9PSB7A2A2LJZ3H6Q4G8XJ6A4',
345
+ bank_id: 'GTB',
346
346
  account_number: '0123456789',
347
347
  mode: 'live',
348
348
  automation_token: 'saatk_xxxxx',
@@ -350,6 +350,8 @@ await zendfi.withdrawSubAccountToBank('sa_7b1w9j2k4m8p', {
350
350
  });
351
351
  ```
352
352
 
353
+ `bank_id` accepts PAJ bank id, bank code, or bank name.
354
+
353
355
  `withdrawSubAccountToBank` executes PAJ offramp with server-side proxy-email OTP automation (same pattern as split bank withdrawals), so your integration does not need to collect OTP manually.
354
356
 
355
357
  `passkey_signature` on `withdrawFromSubAccount` and `withdrawSubAccountToBank` is now optional and should be treated as interactive fallback.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendfi/sdk",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "Zero-config TypeScript SDK for ZendFi. Global payments powered by stablecoins!",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",