Skip to main content
PATCH
/
cards
/
close
Close cards
curl --request PATCH \
  --url https://api.finup.io/backend/cards/close \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "card_ids": [
    "67c48f6fc8614632e0b338fc"
  ]
}
'
{
  "result": {
    "Changed cards": [
      "67c48f6fc8614632e0b338fc"
    ],
    "Unchanged cards due to inappropriate status": [
      "67c48f6fc8614632e0b558fc"
    ]
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
card_ids
string[]
required
Example:
["67c48f6fc8614632e0b338fc"]

Response

Success

result
object
required