Report a collected repayment
Report a repayment the partner collected for an agreement — settles it against the agreement. Requires partner-managed collections; never report this money in the transaction feed.
Path Parameters
- Type: string Format: uuididrequired
Body
required
application/json
- Type: integeramountgreater than:0min:-9007199254740991max:9007199254740991required
Integer numbers.
- enumcurrencyrequiredvalues
- C
A D - U
S D
- Type: stringexternal
Id min length:1max length:255required
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/financing-agreements/{id}/payments
curl https://api-sandbox.tryslatehq.com/financing-agreements/123e4567-e89b-12d3-a456-426614174000/payments \
--request POST \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_SECRET_TOKEN' \
--data '{
"amount": -9007199254740991,
"currency": "CAD",
"externalId": ""
}'
{
"financingAgreementId": "123e4567-e89b-12d3-a456-426614174000",
"paymentId": "123e4567-e89b-12d3-a456-426614174000",
"customerId": "123e4567-e89b-12d3-a456-426614174000",
"amount": 10000,
"currency": "CAD",
"executedAt": "2025-01-01T00:00:00Z"
}