# Attach account to business trade credit line Attaches a business account to the trade credit line for the business specified in the request URL. Endpoint: PATCH /v1/businesses/{business_id}/trade_credit_line Version: 1.0 ## Path parameters: - `business_id` (string, required) Business ID ## Request fields (application/json): - `account_id` (string, required) ID of the account Example: "7751af565f994450831a15ff8b7d0d8ccacc" ## Response 200 fields (application/json): - `requested_credit_line` (object) Example: {"value":1000,"unit":"cents","currency":"EUR"} - `requested_credit_line.value` (integer, required) The amount value Example: 1000 - `requested_credit_line.currency` (string, required) The currency of the given value Enum: "EUR" - `requested_credit_line.unit` (string, required) The unit of the given value Enum: "cents" - `nominal_interest_rate` (number) - `business_id` (string) - `account_id` (string) ## 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 403 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 ## Response 404 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 ## 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