---
title: "Validates Card for Machine Use"
method: GET
path: "/v1/cards/validate-machine/{machineId}"
tags: ["Cards"]
---

# Validates Card for Machine Use

`GET /v1/cards/validate-machine/{machineId}`

Validates whether a prepaid or discount card can be used with a specific machine.

## Path parameters

- `machineId` integer, required

## Query parameters

- `cardId` integer
- `cardUniqueIdentifier` string

## Response `200`

Validation result retrieved successfully.

- CardsMachineResponseModel — Represents the response model for validating a prepaid or discount card for use with a specific machine, including machine and card details.
  - `Machine` MachineForCardResponseModel — Represents the machine details related to the card validation process.
    - `ActorID` integer — The unique identifier of the actor associated with the machine.
    - `MachineID` integer — The unique identifier of the machine.
    - `PurchaseAllowed` boolean — Indicates whether purchases are allowed on the machine for the validated card.
  - `PrepaidCard` PrepaidCardDbEntity — Represents the detailed properties of a prepaid card, including credit attributes, usage limits, and revalue options.
    - `CardID` integer, nullable — The unique identifier of the card.
    - `CardDiscountTypeBit` integer, nullable — Indicates the type of discount applied to the card.
    - `CardDiscountAmount` number, double, nullable — The discount amount applied to the card.
    - `CardCreditTypeMoneyBit` boolean, nullable — Indicates whether the credit type is money.
    - `CardCreditAccumulateBit` boolean, nullable — Indicates whether the credit on the card can accumulate over time.
    - `CardCreditSingleUseBit` boolean, nullable — Indicates whether the credit on the card is for single-use only.
    - `CardRevalueCashBit` boolean, nullable — Indicates whether the card can be revalued with cash.
    - `CardRevalueCreditCardBit` boolean, nullable — Indicates whether the card can be revalued with a credit card.
    - `CardCredit` number, double, nullable — The amount of credit available on the card.
    - `CardRevalueCredit` number, double, nullable — The amount of credit added to the card during a revalue operation.
    - `CardMaxRevalueAmountLimit` number, double, nullable — The maximum limit for revalue amounts.
    - `CreditAmountDailyLimit` number, double, nullable — The daily limit on the amount of credit that can be used.
    - `CreditAmountWeeklyLimit` number, double, nullable — The weekly limit on the amount of credit that can be used.
    - `CreditAmountMonthlyLimit` number, double, nullable — The monthly limit on the amount of credit that can be used.
    - `CreditTransactionsDailyLimit` integer, nullable — The daily limit on the number of transactions that can be performed.
    - `CreditTransactionsWeeklyLimit` integer, nullable — The weekly limit on the number of transactions that can be performed.
    - `CreditTransactionsMonthlyLimit` integer, nullable — The monthly limit on the number of transactions that can be performed.
    - `CreditTransactionsMonthlyReload` integer, nullable — The number of transactions allowed per month for reloading the card.
    - `CreditAmountCapture` number, double, nullable — The amount of credit captured.
    - `CreditTransactionsCapture` integer, nullable — The number of transactions captured.
    - `CreditCaptureDate` string, date-time, nullable — The date and time of the last capture.
    - `CreditAmountDailyUsage` number, double, nullable — The amount of credit used daily.
    - `CreditAmountWeeklyUsage` number, double, nullable — The amount of credit used weekly.
    - `CreditAmountMonthlyUsage` number, double, nullable — The amount of credit used monthly.
    - `CreditAmountTotalUsage` number, double, nullable — The total amount of credit used.
    - `CreditTransactionsDailyUsage` integer, nullable — The number of transactions performed daily.
    - `CreditTransactionsWeeklyUsage` integer, nullable — The number of transactions performed weekly.
    - `CreditTransactionsMonthlyUsage` integer, nullable — The number of transactions performed monthly.
    - `TransactionsTotalUsage` integer, nullable — The total number of transactions performed.
    - `CardRevalueExpirationDate` string, date-time, nullable — The date and time when the revalue credit on the card expires.
    - `CardSetSingleUseDate` string, date-time, nullable — The date and time when the card is set for single-use.
    - `RemoveSingleUseDate` string, date-time, nullable — The date and time when the single-use restriction is removed from the card.
    - `CreditAmountMonthlyReload` number, double, nullable — The monthly reload amount for the card.
    - `CreditTransactionsTotalUsage` integer, nullable — The total number of credit transactions performed.
    - `CardCustomerTypeID` integer, nullable — The customer type identifier associated with the card.
    - `CardLastUpdatedBy` integer, nullable — The identifier of the user who last updated the card.
    - `CardLastUpdatedDate` string, date-time, nullable — The date and time when the card was last updated.
    - `final_wd_limit_money` number, double, nullable — The final weekday limit on the amount of money that can be used.
  - `Card` CardsDbEntity — Represents the entity details of a card, including its attributes, status, and associated actor information.
    - `CardID` integer, nullable — The unique identifier of the card.
    - `ActorID` integer, nullable — The unique identifier of the actor associated with the card.
    - `CardUniqueIdentifier` string, nullable — The unique identifier assigned to the card.
    - `CardDisplayNumber` string, nullable — The display number of the card.
    - `CardHolderName` string, nullable — The name of the cardholder.
    - `CardStatus` integer, nullable — The current status of the card.
    - `CardType` integer, nullable — The type identifier of the card.
    - `CardUserIdentity` string, nullable — The unique identity or user ID associated with the card.
    - `UpdatedDt` string, date-time, nullable — The date and time when the card was last updated.
    - `CreatedDt` string, date-time, nullable — The date and time when the card was created.
    - `CreatedBy` integer, nullable — The identifier of the user who created the card.
    - `UpdatedBy` integer, nullable — The identifier of the user who last updated the card.
    - `CountryID` integer, nullable — The identifier of the country associated with the card.
    - `Email` string, nullable — The email address associated with the card.
    - `CardPhysicalType` integer, nullable — The physical type identifier of the card.
    - `MemberType` integer, nullable — The membership type identifier associated with the card.
    - `CardActivationDate` string, date-time, nullable — The date and time when the card becomes active.
    - `CardExpirationDate` string, date-time, nullable — The date and time when the card expires.
    - `CardImageUrl` string, nullable — The URL of the image associated with the card.
    - `CardNote` string, nullable — Any additional notes associated with the card.
    - `wd_limits_money` string, nullable — The monetary limits applied to the card on specific weekdays.
    - `wd_limits_trans` string, nullable — The transaction limits applied to the card on specific weekdays.
    - `use_wd_limit` boolean, nullable — Indicates whether the weekday limits are enabled for the card.
    - `CardExternalApplicationUserID` string, nullable — The external application user ID associated with the card.

---

[API](https://skmtc.net/nayax/apis/nayax-cortina-api.md) · [All operations](https://skmtc.net/nayax/apis/nayax-cortina-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nayax/nayax-cortina-api/revisions/421f6f83c257/schema)
