Payments
Gets the web payment method options for an in progress order base, based on the provided order type
Changed onLicenses Required
- Vista.Ocapi
get/ocapi/v1/web-payment-methods
Request
- Base URLhttps://developer.vista.co (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
orderType'Standard' | 'GiftShop' | 'Subscription' | 'Tab' required
The type of the in progress order base that the web payment method entities are available for
siteIdstring
The unique identifier of the site Only valid for in progress standard order and in progress tab order entities
Headers
Connect-Region-Codestring
Region Code
Response
Success
Example response
{
"webPaymentMethods": [
{
"name": {
"translations": [
{
"languageTag": "en-US"
}
]
}
}
]
}Changes
- info
added the new enum value
Tabto thequeryrequest parameterorderType
- info