---
title: "Sets up auto-payment"
method: POST
path: "/customers/{customer_id}/settings/payment"
tags: ["Customer Payments"]
---

# Sets up auto-payment

`POST /customers/{customer_id}/settings/payment`

Kicks off the setup of auto-payment for a customer. This will return a URL that the customer must visit to complete the setup. If the customer already has a payment method, this will return a URL to update the payment method.

## Path parameters

- `customer_id` string, uuid, required

## Request body

- SetupUpAutoPaymentRequest
  - `subsidiary_id` string, uuid

## Response `200`

OK

- PaymentSetupResponse
  - `setup_url` string, uri, required — URL to the payment setup portal

## Other responses

- `default` — Error

---

[API](https://skmtc.net/rillet/apis/rillet-accounting-api.md) · [All operations](https://skmtc.net/rillet/apis/rillet-accounting-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rillet/rillet-accounting-api/versions/a2ab794dd5f2/schema)
