Lists payment methods, optionally enabled only; remains readable while the module is disabled.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://example.com/api/workspace/community-memberships/payment-methods?enabledOnly=false"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/community-memberships/payment-methods?enabledOnly=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/workspace/community-memberships/payment-methods?enabledOnly=false' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Exclude disabled methods when true; false by default.
Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
object
Public payment-method read model (UC-CM-49); contains no financial relationships.
object
Stable payment-method identifier.
Operator-facing name.
Optional operator guidance.
Whether the method is available for new external movements.
Stored version for later compare-and-replace commands.
Community Memberships permissions the caller holds in the scope of a response: the Workspace for a list, one community for that community. The client offers an action only when its permission is granted; the server still checks every command.
object
Granted manifest permission keys, for example community.create, in manifest order.
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
object
Public payment-method read model (UC-CM-49); contains no financial relationships.
object
Stable payment-method identifier.
Operator-facing name.
Optional operator guidance.
Whether the method is available for new external movements.
Stored version for later compare-and-replace commands.
Community Memberships permissions the caller holds in the scope of a response: the Workspace for a list, one community for that community. The client offers an action only when its permission is granted; the server still checks every command.
object
Granted manifest permission keys, for example community.create, in manifest order.
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}