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

Request

  • Base URL
    https://api.sandbox.hint.com/api
  • URL
    https://api.sandbox.hint.com/api/provider/patients/{patient_id}/payment_methods/setup
  • Auth
    API key in header AUTHORIZATION

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 operation across all 2 revisions of this API.