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

Changes

No recorded changes to this endpoint across all 1 revision of this API.