Usage
Embed URL parameters
The embed page (/embed/store-details/{patientId}) accepts these query parameters:
| Parameter | Description |
|---|---|
theme | light or dark |
showHeader | true (default) or false to hide the patient name header |
allowedMethods or allowed_methods | Comma-separated payment methods: CARD, ACH, APPLE_PAY. Default is CARD,ACH,APPLE_PAY. |
redirect_url or redirectUrl | URL to redirect the patient to after saving. Enables redirect mode (required for Apple Pay). |
Response
The response contains:session_key— Rainforest session ID for the payment formpayment_method_config_id— Rainforest config ID for storing the payment methodsandbox— whether the form is in sandbox modepatient— the patient’s ID and name (for display)
