{"templateId":"markdown","versions":[{"version":"v2026.04","label":"v2026.04","link":"/products/payments-direct-2/api-docs/payment-monitoring","default":true,"active":true,"folderId":"eb16255d"},{"version":"v2026.03","label":"v2026.03","link":"/products/payments-direct-2/v2026.03/api-docs/payment-monitoring","default":false,"active":false,"folderId":"eb16255d"},{"version":"v2025.11","label":"v2025.11","link":"/products/payments-direct-2/v2025.11/api-docs/payment-monitoring","default":false,"active":false,"folderId":"eb16255d"}],"sharedDataIds":{"sidebar":"sidebar-products/payments-direct-2/@v2025.11/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["direct2MonitorLanding4"]},"type":"markdown"},"seo":{"title":"Monitor and track payments","description":"User guides, API reference, and support resources.","siteUrl":"https://docs.ripple.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"monitor-and-track-payments","__idx":0},"children":["Monitor and track payments"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After creating a payment, you need to know when it completes, fails, or requires action. ","Payments Direct"," provides two approaches for tracking payment state:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Webhooks"]},": Ripple sends a notification to your endpoint each time a payment transitions to a new state. This is the recommended approach for production integrations."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Polling"]},": Your application periodically queries the API to check the current payment state. Use this approach for low-volume scenarios or when a publicly reachable webhook endpoint is not available."]}]},{"$$mdtype":"Tag","name":"Direct2MonitorLanding4","attributes":{},"children":[]}]},"headings":[{"value":"Monitor and track payments","id":"monitor-and-track-payments","depth":1}],"frontmatter":{"title":"Monitor and track payments","seo":{"title":"Monitor and track payments"}},"lastModified":"2026-05-27T18:08:00.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/payments-direct-2/api-docs/payment-monitoring","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}