Card Rules

Set Card Rules

Endpoint to set the CardRules.

put/business/v2/cards/{cardId}/rules

Path parameters

cardIdstring required

The Card ID.

Example:7bf79328-a7ae-4222-aa54-091ff7f429a7

Headers

X-Soldo-Fingerprintstring required

Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.

Example:{{fingerprint}}
X-Soldo-Fingerprint-Signaturestring required

Advanced authentication: Signature of the X-Soldo-Fingerprint.

Example:{{fingerprint_signature}}

Request body

name'OpenCloseMasterLock' | 'OpenClose' | 'OpenCloseAfterOneTx' | 'Online' | 'Contactless' required
enabledboolean required

It determines whether the rule is enabled.

Example request

{
  "enabled": true
}

Response

The result is a list of CardRule.

Example response

{
  "rules": [
    {
      "enabled": true
    }
  ]
}