---
title: "Gets the current order payment card for an in progress tab order"
method: GET
path: "/ocapi/v1/orders/{orderId}/payment-card/current"
tags: ["Orders", "Tabs", "Payments"]
---

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

`GET /ocapi/v1/orders/{orderId}/payment-card/current`

## Request

- Base URL: `https://developer.vista.co` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.vista.co/ocapi/v1/orders/{orderId}/payment-card/current`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vista/apis/vista-digital-platform/docs/ocapi/v1/orders/:orderId/payment-card/current/get.ts> (a function with typed inputs; its response is checked against the schema)

#### Licenses Required


- Vista.Ocapi

## Path parameters

- `orderId` string, required

## Headers

- `Connect-Region-Code` string

## Response `200`

Success

- OcapiV1OrdersPaymentsPaymentCardOrderPaymentCard: Represents a payment card assigned to an in progress tab order
  - `status` 'Pending' | 'Declined' | 'Approved', required: Represents the status of an order payment card
  - `cardDetails` OcapiV1OrdersPaymentsPaymentCardPaymentCardDetails: Represents the details of a credit, debit, or eftpos card used for a payment
    - `maskedCardNumber` string, required: Gets the masked card number
    - `type` string, nullable: Gets the card type
    - `expiryMonth` integer, nullable: Gets the card expiry month
    - `expiryYear` integer, nullable: Gets the card expiry year

## Other responses

- `400`: Order is not a tab order.
- `404`: Order does not exist, or payment card has not been created.

## Changes

- **2026-10-09** `41415d239083`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vista/apis/vista-digital-platform/changes/ocapi/v1/orders/:orderId/payment-card/current/get.md)

---

[API](https://skmtc.dev/vista/apis/vista-digital-platform.md) - [All operations](https://skmtc.dev/vista/apis/vista-digital-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/vista/apis/vista-digital-platform/revisions/c46f30854000?raw)
