get assigned payment method.md

Get assigned payment method

Management API · Projects

GET https://app.mk.io/api/v1/projects/{project_name}/paymentMethod

Returns the currently assigned payment method for this project.

RBAC Capability Required: core.subscription.get

Authentication

Path parameters

Name Type Required Description
project_name string Yes

Example request

curl -X GET "https://app.mk.io/api/v1/projects/{project_name}/paymentMethod" \
  -H "Authorization: Bearer <token>"

Responses

200 — OK

Error Responses

400 — Bad Request

401 — Unauthorized

403 — Forbidden

404 — Not Found

429 — Too Many Requests

500 — Internal Server Error


Source spec: management-api · operationId: [get]_/api/v1/projects/{project_name}/paymentMethod