patients

Add new payment method

Create a Stripe checkout session to add a new payment method (no charge).

post/api/patients/payment-methods/add

Request body

set_as_defaultboolean

Whether to set this payment method as default after adding

Example request

{
  "set_as_default": true
}

Response

Successful Response

checkout_urlstring required

URL to redirect user to Stripe checkout

session_idstring required

Stripe checkout session ID

Example response

{
  "checkout_url": "https://checkout.stripe.com/c/pay/cs_test_xxx",
  "session_id": "cs_test_xxx"
}

Changes

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