# Terminate a freelancer overdraft Terminates a freelancer overdraft. This operation is only possible if the account balance is positive. Endpoint: POST /v1/persons/{person_id}/overdrafts/{overdraft_id}/terminate Version: 1.0 ## Path parameters: - `person_id` (string, required) The unique person ID, generated after completing the person onboarding process. - `overdraft_id` (string, required) The unique ID of a freelancer overdraft. ## Response 202 fields (application/json): - `id` (string, required) The unique ID of a freelancer overdraft, generated after an overdraft is offered. Example: "00556cd181f2409aaa6c2a033cce3a8fcovd" - `person_id` (string, required) The unique person ID, generated after completing the person onboarding process. Example: "dc1a6812a14f6cc338cd084208535bcdcper" - `status` (string, required) The status of an overdraft offered to a freelancer. Enum: "created", "interest_conditions_set", "limit_set", "terminated" - `created_at` (string, required) The date and time the overdraft was created. Example: "2021-08-03T18:01:48.000Z" - `interest_accrued` (any, required) The daily interest accrued by a freelancer account. - `overdraft_rate` (number) The interest rate applicable to the overdraft. Example: 9 - `limit` (object,null) Example: {"value":1000,"unit":"cents","currency":"EUR"} - `limit.value` (integer, required) The amount value Example: 1000 - `limit.currency` (string, required) The currency of the given value. Only EURO is currently supported. Example: "EUR" - `limit.unit` (string, required) The unit of the given value. Enum: "cents" - `interest_conditions_enabled` (boolean) - `interest_accrual_rate` (number) The daily rate at which interest is accrued on the used amount of an overdraft. Example: 3 - `account_id` (string,null) The unique ID of a customer's bank account. Example: "575189c6eb825b10b9d0392fcb3bf61dcacc" ## Response 400 fields (application/json): - `title` (string) Example: "Failed to build pagination headers." - `status` (string) Example: "400" - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `detail` (string) Example: "Cannot connect to database." - `code` (string) Example: "build_pagination_headers_failure" ## Response 404 fields (application/json): - `title` (string) Example: "Model Not Found" - `status` (string) Example: "404" - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `detail` (string) Example: "Couldn't find 'Account' for id 'DE24112233445566'." - `code` (string) Example: "model_not_found" ## Response 409 fields (application/json): - `errors` (array, required) - `errors.id` (string, required) A UUID, preferably the request ID - `errors.status` (integer, required) The HTTP status - `errors.code` (string, required) some_computer_friendly_string - `errors.title` (string, required) Some short human friendly string - `errors.detail` (string, required) Some human friendly-ish detail: field is required - `errors.source` (object,null) Optional computer-friendly error source description Example: {"message":"is_required","field":"name"} - `errors.source.field` (string, required) Example: "name" - `errors.source.message` (string, required) Example: "is_required" - `errors.backtrace` (array,null) Optional array of backtrace lines