---
title: "Create Payment Method Config"
method: POST
path: "/internal-billing/payment-methods/config"
tags: ["provider", "internal-billing", "payment-methods"]
---

# Create Payment Method Config

`POST /internal-billing/payment-methods/config`

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- PaymentMethodConfigCreate
  - `sessionKey` string, required
  - `paymentMethodConfigId` string, required
  - `paymentMethods` PaymentMethodSummary[], required
    - `id` string, required
    - `patientId` string, nullable, required
    - `rainforestPaymentMethodId` string, required
    - `brand` string, nullable, required
    - `last4` string, nullable, required
    - `expMonth` integer, nullable, required
    - `expYear` integer, nullable, required
    - `accountHolderType` string, nullable, required
    - `accountNumberLast4` integer, nullable, required
    - `bankName` string, nullable, required
    - `routingNumber` integer, nullable, required
    - `description` string, nullable, required
    - `type` 'CARD' | 'ACH' | 'APPLE_PAY', required
    - `isDefault` boolean
    - `isArchived` boolean
  - `sandbox` boolean, required

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) · [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decodahealth/decoda-api/revisions/4939a65a89d2/schema)
