Skip to main content
Beta FeatureThe Transaction Simulations feature is currently in beta. API endpoints and behavior may change as we continue to refine the product. Simulation endpoints are available in development environments only โ€” production returns 404 Not Found.
Trigger a 3DS authentication challenge against a card to test your 3DS Forwarding webhook integration. The endpoint generates a one-time password (OTP), sends a challenge.requested webhook to your configured endpoint, and returns the challenge credentials. Use this to verify that your system receives and processes 3DS challenge webhooks correctly, without requiring a real card transaction.
This endpoint requires 3DS Forwarding to be enabled for your card program. Contact your Rain account manager to enable this feature.

Endpoint

Headers

Body

The PUSH delivery method is not supported for simulation. Use SMS, EMAIL, or WHATSAPP instead.
Example request

Response

A successful response returns the challenge credentials, which your system should use to verify the OTP delivery in your test flow.
200 OK
The simulation triggers a challenge.requested webhook to your configured endpoint, containing the same challenge and transaction details as a real 3DS flow. Your webhook handler receives this payload and should deliver the OTP to the cardholder through the specified delivery method.

Errors

Behavior notes

  • No real transaction is created. This simulation only triggers the 3DS webhook โ€” it does not create a transaction record or authorization hold.
  • The webhook is real. Your configured webhook endpoint receives the challenge.requested event exactly as it would during a real 3DS flow.
  • Currency is always USD. The webhook payload uses USD as the transaction currency.
  • Merchant country is always US. The webhook payload uses US as the merchant country.

Example