Skip to main content
PUT
/
v2
/
cards
/
{CardID}
Update Card by ID
curl --request PUT \
  --url https://qa-lynx.nayax.com/operational/v2/cards/{CardID} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "CardDetails": {
    "ActorID": 123,
    "CardDisplayNumber": "<string>",
    "PhysicalTypeID": 123,
    "Notes": "<string>",
    "Status": 123,
    "ExternalApplicationUserID": "<string>"
  },
  "CardHolderDetails": {
    "CardHolderName": "<string>",
    "UserIdentity": "<string>",
    "CountryID": 123,
    "MobileNumber": "<string>",
    "Email": "<string>",
    "MemberTypeID": 800
  },
  "CardCreditAttributes": {
    "CurrencyID": 123,
    "Credit": 123,
    "RevalueCredit": 123,
    "CreditTypeMoneyBit": true,
    "CreditAccumulateBit": true,
    "CreditSingleUseBit": true,
    "RevalueCashBit": true,
    "RevalueCreditCardBit": true,
    "AmountMonthlyReload": 123,
    "TransactionsMonthlyReload": 123,
    "DiscountTypeBit": 123,
    "DiscountValue": 123
  },
  "CardCreditLimits": {
    "AmountDailyLimit": 123,
    "AmountWeeklyLimit": 123,
    "TransactionsDailyLimit": 123,
    "TransactionsWeeklyLimit": 123,
    "AmountMonthlyLimit": 123,
    "TransactionsMonthlyLimit": 123,
    "DiscountTransactionsTotalLimit": 123,
    "MaxRevalueAmountLimit": 123,
    "WeekDayLimitEnabledBit": true,
    "WeekDayAmountLimit": "<string>",
    "WeekDayTransactionLimit": "<string>"
  },
  "CardDateRules": {
    "ActivationDate": "2023-11-07T05:31:56Z",
    "ExpirationDate": "2023-11-07T05:31:56Z",
    "RevalueExpirationDate": "2023-11-07T05:31:56Z",
    "SetSingleUseDate": "2023-11-07T05:31:56Z",
    "RemoveSingleUseDate": "2023-11-07T05:31:56Z"
  },
  "CardRevalueRewardRules": [
    {
      "RuleID": 123,
      "RewardActorID": 123,
      "Status": true,
      "RevalueAmount": 123,
      "RewardValueTypeBit": true,
      "RewardValue": 123
    }
  ],
  "GroupLocationLimits": [
    {
      "CardGroupEnabledBit": true,
      "GroupName": "<string>",
      "CardGroupId": 123,
      "GroupDailyLimit": 123
    }
  ]
}
'
{
  "CardDetails": {
    "CardID": 123,
    "ActorID": 123,
    "CardUniqueIdentifier": "<string>",
    "CardDisplayNumber": "<string>",
    "CardTypeID": 123,
    "PhysicalTypeID": 123,
    "Notes": "<string>",
    "Status": 123,
    "ExternalApplicationUserID": "<string>",
    "CreatedBy": 123,
    "CreatedDT": "2023-11-07T05:31:56Z",
    "UpdatedBy": 123,
    "UpdatedDT": "2023-11-07T05:31:56Z"
  },
  "CardHolderDetails": {
    "CardHolderName": "<string>",
    "UserIdentity": "<string>",
    "CountryID": 123,
    "MobileNumber": "<string>",
    "Email": "<string>",
    "MemberTypeID": 123,
    "ImageUrl": "<string>"
  },
  "CardCreditAttributes": {
    "CurrencyID": 123,
    "Credit": 123,
    "RevalueCredit": 123,
    "CreditTypeMoneyBit": true,
    "CreditAccumulateBit": true,
    "CreditSingleUseBit": true,
    "RevalueCashBit": true,
    "RevalueCreditCardBit": true,
    "AmountMonthlyReload": 123,
    "TransactionsMonthlyReload": 123,
    "DiscountTypeBit": 123,
    "DiscountValue": 123
  },
  "CardCreditLimits": {
    "AmountDailyLimit": 123,
    "AmountWeeklyLimit": 123,
    "TransactionsDailyLimit": 123,
    "TransactionsWeeklyLimit": 123,
    "AmountMonthlyLimit": 123,
    "TransactionsMonthlyLimit": 123,
    "DiscountTransactionsTotalLimit": 123,
    "MaxRevalueAmountLimit": 123,
    "WeekDayLimitEnabledBit": true,
    "WeekDayAmountLimit": "<string>",
    "WeekDayTransactionLimit": "<string>"
  },
  "CardDateRules": {
    "ActivationDate": "2023-11-07T05:31:56Z",
    "ExpirationDate": "2023-11-07T05:31:56Z",
    "RevalueExpirationDate": "2023-11-07T05:31:56Z",
    "SetSingleUseDate": "2023-11-07T05:31:56Z",
    "RemoveSingleUseDate": "2023-11-07T05:31:56Z"
  },
  "CardCreditUsage": {
    "AmountDailyUsage": 123,
    "AmountWeeklyUsage": 123,
    "TransactionsDailyUsage": 123,
    "TransactionsWeeklyUsage": 123,
    "AmountMonthlyUsage": 123,
    "TransactionsMonthlyUsage": 123,
    "AmountTotalUsage": 123,
    "TransactionsTotalUsage": 123,
    "AmountCapture": 123,
    "TransactionsCapture": 123,
    "CaptureDate": "2023-11-07T05:31:56Z"
  },
  "CardRevalueRewardRules": [
    {
      "RuleID": 123,
      "RewardActorID": 123,
      "Status": true,
      "RevalueAmount": 123,
      "RewardValueTypeBit": true,
      "RewardValue": 123,
      "UpdatedDT": "2023-11-07T05:31:56Z",
      "UpdatedBy": 123
    }
  ],
  "GroupLocationLimits": [
    {
      "CardGroupEnabledBit": true,
      "GroupName": "<string>",
      "CardGroupId": 123,
      "GroupDailyLimit": 123,
      "UpdatedBy": 123,
      "LastUpdated": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

CardID
integer<int64>
required

The unique identifier of the card to be updated.

Body

application/json

The updated details of the card.

Represents the data required to update an existing card, including details, holder information, credit attributes, and limits.

CardDetails
object

Updated details about the card.

CardHolderDetails
object

Updated information about the cardholder.

CardCreditAttributes
object

Updated credit attributes associated with the card.

CardCreditLimits
object

Updated credit limits associated with the card.

CardDateRules
object

Updated date-related rules for the card.

CardRevalueRewardRules
object[] | null

Updated rules for revalue rewards associated with the card.

GroupLocationLimits
object[] | null

Updated location-based limits for the card groups.

Response

200 - application/json

Card details updated successfully.

Represents the comprehensive details of a card, including its attributes, limits, usage, and associated rewards and location limits.

CardDetails
object

Detailed information about the card.

CardHolderDetails
object

Information about the cardholder.

CardCreditAttributes
object

Credit attributes associated with the card.

CardCreditLimits
object

Credit limits associated with the card.

CardDateRules
object

Date-related rules applied to the card.

CardCreditUsage
object

Information on the credit usage of the card.

CardRevalueRewardRules
object[] | null

A list of revalue reward rules associated with the card.

GroupLocationLimits
object[] | null

A list of location limits associated with the card's group.