v1

latestOpenAPI 3.1.0Private2026-07-24196240439.2 KB
PaymentMethod

Create Setup Intent

The response shape depends on the practice's payment processor (payment_processor in the response):

  • When rainforest: payment_method_config_id, session_key, and allowed_methods are returned.
  • When stripe: stripe_client_secret is returned instead. The example below shows the rainforest variant.
post/provider/patients/{patient_id}/payment_methods/setup

Path parameters

patient_idstring required

Unique Patient ID

Request body

user_is_ownerboolean required
accepts_bankboolean required

Response

Successful response