Buy out surplus transaction update controller

Updates the transaction details payment status

Changed on
post/v1.0/buy-out-surplus/transactions/{id}/update/payment-status

Request

  • Base URL
    http://localhost:8082/api
  • URL
    http://localhost:8082/api/v1.0/buy-out-surplus/transactions/{id}/update/payment-status
  • Auth
    HTTP bearer

Path parameters

idinteger required

The transaction id

Request body

status'UNDER_APPEAL' | 'AWAITING_PAYMENT' | 'AWAITING_REFUND' | 'PAID' | 'REFUNDED' | 'NOT_REQUIRED' | 'TERMINATED' required
commentsstring
evidenceFilesobject
paymentDatestring date
dateOfAppealstring date
detailIdsinteger[] required

Response

No Content

Changes

    • breaking

      added the new required request property

    • info

      api operation id updateBuyOutSurplusTransactionPaymentStatus removed and replaced with updateBuyOutSurplusTransactionDetailsPaymentStatus

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      endpoint added