v1

latestOpenAPI 3.1.02026-08-06236494759.4 KB
Card Rules

Set Countries Rules

Endpoint to set the CardRuleCountries of the Card.

post/business/v2/cards/{cardId}/rules/countries

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

request_timestampinteger required

The epoch timestamp in millis. This is checked in Soldo. Requests with timestamp older than 5 seconds will be rejected.

Example request

{
  "request_timestamp": 1576850500000,
  "countries": [
    {
      "enabled": true
    }
  ]
}

Response

The results is CardRuleCountries.

totalinteger

It represents the total number of available items in the list.

Example response

{
  "total": 168,
  "results": [
    {
      "enabled": true
    }
  ]
}