Requests
Approve Request
Changed onEndpoint to approve an Request by ID. Payload depends on the request type (GOODS_OR_SERVICES, FUNDS, TRIP).
put/business/v2/requests/{requestId}/approve
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopesrequest_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
requestIdstring required
The Request ID.
Example:7bf79328-a7ae-4222-aa54-091ff7f429a7
Request body
Example request
{
"note": "Requester note",
"approver": "XMPL1234-000001",
"wallet_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7"
}Response
No content as result.
Changes
- breaking
added the new required request property
- breaking
removed the enum value
GOODS_OR_SERVICESof the request property - warning
removed the request property
- info
added
FUNDSGOODS_OR_SERVICESTRIPmapping keys to the request discriminator - info
added the new
GOODS_AND_SERVICESenum value to the request property
- breaking
- info
endpoint added
- info