@base44-preview/sdk 0.8.54-pr.341.adc3ff5 → 0.8.54-pr.342.26c1307
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.
|
@@ -184,7 +184,7 @@ export interface Purchase {
|
|
|
184
184
|
metadata?: Record<string, string> | null;
|
|
185
185
|
/** ID of the subscription, for recurring purchases. */
|
|
186
186
|
subscription_id?: string | null;
|
|
187
|
-
/** ID of the payment to pass to [`refund()`](/developers/references/sdk/docs/interfaces/service-role-payments#refund). It's `null` where the provider doesn't name a
|
|
187
|
+
/** ID of the payment to pass to [`refund()`](/developers/references/sdk/docs/interfaces/service-role-payments#refund). For a PayPal subscription it's the latest charge, returned only with the service role: read it when you start a refund and reuse it on retries. It's `null` where the provider doesn't name a payment, such as a PayPal subscription whose latest charge is already refunded. */
|
|
188
188
|
payment_id?: string | null;
|
|
189
189
|
}
|
|
190
190
|
/**
|