Orders
Tabs
Payments

Gets the current order payment card for an in progress tab order

Changed on

Licenses Required

  • Vista.Ocapi
get/ocapi/v1/orders/{orderId}/payment-card/current

Request

Path parameters

orderIdstring required

The unique identifier of the in progress tab order

Headers

Connect-Region-Codestring

Region Code

Response

Success

status'Pending' | 'Declined' | 'Approved' required

Represents the status of an order payment card

Example response

{
  "cardDetails": {
    "maskedCardNumber": "411111......1111",
    "type": "VISA",
    "expiryMonth": 1,
    "expiryYear": 27
  }
}

Changes