{"slug":"rechen-halowerk-com-v1-payment-allocation-938ce2","title":"Allocate a payment to several debts under §§ 366, 367 BGB","host":"rechen.halowerk.com","method":"POST","resource":"https://rechen.halowerk.com/v1/payment-allocation","category":"other","description":"Allocate a payment to several debts under §§ 366, 367 BGB: debtor designation, else due first, least security, most burdensome, oldest, then pro rata; inside each debt costs, interest, principal.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1196,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"debts":[{"costs":10,"id":"D1","interest":20,"principal":200,"security_rank":0},{"costs":5,"id":"D2","interest":15,"principal":100,"security_rank":2}],"payment_amount":300},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"debts":{"items":{"additionalProperties":false,"properties":{"burden_rank":{"default":0,"maximum":100,"minimum":0,"type":"integer"},"consumer_credit":{"default":false,"type":"boolean"},"costs":{"default":0,"maximum":1000000000000,"minimum":0,"type":"number"},"created":{"format":"date","type":"string"},"due":{"type":"boolean"},"due_date":{"format":"date","type":"string"},"id":{"maxLength":64,"minLength":1,"type":"string"},"interest":{"default":0,"maximum":1000000000000,"minimum":0,"type":"number"},"principal":{"maximum":1000000000000,"minimum":0,"type":"number"},"real_estate_consumer_loan":{"default":false,"type":"boolean"},"security_rank":{"default":0,"maximum":100,"minimum":0,"type":"integer"}},"required":["id","principal"],"type":"object"},"maxItems":100,"minItems":1,"type":"array"},"designation":{"items":{"maxLength":64,"type":"string"},"maxItems":100,"type":"array"},"payment_amount":{"exclusiveMinimum":0,"maximum":1000000000000,"type":"number"},"payment_date":{"format":"date","type":"string"}},"required":["payment_amount","debts"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1219,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1196,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1328,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1205,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1168,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1155,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1174,"error":null}],"description_full":"Allocate a payment to several debts under §§ 366, 367 BGB: debtor designation, else due first, least security, most burdensome, oldest, then pro rata; inside each debt costs, interest, principal.","last_updated":"2026-11-21T03:17:26.376Z","schemes":["exact"]}