Gift Cards
Adds an order gift card payment to an in progress order base
Changed onPayment details are stored against order and processed when order is complete.
Licenses Required
- Vista.Ocapi
post/ocapi/v1/orders/{orderId}/payments/gift-cards
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 order base that the payment will be added to
Headers
Connect-Region-Codestring
Region Code
Request body
Response
Success
Example response
{
"maskedCardNumber": "12.......6789"
}Changes
- warning
added the new
PaymentCardenum value to the/response property for the response status
- warning