Approve a spend request by ID

Approve a spend request by its ID.

Marks the spend request as approved, which depending on the client configuration may allow other entities attached to the spend request to trigger spend (e.g a contract being offered).

Optionally updates custom fields at the point of approval.

Authentication

AuthorizationBearer

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

Path parameters

spend_request_idstringRequiredformat: "^spreq_c[a-z0-9]{24}$"

Request

This endpoint expects an object.
custom_fieldslist of objectsOptional
An array of custom fields to be updated on the spend request.

Response

dataobject
The spend request object. This object represents a request to commit spend on the YunoJuno platform.