Orders
Tabs
Payments
Gets the current order payment card for an in progress tab order
Changed onLicenses Required
- Vista.Ocapi
get/ocapi/v1/orders/{orderId}/payment-card/current
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.
Path parameters
orderIdstring required
The unique identifier of the in progress tab order
Headers
Connect-Region-Codestring
Region Code
Response
Success
Example response
{
"cardDetails": {
"maskedCardNumber": "411111......1111",
"type": "VISA",
"expiryMonth": 1,
"expiryYear": 27
}
}Changes
- info
endpoint added
- info