---
title: "Create Payment Method"
method: POST
path: "/provider/patients/{patient_id}/payment_methods"
tags: ["PaymentMethod"]
---

# Create Payment Method

`POST /provider/patients/{patient_id}/payment_methods`

Exactly one of `rainforest_id` or `stripe_id` must be provided. Practices on Hint Payments
(Rainforest) submit a `rainforest_id`; practices on Stripe submit a `stripe_id`.

## Path parameters

- `patient_id` string, required

## Request body

- ProviderPatientsPaymentMethodsControllerCreateBody
  - `rainforest_id` string — Tokenized payment method id from Rainforest. Required if the practice uses Hint Payments.
  - `stripe_id` string — Tokenized payment method id from Stripe. Required if the practice uses Stripe.

## Response `201`

Successful response

---

[API](https://skmtc.net/hint/apis/partner-endpoints.md) · [All operations](https://skmtc.net/hint/apis/partner-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hint/partner-endpoints/versions/a92ae2a6fa90/schema)
