payment_plans
Create a new payment plan for a patient.
Changed onCreate a new payment plan for a patient.
There are two types of payment plans:
1. `type: "standard"`. The standard post-service payment plan may be created only in case there is an outstanding
patient balance. Standard payment plan checks the current patient balance on every installment and charges
`installment` amount, but not more than the current balance of the patient.
Payment plan also stops when the total installments sum reaches the "total_amount". The last installment in
this case may be less than the `installment`. E.g. plan for `total_amount` of $100 and installment of $40
the last installment amount is $20.
2. type: "upfront". This is a pre-service payment plan. It does not check the current patient balance, may be
started with any patient balance and will be charged up to a "total_amount".
One of the `collectly_payment_method_id`, `external_payment_method_id` is required since
payment plan requires a payment method. `external_payment_method_id` can be used only for patients that
have `metadata.stripe_customer_id` set.
post/practices/{practice_id}/patients/{patient_id}/payment-plans
Request
- Base URLsandbox.collectly.co/api/api/partners/v1 (relative, and the document’s source URL is not known)
- URLsandbox.collectly.co/api/api/partners/v1/practices/{practice_id}/patients/{patient_id}/payment-plans
- AuthAPI key in header Authorization
Path parameters
practice_idstring required
Practice ID in which the requested resource exists
patient_idstring required
Patient ID from your integration who owns the resource
Request body
Response
OK
Changes
- info
endpoint added
- info