debt shifts

Get debt-shift opportunities

List the cross-group debt shifts the authenticated user could propose, computed from live balances

get/debt-shifts/opportunities

Request

  • Base URL: http://localhost:3001
  • URL: http://localhost:3001/debt-shifts/opportunities
  • Auth: HTTP bearer

Response

Debt-shift opportunities retrieved successfully

successboolean
messagestring

Example response

{
  "data": [
    {
      "debtorDisplayName": "Bob",
      "creditorDisplayName": "Carol",
      "currency": "USD",
      "amount": 30,
      "targetGroupNames": [
        "Weekend Squad"
      ]
    }
  ],
  "success": true,
  "message": "Success"
}

Changes

No recorded changes to this operation across all 1 revision of this API.