---
title: "Update Payment Method"
method: POST
path: "/paymentmethod/{paymentMethodNumber}"
tags: ["Payment Method"]
---

# Update Payment Method

`POST /paymentmethod/{paymentMethodNumber}`

## Request

- Base URL: `https://go.netlicensing.io/core/v2/rest`
- URL: `https://go.netlicensing.io/core/v2/rest/paymentmethod/{paymentMethodNumber}`
- Auth: HTTP basic

Sets the provided properties to a Payment Method. Return an updated Payment Method

## Path parameters

- `paymentMethodNumber` string, required

## Request body `application/x-www-form-urlencoded`

- object
  - `active` boolean: If set to 'false', the Payment Method is disabled.
  - `paypal.subject` string: The e-mail address of the PayPal account for which you are making the API calls.

## Response `200`

Successful request

- Netlicensing
  - `infos` Infos
  - `items` Items

## Other responses

- `400`: Malformed or illegal request
- `403`: Access is denied
- `404`: Resource not found
- `500`: Internal service error

---

[API](https://skmtc.dev/labs64/apis/labs64-netlicensing-restful-api-test-center.md) - [All operations](https://skmtc.dev/labs64/apis/labs64-netlicensing-restful-api-test-center/llms.txt) - [OpenAPI document](https://skmtc.dev/labs64/apis/labs64-netlicensing-restful-api-test-center/revisions/32bb94715eca?raw)
