跳到主要内容

管理员审批

致管理员

需要特别说明的是,该路由仅对管理员开放。如果未集成,可以通过门户网站执行此操作。

Request

ENDPOINT
/trade_receivables/BASE_URL/assignment/EXTERNAL_ID
MÉTODO
PUT
Request Body
{
"assignment_status": "approved",
"disbursement_account_key": "764746ce-a530-4a71-af66-3f7c879627df"
}

Body Params

字段类型描述字符数
assignment_status *string批次状态最多50
disbursement_account_keystring在转让人同质化中注册的拨付账户的唯一键36

Assignment Status 枚举值

枚举值描述
approved用于审批批次
reproved用于拒绝批次

Response

STATUS
201
Response Body
{
"assignment_key": "41d6ff41-1dac-4df7-9e50-d15210ec57f3",
"status": "approved",
}

可能的错误


STATUS
400
Response Body
{
"title": "Assignment not found",
"description": "Assignment not found",
"translation": "Cessão não foi encontrada",
"code": "TRC000018"
}



STATUS
400
Response Body
{
"title": "Invalid operation",
"description": "This assignment can not receive 'dinied' status",
"translation": "Esse lote não pode receber o status 'denied'",
"code": "TRC000024"
}