Requests

Approve Request

Endpoint to approve an Request by ID. Payload depends on the request type (GOODS_OR_SERVICES, FUNDS, TRIP).

put/business/v2/requests/{requestId}/approve

Path parameters

requestIdstring required

The Request ID.

Example:7bf79328-a7ae-4222-aa54-091ff7f429a7

Request body

notestring

The supervisor's note of the Request.

approverstring required

The requester's note of the Request .

type'GOODS_OR_SERVICES' | 'FUNDS' | 'TRIP' required
wallet_idstring required

The ID of the Wallet of Request, the request type is Funds or BusinessTrip.

Example request

{
  "note": "Requester note",
  "approver": "XMPL1234-000001",
  "wallet_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7"
}

Response

No content as result.