diff --git a/src/functions.ts b/src/functions.ts index 7ea5027d..f901fb01 100644 --- a/src/functions.ts +++ b/src/functions.ts @@ -905,7 +905,9 @@ export async function collectData( return Logger.traceSdkMethod(async () => { try { const response = await StripeTerminalSdk.collectData(params); - return response; + return { + collectedData: response, + }; } catch (error) { return { error: error as any,