---
title: "Create a new Payment Method"
method: POST
path: "/api/users/{userId}/payment-methods"
tags: ["user-payment-methods-controller"]
---

# Create a new Payment Method

`POST /api/users/{userId}/payment-methods`

Add a card to the user file, the card will be used for pre-auth and payment

## Path parameters

- `userId` integer, required

## Request body

- PaymentMethodRequest
  - `token` string, required
  - `methodType` 'CREDIT_CARD' | 'AFFIRM', required

## Response `200`

The payment method was successfully created.

---

[API](https://skmtc.dev/repairsmith/apis/autonation-mobile-service-developer-api.md) · [All operations](https://skmtc.dev/repairsmith/apis/autonation-mobile-service-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repairsmith/autonation-mobile-service-developer-api/revisions/8ef7fb1398f6/schema)
