diff --git a/main.ts b/main.ts index 9f9ae6d..5113620 100644 --- a/main.ts +++ b/main.ts @@ -127,7 +127,9 @@ const routes = [ const action = json.action.actionType ?? "CHARGE"; return Response.OK({ pspReference: "initialize-test", - result: json?.data?.final ? `${action}_SUCCESS` : `${action}_REQUEST`, + result: json?.data?.final + ? `${action}_SUCCESS` + : `${action}_ACTION_REQUIRED`, amount, }); }),