← All examples
50 / 100
Jev Payment reminder tone Code Example
Choose an appropriate reminder for the account context.
always pays on time
Overdue Days 2
History always pays on time
Dispute No
Which reminder approach fits?
0%
Gentle reminder.
Let the application gentle reminder.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"overdue_days": 2,
"history": "always pays on time",
"dispute": false
};
const decision = await evaluateDecision({
state,
question: "Which reminder approach fits?",
options: ["Gentle reminder","Account manager review","Pause reminder"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Gentle reminder"
&& decision.probability >= 0.85) {
selectReminderTemplate(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.