debt shifts

List debt-shift proposals

Get pending debt-shift proposals where the authenticated user is the debtor (incoming) or the proposer (outgoing)

get/debt-shifts/proposals

Request

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

Response

Proposals retrieved successfully

successboolean
messagestring

Example response

{
  "data": {
    "incoming": [
      {
        "proposerDisplayName": "Alice",
        "debtorDisplayName": "Bob",
        "creditorDisplayName": "Carol",
        "currency": "USD",
        "amount": 30,
        "targetGroupNames": [
          "Weekend Squad"
        ],
        "status": "pending"
      }
    ],
    "outgoing": [
      {
        "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.