curl -X POST "https://app.talkover.ai/api/v1/portfolio/debts/C-10/payments" \
-H "Authorization: Bearer talq_your_environment_token_here" \
-H "Content-Type: application/json" \
-d '{"installment_number": 2, "paid_at": "2026-11-09", "amount": "175.00", "partial": false, "method": "pix"}'
{
"success": true,
"message": "Payment recorded.",
"data": {
"payment": {
"id": "019a…",
"installment_number": 2,
"kind": "payment",
"paid_at": "2026-11-09",
"amount": "175.00",
"method": "pix",
"partial": false,
"remaining_amount": null,
"source": "api",
"actor_name": null,
"recorded_at": "2026-11-09T14:02:11+00:00"
},
"created": true,
"debt": {
"external_debt_id": "C-10",
"status": "open",
"effective_due_date": "2026-10-10",
"open_amount": "175.00"
}
}
}
For debt collection
Record payment
Records a payment or agreement on a contract or one installment
POST
/
api
/
v1
/
portfolio
/
debts
/
{external_debt_id}
/
payments
curl -X POST "https://app.talkover.ai/api/v1/portfolio/debts/C-10/payments" \
-H "Authorization: Bearer talq_your_environment_token_here" \
-H "Content-Type: application/json" \
-d '{"installment_number": 2, "paid_at": "2026-11-09", "amount": "175.00", "partial": false, "method": "pix"}'
{
"success": true,
"message": "Payment recorded.",
"data": {
"payment": {
"id": "019a…",
"installment_number": 2,
"kind": "payment",
"paid_at": "2026-11-09",
"amount": "175.00",
"method": "pix",
"partial": false,
"remaining_amount": null,
"source": "api",
"actor_name": null,
"recorded_at": "2026-11-09T14:02:11+00:00"
},
"created": true,
"debt": {
"external_debt_id": "C-10",
"status": "open",
"effective_due_date": "2026-10-10",
"open_amount": "175.00"
}
}
}
Record payment
Records a payment (or an agreement) on the whole contract or on one installment, without waiting for the next portfolio send. When nothing is left open, the contract leaves collection immediately and the cadence stops acting on it. Available only to debt-collection workspaces in Brazil (see Debt collection portfolio).Endpoint
POST /api/v1/portfolio/debts/{external_debt_id}/payments
Path parameters
The contract id in your system. URL-encode special characters (
CT/2026/0001 → CT%2F2026%2F0001).Request headers
Request body
false: the installment, or the whole contract, is paid off. true: part of it was paid.Required when
partial is true: the balance left open, greater than zero. Do not send it with partial set to false.How the cadence reads a payment
- Contract with installments: each paid installment stops counting, and delinquency is counted from the oldest open installment. When none is left, the contract leaves collection.
- Contract without installments, or payment without
installment_number:partial: falsesettles the contract;partial: truekeeps it in collection withremaining_amountas the amount to collect. - The next portfolio send does not undo a payment. If your system still sends the settled contract, it stays settled. A new installment (another number) in a later send is collected again.
- There is no undo: a payment recorded by mistake stays recorded. Contact your Talkover representative.
Examples
curl -X POST "https://app.talkover.ai/api/v1/portfolio/debts/C-10/payments" \
-H "Authorization: Bearer talq_your_environment_token_here" \
-H "Content-Type: application/json" \
-d '{"installment_number": 2, "paid_at": "2026-11-09", "amount": "175.00", "partial": false, "method": "pix"}'
Response
201 Created when the payment was just recorded. 200 OK when the same payment had already arrived (same fields): nothing is written again and created is false. Resending after a timeout is therefore safe.
{
"success": true,
"message": "Payment recorded.",
"data": {
"payment": {
"id": "019a…",
"installment_number": 2,
"kind": "payment",
"paid_at": "2026-11-09",
"amount": "175.00",
"method": "pix",
"partial": false,
"remaining_amount": null,
"source": "api",
"actor_name": null,
"recorded_at": "2026-11-09T14:02:11+00:00"
},
"created": true,
"debt": {
"external_debt_id": "C-10",
"status": "open",
"effective_due_date": "2026-10-10",
"open_amount": "175.00"
}
}
}
The contract after the payment, in the Get contract format (shortened in the example).
Error responses
| Status | When |
|---|---|
401 | missing or invalid token |
403 | the API is not enabled for the workspace |
404 | no contract with this id in your workspace |
422 | invalid field (errors says which), or an installment the contract does not have ("reason": "installment_not_found"). Nothing is written |
500 | unexpected failure: resend the same payment (no duplicate) |
{
"success": false,
"message": "This contract has no installment 7.",
"errors": { "installment_number": ["This contract has no installment 7."] },
"reason": "installment_not_found"
}
Was this page helpful?