Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[$80] Additional Payments #82

Closed
Closed
@maxceem

Description

@maxceem

Background

At the moment we can only process payments to the resource bookings for some amount of days worked via UI https://monosnap.com/file/HOmkcBnEVYmz3j0n32CcQ25TFQmQT5.

Sometimes managers would like to process additional payments which would not be counted for days. For this purpose we would like to introduce another way to process additional payments.

Task

API

  • we've updated API to support additional payments [$30] Additional Payments topcoder-platform/taas-apis#430
  • to create additional payment use endpoint POST ​/work-period-payments passing in the body:
    {
     "workPeriodId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", // work period id
     "days": 0, // we should ALWAYS pass 0 to indicate that this is an additional payment, not for days
     "amount": 200 // amount entered in the form
    }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions