Skip to main content

Overview

To ensure your integration with Moment APIs functions correctly, you can simulate payment flows during development. This allows you to test various scenarios without any real money movement.

Testing Cards

When testing card payments, always use test API keys. Only use the specified test cards listed below. Do not use real card information under any circumstances.
Note: The 3DS challenge page will not be displayed during testing, as the flow is being simulated to mimic a frictionless authentication experience.

Supported card test scenarios

Success scenarios Error scenarios

Testing APM payment methods

Success and failure scenarios for APM (Alternative Payment Methods) payments can be simulated by initiating a payment with a specific amount. The amount should be specified in minor units.

Supported APM test scenarios

Success scenarios Error scenarios

Webhook Responses

  1. Payment Session Update - When testing through the Payment Session API, an update will be triggered and delivered to your configured webhook endpoint via the payment_session_updated event.