patients

Get payment methods

Get all saved payment methods for the current patient. Shows which one is set as default.

get/api/patients/payment-methods

Response

Successful Response

default_payment_method_idstring nullable

ID of the default payment method

Example response

{
  "default_payment_method_id": "pm_1234567890",
  "payment_methods": [
    {
      "card": {
        "brand": "visa",
        "exp_month": 12,
        "exp_year": 2025,
        "last4": "4242"
      },
      "created_at": "2024-01-15T10:30:00Z",
      "id": "pm_1234567890",
      "is_default": true,
      "type": "card"
    }
  ]
}

Changes

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