[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Getorgpaymentmethods Orgs

Description

Get payment methods of organization

Request

Request

URL

URL


get
https://vmc.vmware.com/vmc/api/orgs/{org}/payment-methods
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


Query Parameters

Query Parameters

boolean
defaultFlag Optional

When true, will only return default payment methods.


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns array of PaymentMethodInfo of type(s) application/json
{
	"default_flag": false,
	"payment_method_id": "string",
	"type": "string"
}
boolean
default_flag Optional

string
payment_method_id Optional

string
type Optional
Errors

Errors

401

Unauthorized


403

Forbidden


404

Organization doesn’t exist

Code Samples

Code Samples

cURL Command

curl https://vmc.vmware.com/vmc/api/orgs/{org}/payment-methods
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: orgs
x-vmw-vapi-methodname: getOrgPaymentMethods


Feedback

Was this page helpful?