Grants
Update Grant
Update a grant object with the given ID. This can be used to update the status or acknowledgement of the grant.
patch/v1/grants/{id}
Path parameters
idstring uuid required
The unique id of the grant. The format should be a v4 UUID according to RFC 4122.
Request body
Example request
{
"status": "Completed",
"acknowledgedAt": "2020-01-31T23:00:00Z"
}Response
OK
Example response
{
"id": "cfe09e64-6a74-4dab-a565-361185a6f248",
"userFriendlyId": "chariot-1234455",
"trackingId": "L9E182VBGP",
"workflowSessionId": "2d4b2a43-a5b4-4be1-ad1f-f932016ca4a6",
"fundId": "daf-id",
"externalGrantId": "897823sdjf8sfjs",
"createdAt": "2020-01-31T23:00:00Z",
"updatedAt": "2020-01-31T23:59:59Z",
"amount": 15000,
"status": "Initiated",
"feeDetail": {
"total": 1500,
"contributions": [
{
"name": "Chariot",
"amount": 1500,
"feeType": "chariot"
}
]
},
"firstName": "Warren",
"lastName": "Buffet",
"phone": "1237861020",
"email": "warrenBuffet@example.com",
"note": "Please dedicate in memory of grandma",
"statuses": [
{
"id": "cfe09e64-6a74-4dab-a565-361185a6f248",
"createdAt": "2020-01-31T23:00:00Z",
"status": "Initiated",
"comment": "The grant has been received by the nonprofit"
}
],
"paymentChannel": "direct"
}