Language Guides
Flutter: Incoming Payments
Reacting to payments in your wallet app.
When your app detects an incoming payment (e.g., via Horizon stream), use the kit to identify the recipient ID.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Reacting to payments in your wallet app.
void onPaymentReceived(PaymentResponse payment) {
final result = extractRouting(RoutingInput(
address: payment.to,
memoType: payment.memoType,
memoValue: payment.memo,
));
if (result.routingId == currentUser.id.toString()) {
// Show notification: "Payment received!"
}
}