Skip to main content
GET
/
v1
/
cards
/
validate-machine
/
{machineId}
Validates Card for Machine Use
curl --request GET \
  --url https://qa-lynx.nayax.com/operational/v1/cards/validate-machine/{machineId} \
  --header 'Authorization: <api-key>'
{
  "Machine": {
    "ActorID": 123,
    "MachineID": 123,
    "PurchaseAllowed": true
  },
  "PrepaidCard": {
    "CardID": 123,
    "CardDiscountTypeBit": 123,
    "CardDiscountAmount": 123,
    "CardCreditTypeMoneyBit": true,
    "CardCreditAccumulateBit": true,
    "CardCreditSingleUseBit": true,
    "CardRevalueCashBit": true,
    "CardRevalueCreditCardBit": true,
    "CardCredit": 123,
    "CardRevalueCredit": 123,
    "CardMaxRevalueAmountLimit": 123,
    "CreditAmountDailyLimit": 123,
    "CreditAmountWeeklyLimit": 123,
    "CreditAmountMonthlyLimit": 123,
    "CreditTransactionsDailyLimit": 123,
    "CreditTransactionsWeeklyLimit": 123,
    "CreditTransactionsMonthlyLimit": 123,
    "CreditTransactionsMonthlyReload": 123,
    "CreditAmountCapture": 123,
    "CreditTransactionsCapture": 123,
    "CreditCaptureDate": "2023-11-07T05:31:56Z",
    "CreditAmountDailyUsage": 123,
    "CreditAmountWeeklyUsage": 123,
    "CreditAmountMonthlyUsage": 123,
    "CreditAmountTotalUsage": 123,
    "CreditTransactionsDailyUsage": 123,
    "CreditTransactionsWeeklyUsage": 123,
    "CreditTransactionsMonthlyUsage": 123,
    "TransactionsTotalUsage": 123,
    "CardRevalueExpirationDate": "2023-11-07T05:31:56Z",
    "CardSetSingleUseDate": "2023-11-07T05:31:56Z",
    "RemoveSingleUseDate": "2023-11-07T05:31:56Z",
    "CreditAmountMonthlyReload": 123,
    "CreditTransactionsTotalUsage": 123,
    "CardCustomerTypeID": 123,
    "CardLastUpdatedBy": 123,
    "CardLastUpdatedDate": "2023-11-07T05:31:56Z",
    "final_wd_limit_money": 123
  },
  "Card": {
    "CardID": 123,
    "ActorID": 123,
    "CardUniqueIdentifier": "<string>",
    "CardDisplayNumber": "<string>",
    "CardHolderName": "<string>",
    "CardStatus": 123,
    "CardType": 123,
    "CardUserIdentity": "<string>",
    "UpdatedDt": "2023-11-07T05:31:56Z",
    "CreatedDt": "2023-11-07T05:31:56Z",
    "CreatedBy": 123,
    "UpdatedBy": 123,
    "CountryID": 123,
    "Email": "<string>",
    "CardPhysicalType": 123,
    "MemberType": 123,
    "CardActivationDate": "2023-11-07T05:31:56Z",
    "CardExpirationDate": "2023-11-07T05:31:56Z",
    "CardImageUrl": "<string>",
    "CardNote": "<string>",
    "wd_limits_money": "<string>",
    "wd_limits_trans": "<string>",
    "use_wd_limit": true,
    "CardExternalApplicationUserID": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Path Parameters

machineId
integer<int64>
required

The unique identifier of the machine to validate the card against.

Query Parameters

cardId
integer<int64>

The unique identifier of the card.

cardUniqueIdentifier
string

The unique identifier of the card.

Response

200 - application/json

Validation result retrieved successfully.

Represents the response model for validating a prepaid or discount card for use with a specific machine, including machine and card details.

Machine
object

Details about the machine involved in the validation.

PrepaidCard
object

Details of the prepaid card being validated.

Card
object

Details of the card being validated.