POST
/
v1
/
contracts
/
commits
/
threshold-billing
/
release
Release external payment gate threshold commit
curl --request POST \
  --url https://api.metronome.com/v1/contracts/commits/threshold-billing/release \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "workflow_id": "5576ba1f-4a33-b473-3f05-6162d87b4a33",
  "outcome": "paid"
}'

Authorizations

Authorization
string
header
required

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

Body

application/json

Information to identify the workflow that is in progress to release the commit, and what action we should take to complete the workflow.

The body is of type object.

Response

200

Success