payment_available_methods
Creates, updates, deletes, gets or lists a payment_available_methods resource.
Overview​
| Name | payment_available_methods |
| Type | Resource |
| Id | ovh.me.payment_available_methods |
Fields​
The following fields are returned by SELECT queries:
- list
Available payment method object
| Name | Datatype | Description |
|---|---|---|
form_session_id | string | Form session ID (wire: formSessionId) |
merchant_id | string | Merchant ID (wire: merchantId) |
organization_id | string | Organization ID (wire: organizationId) |
icon | object | Payment method type icon |
integration | string | Payment method integration type (BANK_TRANSFER, COMPONENT, IFRAME_VANTIV, IN_CONTEXT, NONE, OSP, POST_FORM, REDIRECT) |
oneshot | boolean | Indicates if payment method type allows to process oneshot payment |
payment_sub_type | string | Payment method sub-type (30_DAYS, 45_DAYS, 60_DAYS, AMERICAN_EXPRESS, AURA, CARTE_BANCAIRE, CARTE_BLEUE, CHORUS, DINERS_CLUB, DISCOVER, JCB, MAESTRO, MASTERCARD, NONE, RUPAY, VISA) (wire: paymentSubType) |
payment_type | string | Payment method type (wire: paymentType) |
registerable | boolean | Indicates if payment method type is registerable ? |
registerable_with_transaction | boolean | Indicates if payment method type allows payment and registration at the same time (wire: registerableWithTransaction) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | Retrieve available payment method |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
SELECT examples​
- list
Retrieve available payment method
SELECT
form_session_id,
merchant_id,
organization_id,
icon,
integration,
oneshot,
payment_sub_type,
payment_type,
registerable,
registerable_with_transaction
FROM ovh.me.payment_available_methods
;