Revenue

Approve and run

Changed on

Approve and run posts no body. The page receives the approved proposal and a one-time value, then runs the action.

post/v1/action-proposals/{id}/approve

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/action-proposals/{id}/approve
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Proposal id.

Example:5f8dfa9b-a7b2-46ea-982c-622a914c00e5

Response

Approved proposal and one-time value.

expiresAtstring date-time required

When the one-time value stops working.

tokenstring required

One-time value the page uses to run the action. This sample is not a live approval.

Example response

{
  "expiresAt": "2026-07-31T14:05:00Z",
  "proposal": {
    "approvedAt": "2026-07-31T14:00:00Z",
    "createdAt": "2026-07-31T14:00:00Z",
    "id": "5f8dfa9b-a7b2-46ea-982c-622a914c00e5",
    "kind": "conduit.dunning.advance",
    "paramsJson": "{\"amount\":100,\"step\":2}",
    "rationale": "Acme is 14 days overdue",
    "status": "approved",
    "target": "conduit:invoice:inv_456"
  },
  "token": "example.not-a-live-approval"
}

Changes