POST
/
v2
/
contracts
/
credits
/
archive
Archive a credit
curl --request POST \
  --url https://api.metronome.com/v2/contracts/credits/archive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer_id": "4c91c473-fc12-445a-9c38-40421d47023f",
  "credit_id": "5e7e82cf-ccb7-428c-a96f-a8e4f67af822"
}'
{
  "data": {
    "id": "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Customer ID and Credit ID to archive

The body is of type object.

Response

Success

The response is of type object.