Create "pay" command #18
Labels
enhancement
New feature or request
on hold
Ticket on hold
P3
Technical debt or non-critical issue. should resolve
Create a
pay
command that will let copilot/managers process private task payments.I built the following tool in the past that helps me process task payments.
Main functionality
The flow is the following:
title
,description
,track
(design/develop/data_science),payee username
,amount in $
,copilot payment
,NDA
Support copilot payments
-c/-copilot
flag to process a copilot payment (similar to https://x.topcoder.com/#/app/copilot-payments)If it's a copilot payment, the copilot will also be added as the member (registrant) which will be selected as the winner and the member payment will be $0.
API
You need to use the new V5 API https://github.com/topcoder-platform/challenge-api instead of the legacy (V4).
Refer to the Swagger definition on the above repo for details on how to use the API.
You will have to deploy the API locally.
Related services:
Flow description
The flow of creating payment is described below:
Call the challenge API to create the challenge
typeId
must be configurablephases
can create only one phase for the review.reviewType
should beINTERNAL
tags
can be['Task Payment']
Call the resources API to create the resources
Call the challenge API to close the challenge
PATCH /challenges/:id
endpoint to change thestatus
toCompleted
and add awinners
array to the challenge object to indicate the winner.The text was updated successfully, but these errors were encountered: