post
https://is.getodie.com/api/v1/user//payment-method
Currently only PAYROLL to CREDITCARD is supported. The flow is as a follows:
- [Partner] Use this endpoint to tell Odie of the intent to change paymentMethod
- [Partner] On cancellationPeriodStart: Notify the customer via email that their 30-day cancellation period has started
- [Partner] Continued responsibility of Payroll as payment method through 30-day cancellation period.
- [Odie] On deadline: Policy is automatically cancelled if a credit card has not been added. You will receive a callback via the normal policy callback mechanism.
If the user does enter their credit card, you should use the PATCH /user/:userId endpoint to set the stripeToken. Once this is done the above steps are stopped and their policies become regular CREDITCARD payment policies. *This method works only for policies with monthly payment period
