Skip to main content

order_payments

Creates, updates, deletes, gets or lists an order_payments resource.

Overview​

Nameorder_payments
TypeResource
Idovh.me.order_payments

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
payment_datestring (date-time) (wire: paymentDate)
payment_identifierstring (wire: paymentIdentifier)
payment_typestringAll payment means you might have use on an OVH order (cash, chargeback, check, cheque, creditAccount, creditCard, debtAccount, deposit, digitalLaunchPad, edinar, fidelityPoints, free, ideal, incubatorAccount, mandat, multibanco, none, ovhAccount, paymentMandate, paypal, payu, platnosci, refund, rupay, transfer, withdrawal) (wire: paymentType)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectorder_idGet this object properties

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.

NameDatatypeDescription
api_hoststringThe 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"}})
order_idinteger (wire: orderId)

SELECT examples​

Get this object properties

SELECT
payment_date,
payment_identifier,
payment_type
FROM ovh.me.order_payments
WHERE order_id = '{{ order_id }}' -- required
;