@zendfi/sdk 1.1.6 → 1.1.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/README.md +3 -1
- 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: '
|
|
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.
|