Skip to main content

Documentation Index

Fetch the complete documentation index at: https://stellaraddresskit.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

When your app detects an incoming payment (e.g., via Horizon stream), use the kit to identify the recipient ID.

Implementation

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!"
  }
}