@zinn-digital/sdk 0.1.1617 → 0.1.1618
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/generated/schema.d.ts +16 -0
- package/package.json +1 -1
|
@@ -95022,8 +95022,24 @@ export interface components {
|
|
|
95022
95022
|
};
|
|
95023
95023
|
/** @description The payment rails a purchase may be settled on, most-preferred first. Returned by both `getPaymentOptions` (before an order exists — the checkout picker) and `getOrderPaymentOptions` (an order already placed), which answer with one function so a screen can never offer a rail the charge path then refuses. */
|
|
95024
95024
|
PaymentOptions: {
|
|
95025
|
+
/**
|
|
95026
|
+
* @description The ISO currency each offered rail CHARGES in, keyed by provider code. Equal to the purchase currency for a card rail; `USD` for a rail that cannot present it (PayPal outside its currencies) and always `USD` for crypto (owner ruling 2026-11-08). The price stays in the purchase currency; the screen shows the USD figure with the local amount as "≈".
|
|
95027
|
+
* @example {
|
|
95028
|
+
* "stripe": "UZS",
|
|
95029
|
+
* "paypal": "USD",
|
|
95030
|
+
* "nowpayments": "USD"
|
|
95031
|
+
* }
|
|
95032
|
+
*/
|
|
95033
|
+
charge_currencies?: {
|
|
95034
|
+
[key: string]: string;
|
|
95035
|
+
};
|
|
95025
95036
|
/** @description Provider codes (`stripe`, `paypal`, `nowpayments`). Never empty — `stripe` is always present, because an unreadable provider registry must not be reported as "nothing is enabled". */
|
|
95026
95037
|
gateways: string[];
|
|
95038
|
+
/**
|
|
95039
|
+
* @description Decimal string: one major unit of the purchase currency in USD, at today's stored rate. Present only when some rail charges USD for a non-USD purchase; `null` when none does or no rate is stored (the screen then names the currency without an amount, and the charge refuses before any money moves). The rate actually charged is recorded on the payment and stamped on the invoice.
|
|
95040
|
+
* @example 0.0000785
|
|
95041
|
+
*/
|
|
95042
|
+
usd_rate?: string | null;
|
|
95027
95043
|
};
|
|
95028
95044
|
/** @description How an account intends to pay — the crypto election, the nominated primary/backup, and the two questions a billing screen must not answer for itself. */
|
|
95029
95045
|
PaymentPreferences: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1618",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|