Get Org Payment Methods Orgs

Get Org Payment Methods Orgs

Get payment methods of organization

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

Organization identifier.

Query Parameters
boolean
defaultFlag
Optional
Constraints: default: false

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
"ErrorResponse Object"
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


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vmc/api/orgs/{org}/payment-methods