Get Org Payment Methods Orgs

Get Org Payment Methods Orgs

Get payment methods of organization

Request
URI
GET
https://vmc.vmware.com/vmc/api/orgs/{org}/payment-methods
COPY
Path Parameters
string
org
Required

Organization identifier

Query Parameters
boolean
defaultFlag
Optional

When true, will only return default payment methods.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of PaymentMethodInfo of type(s) application/json
[
    {
        "type": "string",
        "default_flag": false,
        "payment_method_id": "string"
    }
]

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Organization doesn't exist

Returns ErrorResponse of type(s) application/json
{
    "status": 0,
    "path": "string",
    "retryable": false,
    "error_code": "string",
    "error_messages": [
        "string"
    ]
}
integer
status
Required

HTTP status code

string
path
Required

Originating request URI

boolean
retryable
Required

If true, client should retry operation

string
error_code
Required

unique error code

array of string
error_messages
Required

localized error messages