---
title: "Unenroll Payment Method"
method: POST
path: "/customers/{customer_id}/payment-methods/{payment_method_id}/unenroll"
---

# Unenroll Payment Method

`POST /customers/{customer_id}/payment-methods/{payment_method_id}/unenroll`

## Request

- Base URL: `https://api-sandbox.y.uno/v1`
- URL: `https://api-sandbox.y.uno/v1/customers/{customer_id}/payment-methods/{payment_method_id}/unenroll`
- Auth: API key in header `PUBLIC-API-KEY` and API key in header `PRIVATE-SECRET-KEY`
- TypeScript: <https://skmtc.dev/y/apis/ai-caller/docs/customers/:customer_id/payment-methods/:payment_method_id/unenroll/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `customer_id` string, required
- `payment_method_id` string, required

## Response `200`

200

- object
  - `id` string
  - `account_id` string
  - `name` string
  - `description` string
  - `type` string
  - `category` string
  - `country` string
  - `status` string
  - `created_at` string
  - `updated_at` string
  - `enrollment` object
    - `session` string
    - `sdk_required_action` boolean
  - `provider` object
    - `id` string
    - `type` string
    - `provider_status` unknown
  - `verify` object
    - `vault_on_success` boolean
    - `payment` unknown
  - `preferred` unknown

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403

---

[API](https://skmtc.dev/y/apis/ai-caller.md) - [All operations](https://skmtc.dev/y/apis/ai-caller/llms.txt) - [OpenAPI document](https://skmtc.dev/y/apis/ai-caller/revisions/05b629819b49?raw)
