debt shifts
Accept a debt shift
Accept a proposal as the debtor. Re-validates against live balances and writes the two offsetting settlement transfers.
post/debt-shifts/proposals/{id}/accept
Request
- Base URL: http://localhost:3001
- URL: http://localhost:3001/debt-shifts/proposals/{id}/accept
- Auth: HTTP bearer
Path parameters
idstring required
Proposal UUID
Response
Proposal accepted successfully
Example response
{
"data": {
"proposerDisplayName": "Alice",
"debtorDisplayName": "Bob",
"creditorDisplayName": "Carol",
"currency": "USD",
"amount": 30,
"targetGroupNames": [
"Weekend Squad"
],
"status": "pending"
},
"success": true,
"message": "Success"
}Changes
No recorded changes to this operation across all 1 revision of this API.