@spritz-finance/api-client 0.4.26 → 0.4.27
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 +8 -0
- package/dist/spritz-api-client.cjs +66 -66
- package/dist/spritz-api-client.d.ts +1 -0
- package/dist/spritz-api-client.mjs +66 -66
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1301,6 +1301,14 @@ if (accessCapabilities.capabilities.onramp.active) {
|
|
|
1301
1301
|
}
|
|
1302
1302
|
})
|
|
1303
1303
|
}
|
|
1304
|
+
|
|
1305
|
+
// Check if off-ramp is active
|
|
1306
|
+
if (accessCapabilities.capabilities.offramp.active) {
|
|
1307
|
+
console.log('User can off-ramp!')
|
|
1308
|
+
console.log('Available features:', accessCapabilities.capabilities.offramp.features)
|
|
1309
|
+
// US users: 'us_bank_account', 'us_debit_card'
|
|
1310
|
+
// CA users: 'ca_bank_account'
|
|
1311
|
+
}
|
|
1304
1312
|
```
|
|
1305
1313
|
|
|
1306
1314
|
### Step-by-Step On-ramp Activation
|