Skip to main content
PUT
/
v1
/
cards
/
{CardId}
/
cardGroups
Update Card Groups
curl --request PUT \
  --url https://qa-lynx.nayax.com/operational/v1/cards/{CardId}/cardGroups \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "CardGroupEnabledBit": true,
    "GroupName": "<string>",
    "CardGroupId": 123,
    "GroupDailyLimit": 123,
    "UpdatedBy": 123,
    "LastUpdated": "2023-11-07T05:31:56Z"
  }
]
'
[
  {
    "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 whose groups are to be updated.

Body

application/json

The card group details to be updated.

CardGroupEnabledBit
boolean | null

Indicates whether the card group is enabled.

GroupName
string | null

The name of the card group.

CardGroupId
integer<int64> | null

The unique identifier of the card group.

GroupDailyLimit
integer<int32> | null

The daily limit for the card group.

UpdatedBy
integer<int64> | null

The identifier of the user who last updated the group.

LastUpdated
string<date-time> | null

The date and time when the group was last updated.

Response

200 - application/json

Card groups updated successfully.

CardGroupEnabledBit
boolean | null

Indicates whether the card group is enabled.

GroupName
string | null

The name of the card group.

CardGroupId
integer<int64> | null

The unique identifier of the card group.

GroupDailyLimit
integer<int32> | null

The daily limit for the card group.

UpdatedBy
integer<int64> | null

The identifier of the user who last updated the group.

LastUpdated
string<date-time> | null

The date and time when the group was last updated.