Nibo Empresas API

API change history

H - Atualiza conta bancária

H - Atualiza conta bancária

Try it

Solicitação

Solicitar URL

Parâmetros de solicitação

  • string

    Format - uuid.

  • (opcional)
    string

Cabeçalhos de solicitação

  • (opcional)
    string
    Tipo de mídia do corpo enviado para a API.

Corpo da solicitação

{
  "accountId": "string",
  "bankId": "string",
  "name": "string",
  "openBalance": 0.0,
  "dateOfOpenBalance": "string",
  "bankAgency": "string",
  "bankAccount": "string",
  "bankAccountVerificationNumber": 0,
  "type": "string",
  "virtualAccountDetails": {
    "exibitionName": "string",
    "cpfCnpj": "string",
    "name": "string",
    "businessDescription": "string",
    "responsibleName": "string",
    "responsibleCpf": "string",
    "phone": "string",
    "address": {
      "isValid": true,
      "address": "string",
      "city": "string",
      "state": "string",
      "cep": "string"
    },
    "accountToTransfer": {
      "type": "string",
      "bank": "string",
      "agency": "string",
      "number": "string",
      "accountWithDrawId": "string"
    },
    "configuration": {
      "bankSlip": {
        "enableFines": true,
        "enableInterestPerDay": true,
        "latePaymentFinePercent": 0.0
      },
      "tax": {
        "stakeholderId": "string",
        "categoryId": "string"
      }
    }
  }
}
{
  "type": "object",
  "properties": {
    "accountId": {
      "format": "uuid",
      "type": "string"
    },
    "bankId": {
      "format": "uuid",
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "openBalance": {
      "format": "double",
      "type": "number"
    },
    "dateOfOpenBalance": {
      "format": "date-time",
      "type": "string"
    },
    "bankAgency": {
      "type": "string"
    },
    "bankAccount": {
      "type": "string"
    },
    "bankAccountVerificationNumber": {
      "format": "int32",
      "type": "integer"
    },
    "type": {
      "type": "string"
    },
    "virtualAccountDetails": {
      "type": "object",
      "properties": {
        "exibitionName": {
          "type": "string"
        },
        "cpfCnpj": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "businessDescription": {
          "type": "string"
        },
        "responsibleName": {
          "type": "string"
        },
        "responsibleCpf": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        },
        "address": {
          "type": "object",
          "properties": {
            "isValid": {
              "type": "boolean",
              "readOnly": true
            },
            "address": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "cep": {
              "type": "string"
            }
          }
        },
        "accountToTransfer": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "bank": {
              "type": "string"
            },
            "agency": {
              "type": "string"
            },
            "number": {
              "type": "string"
            },
            "accountWithDrawId": {
              "format": "uuid",
              "type": "string"
            }
          }
        },
        "configuration": {
          "type": "object",
          "properties": {
            "bankSlip": {
              "type": "object",
              "properties": {
                "enableFines": {
                  "type": "boolean"
                },
                "enableInterestPerDay": {
                  "type": "boolean"
                },
                "latePaymentFinePercent": {
                  "format": "double",
                  "type": "number"
                }
              }
            },
            "tax": {
              "type": "object",
              "properties": {
                "stakeholderId": {
                  "format": "uuid",
                  "type": "string"
                },
                "categoryId": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "example": "{\r\n  \"accountId\": \"string\",\r\n  \"bankId\": \"string\",\r\n  \"name\": \"string\",\r\n  \"openBalance\": 0.0,\r\n  \"dateOfOpenBalance\": \"string\",\r\n  \"bankAgency\": \"string\",\r\n  \"bankAccount\": \"string\",\r\n  \"bankAccountVerificationNumber\": 0,\r\n  \"type\": \"string\",\r\n  \"virtualAccountDetails\": {\r\n    \"exibitionName\": \"string\",\r\n    \"cpfCnpj\": \"string\",\r\n    \"name\": \"string\",\r\n    \"businessDescription\": \"string\",\r\n    \"responsibleName\": \"string\",\r\n    \"responsibleCpf\": \"string\",\r\n    \"phone\": \"string\",\r\n    \"address\": {\r\n      \"isValid\": true,\r\n      \"address\": \"string\",\r\n      \"city\": \"string\",\r\n      \"state\": \"string\",\r\n      \"cep\": \"string\"\r\n    },\r\n    \"accountToTransfer\": {\r\n      \"type\": \"string\",\r\n      \"bank\": \"string\",\r\n      \"agency\": \"string\",\r\n      \"number\": \"string\",\r\n      \"accountWithDrawId\": \"string\"\r\n    },\r\n    \"configuration\": {\r\n      \"bankSlip\": {\r\n        \"enableFines\": true,\r\n        \"enableInterestPerDay\": true,\r\n        \"latePaymentFinePercent\": 0.0\r\n      },\r\n      \"tax\": {\r\n        \"stakeholderId\": \"string\",\r\n        \"categoryId\": \"string\"\r\n      }\r\n    }\r\n  }\r\n}"
}
{
  "accountId": "string",
  "bankId": "string",
  "name": "string",
  "openBalance": 0.0,
  "dateOfOpenBalance": "string",
  "bankAgency": "string",
  "bankAccount": "string",
  "bankAccountVerificationNumber": 0,
  "type": "string",
  "virtualAccountDetails": {
    "exibitionName": "string",
    "cpfCnpj": "string",
    "name": "string",
    "businessDescription": "string",
    "responsibleName": "string",
    "responsibleCpf": "string",
    "phone": "string",
    "address": {
      "isValid": true,
      "address": "string",
      "city": "string",
      "state": "string",
      "cep": "string"
    },
    "accountToTransfer": {
      "type": "string",
      "bank": "string",
      "agency": "string",
      "number": "string",
      "accountWithDrawId": "string"
    },
    "configuration": {
      "bankSlip": {
        "enableFines": true,
        "enableInterestPerDay": true,
        "latePaymentFinePercent": 0.0
      },
      "tax": {
        "stakeholderId": "string",
        "categoryId": "string"
      }
    }
  }
}
{
  "type": "object",
  "properties": {
    "accountId": {
      "format": "uuid",
      "type": "string"
    },
    "bankId": {
      "format": "uuid",
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "openBalance": {
      "format": "double",
      "type": "number"
    },
    "dateOfOpenBalance": {
      "format": "date-time",
      "type": "string"
    },
    "bankAgency": {
      "type": "string"
    },
    "bankAccount": {
      "type": "string"
    },
    "bankAccountVerificationNumber": {
      "format": "int32",
      "type": "integer"
    },
    "type": {
      "type": "string"
    },
    "virtualAccountDetails": {
      "type": "object",
      "properties": {
        "exibitionName": {
          "type": "string"
        },
        "cpfCnpj": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "businessDescription": {
          "type": "string"
        },
        "responsibleName": {
          "type": "string"
        },
        "responsibleCpf": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        },
        "address": {
          "type": "object",
          "properties": {
            "isValid": {
              "type": "boolean",
              "readOnly": true
            },
            "address": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "cep": {
              "type": "string"
            }
          }
        },
        "accountToTransfer": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "bank": {
              "type": "string"
            },
            "agency": {
              "type": "string"
            },
            "number": {
              "type": "string"
            },
            "accountWithDrawId": {
              "format": "uuid",
              "type": "string"
            }
          }
        },
        "configuration": {
          "type": "object",
          "properties": {
            "bankSlip": {
              "type": "object",
              "properties": {
                "enableFines": {
                  "type": "boolean"
                },
                "enableInterestPerDay": {
                  "type": "boolean"
                },
                "latePaymentFinePercent": {
                  "format": "double",
                  "type": "number"
                }
              }
            },
            "tax": {
              "type": "object",
              "properties": {
                "stakeholderId": {
                  "format": "uuid",
                  "type": "string"
                },
                "categoryId": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "example": "{\r\n  \"accountId\": \"string\",\r\n  \"bankId\": \"string\",\r\n  \"name\": \"string\",\r\n  \"openBalance\": 0.0,\r\n  \"dateOfOpenBalance\": \"string\",\r\n  \"bankAgency\": \"string\",\r\n  \"bankAccount\": \"string\",\r\n  \"bankAccountVerificationNumber\": 0,\r\n  \"type\": \"string\",\r\n  \"virtualAccountDetails\": {\r\n    \"exibitionName\": \"string\",\r\n    \"cpfCnpj\": \"string\",\r\n    \"name\": \"string\",\r\n    \"businessDescription\": \"string\",\r\n    \"responsibleName\": \"string\",\r\n    \"responsibleCpf\": \"string\",\r\n    \"phone\": \"string\",\r\n    \"address\": {\r\n      \"isValid\": true,\r\n      \"address\": \"string\",\r\n      \"city\": \"string\",\r\n      \"state\": \"string\",\r\n      \"cep\": \"string\"\r\n    },\r\n    \"accountToTransfer\": {\r\n      \"type\": \"string\",\r\n      \"bank\": \"string\",\r\n      \"agency\": \"string\",\r\n      \"number\": \"string\",\r\n      \"accountWithDrawId\": \"string\"\r\n    },\r\n    \"configuration\": {\r\n      \"bankSlip\": {\r\n        \"enableFines\": true,\r\n        \"enableInterestPerDay\": true,\r\n        \"latePaymentFinePercent\": 0.0\r\n      },\r\n      \"tax\": {\r\n        \"stakeholderId\": \"string\",\r\n        \"categoryId\": \"string\"\r\n      }\r\n    }\r\n  }\r\n}"
}
{
  "accountId": "string",
  "bankId": "string",
  "name": "string",
  "openBalance": 0.0,
  "dateOfOpenBalance": "string",
  "bankAgency": "string",
  "bankAccount": "string",
  "bankAccountVerificationNumber": 0,
  "type": "string",
  "virtualAccountDetails": {
    "exibitionName": "string",
    "cpfCnpj": "string",
    "name": "string",
    "businessDescription": "string",
    "responsibleName": "string",
    "responsibleCpf": "string",
    "phone": "string",
    "address": {
      "isValid": true,
      "address": "string",
      "city": "string",
      "state": "string",
      "cep": "string"
    },
    "accountToTransfer": {
      "type": "string",
      "bank": "string",
      "agency": "string",
      "number": "string",
      "accountWithDrawId": "string"
    },
    "configuration": {
      "bankSlip": {
        "enableFines": true,
        "enableInterestPerDay": true,
        "latePaymentFinePercent": 0.0
      },
      "tax": {
        "stakeholderId": "string",
        "categoryId": "string"
      }
    }
  }
}
{
  "type": "object",
  "properties": {
    "accountId": {
      "format": "uuid",
      "type": "string"
    },
    "bankId": {
      "format": "uuid",
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "openBalance": {
      "format": "double",
      "type": "number"
    },
    "dateOfOpenBalance": {
      "format": "date-time",
      "type": "string"
    },
    "bankAgency": {
      "type": "string"
    },
    "bankAccount": {
      "type": "string"
    },
    "bankAccountVerificationNumber": {
      "format": "int32",
      "type": "integer"
    },
    "type": {
      "type": "string"
    },
    "virtualAccountDetails": {
      "type": "object",
      "properties": {
        "exibitionName": {
          "type": "string"
        },
        "cpfCnpj": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "businessDescription": {
          "type": "string"
        },
        "responsibleName": {
          "type": "string"
        },
        "responsibleCpf": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        },
        "address": {
          "type": "object",
          "properties": {
            "isValid": {
              "type": "boolean",
              "readOnly": true
            },
            "address": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "cep": {
              "type": "string"
            }
          }
        },
        "accountToTransfer": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "bank": {
              "type": "string"
            },
            "agency": {
              "type": "string"
            },
            "number": {
              "type": "string"
            },
            "accountWithDrawId": {
              "format": "uuid",
              "type": "string"
            }
          }
        },
        "configuration": {
          "type": "object",
          "properties": {
            "bankSlip": {
              "type": "object",
              "properties": {
                "enableFines": {
                  "type": "boolean"
                },
                "enableInterestPerDay": {
                  "type": "boolean"
                },
                "latePaymentFinePercent": {
                  "format": "double",
                  "type": "number"
                }
              }
            },
            "tax": {
              "type": "object",
              "properties": {
                "stakeholderId": {
                  "format": "uuid",
                  "type": "string"
                },
                "categoryId": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "example": "{\r\n  \"accountId\": \"string\",\r\n  \"bankId\": \"string\",\r\n  \"name\": \"string\",\r\n  \"openBalance\": 0.0,\r\n  \"dateOfOpenBalance\": \"string\",\r\n  \"bankAgency\": \"string\",\r\n  \"bankAccount\": \"string\",\r\n  \"bankAccountVerificationNumber\": 0,\r\n  \"type\": \"string\",\r\n  \"virtualAccountDetails\": {\r\n    \"exibitionName\": \"string\",\r\n    \"cpfCnpj\": \"string\",\r\n    \"name\": \"string\",\r\n    \"businessDescription\": \"string\",\r\n    \"responsibleName\": \"string\",\r\n    \"responsibleCpf\": \"string\",\r\n    \"phone\": \"string\",\r\n    \"address\": {\r\n      \"isValid\": true,\r\n      \"address\": \"string\",\r\n      \"city\": \"string\",\r\n      \"state\": \"string\",\r\n      \"cep\": \"string\"\r\n    },\r\n    \"accountToTransfer\": {\r\n      \"type\": \"string\",\r\n      \"bank\": \"string\",\r\n      \"agency\": \"string\",\r\n      \"number\": \"string\",\r\n      \"accountWithDrawId\": \"string\"\r\n    },\r\n    \"configuration\": {\r\n      \"bankSlip\": {\r\n        \"enableFines\": true,\r\n        \"enableInterestPerDay\": true,\r\n        \"latePaymentFinePercent\": 0.0\r\n      },\r\n      \"tax\": {\r\n        \"stakeholderId\": \"string\",\r\n        \"categoryId\": \"string\"\r\n      }\r\n    }\r\n  }\r\n}"
}
{
  "accountId": "string",
  "bankId": "string",
  "name": "string",
  "openBalance": 0.0,
  "dateOfOpenBalance": "string",
  "bankAgency": "string",
  "bankAccount": "string",
  "bankAccountVerificationNumber": 0,
  "type": "string",
  "virtualAccountDetails": {
    "exibitionName": "string",
    "cpfCnpj": "string",
    "name": "string",
    "businessDescription": "string",
    "responsibleName": "string",
    "responsibleCpf": "string",
    "phone": "string",
    "address": {
      "isValid": true,
      "address": "string",
      "city": "string",
      "state": "string",
      "cep": "string"
    },
    "accountToTransfer": {
      "type": "string",
      "bank": "string",
      "agency": "string",
      "number": "string",
      "accountWithDrawId": "string"
    },
    "configuration": {
      "bankSlip": {
        "enableFines": true,
        "enableInterestPerDay": true,
        "latePaymentFinePercent": 0.0
      },
      "tax": {
        "stakeholderId": "string",
        "categoryId": "string"
      }
    }
  }
}
{
  "type": "object",
  "properties": {
    "accountId": {
      "format": "uuid",
      "type": "string"
    },
    "bankId": {
      "format": "uuid",
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "openBalance": {
      "format": "double",
      "type": "number"
    },
    "dateOfOpenBalance": {
      "format": "date-time",
      "type": "string"
    },
    "bankAgency": {
      "type": "string"
    },
    "bankAccount": {
      "type": "string"
    },
    "bankAccountVerificationNumber": {
      "format": "int32",
      "type": "integer"
    },
    "type": {
      "type": "string"
    },
    "virtualAccountDetails": {
      "type": "object",
      "properties": {
        "exibitionName": {
          "type": "string"
        },
        "cpfCnpj": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "businessDescription": {
          "type": "string"
        },
        "responsibleName": {
          "type": "string"
        },
        "responsibleCpf": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        },
        "address": {
          "type": "object",
          "properties": {
            "isValid": {
              "type": "boolean",
              "readOnly": true
            },
            "address": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "cep": {
              "type": "string"
            }
          }
        },
        "accountToTransfer": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "bank": {
              "type": "string"
            },
            "agency": {
              "type": "string"
            },
            "number": {
              "type": "string"
            },
            "accountWithDrawId": {
              "format": "uuid",
              "type": "string"
            }
          }
        },
        "configuration": {
          "type": "object",
          "properties": {
            "bankSlip": {
              "type": "object",
              "properties": {
                "enableFines": {
                  "type": "boolean"
                },
                "enableInterestPerDay": {
                  "type": "boolean"
                },
                "latePaymentFinePercent": {
                  "format": "double",
                  "type": "number"
                }
              }
            },
            "tax": {
              "type": "object",
              "properties": {
                "stakeholderId": {
                  "format": "uuid",
                  "type": "string"
                },
                "categoryId": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "example": "{\r\n  \"accountId\": \"string\",\r\n  \"bankId\": \"string\",\r\n  \"name\": \"string\",\r\n  \"openBalance\": 0.0,\r\n  \"dateOfOpenBalance\": \"string\",\r\n  \"bankAgency\": \"string\",\r\n  \"bankAccount\": \"string\",\r\n  \"bankAccountVerificationNumber\": 0,\r\n  \"type\": \"string\",\r\n  \"virtualAccountDetails\": {\r\n    \"exibitionName\": \"string\",\r\n    \"cpfCnpj\": \"string\",\r\n    \"name\": \"string\",\r\n    \"businessDescription\": \"string\",\r\n    \"responsibleName\": \"string\",\r\n    \"responsibleCpf\": \"string\",\r\n    \"phone\": \"string\",\r\n    \"address\": {\r\n      \"isValid\": true,\r\n      \"address\": \"string\",\r\n      \"city\": \"string\",\r\n      \"state\": \"string\",\r\n      \"cep\": \"string\"\r\n    },\r\n    \"accountToTransfer\": {\r\n      \"type\": \"string\",\r\n      \"bank\": \"string\",\r\n      \"agency\": \"string\",\r\n      \"number\": \"string\",\r\n      \"accountWithDrawId\": \"string\"\r\n    },\r\n    \"configuration\": {\r\n      \"bankSlip\": {\r\n        \"enableFines\": true,\r\n        \"enableInterestPerDay\": true,\r\n        \"latePaymentFinePercent\": 0.0\r\n      },\r\n      \"tax\": {\r\n        \"stakeholderId\": \"string\",\r\n        \"categoryId\": \"string\"\r\n      }\r\n    }\r\n  }\r\n}"
}
{
  "accountId": "string",
  "bankId": "string",
  "name": "string",
  "openBalance": 0.0,
  "dateOfOpenBalance": "string",
  "bankAgency": "string",
  "bankAccount": "string",
  "bankAccountVerificationNumber": 0,
  "type": "string",
  "virtualAccountDetails": {
    "exibitionName": "string",
    "cpfCnpj": "string",
    "name": "string",
    "businessDescription": "string",
    "responsibleName": "string",
    "responsibleCpf": "string",
    "phone": "string",
    "address": {
      "isValid": true,
      "address": "string",
      "city": "string",
      "state": "string",
      "cep": "string"
    },
    "accountToTransfer": {
      "type": "string",
      "bank": "string",
      "agency": "string",
      "number": "string",
      "accountWithDrawId": "string"
    },
    "configuration": {
      "bankSlip": {
        "enableFines": true,
        "enableInterestPerDay": true,
        "latePaymentFinePercent": 0.0
      },
      "tax": {
        "stakeholderId": "string",
        "categoryId": "string"
      }
    }
  }
}
{
  "type": "object",
  "properties": {
    "accountId": {
      "format": "uuid",
      "type": "string"
    },
    "bankId": {
      "format": "uuid",
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "openBalance": {
      "format": "double",
      "type": "number"
    },
    "dateOfOpenBalance": {
      "format": "date-time",
      "type": "string"
    },
    "bankAgency": {
      "type": "string"
    },
    "bankAccount": {
      "type": "string"
    },
    "bankAccountVerificationNumber": {
      "format": "int32",
      "type": "integer"
    },
    "type": {
      "type": "string"
    },
    "virtualAccountDetails": {
      "type": "object",
      "properties": {
        "exibitionName": {
          "type": "string"
        },
        "cpfCnpj": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "businessDescription": {
          "type": "string"
        },
        "responsibleName": {
          "type": "string"
        },
        "responsibleCpf": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        },
        "address": {
          "type": "object",
          "properties": {
            "isValid": {
              "type": "boolean",
              "readOnly": true
            },
            "address": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "cep": {
              "type": "string"
            }
          }
        },
        "accountToTransfer": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "bank": {
              "type": "string"
            },
            "agency": {
              "type": "string"
            },
            "number": {
              "type": "string"
            },
            "accountWithDrawId": {
              "format": "uuid",
              "type": "string"
            }
          }
        },
        "configuration": {
          "type": "object",
          "properties": {
            "bankSlip": {
              "type": "object",
              "properties": {
                "enableFines": {
                  "type": "boolean"
                },
                "enableInterestPerDay": {
                  "type": "boolean"
                },
                "latePaymentFinePercent": {
                  "format": "double",
                  "type": "number"
                }
              }
            },
            "tax": {
              "type": "object",
              "properties": {
                "stakeholderId": {
                  "format": "uuid",
                  "type": "string"
                },
                "categoryId": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "example": "{\r\n  \"accountId\": \"string\",\r\n  \"bankId\": \"string\",\r\n  \"name\": \"string\",\r\n  \"openBalance\": 0.0,\r\n  \"dateOfOpenBalance\": \"string\",\r\n  \"bankAgency\": \"string\",\r\n  \"bankAccount\": \"string\",\r\n  \"bankAccountVerificationNumber\": 0,\r\n  \"type\": \"string\",\r\n  \"virtualAccountDetails\": {\r\n    \"exibitionName\": \"string\",\r\n    \"cpfCnpj\": \"string\",\r\n    \"name\": \"string\",\r\n    \"businessDescription\": \"string\",\r\n    \"responsibleName\": \"string\",\r\n    \"responsibleCpf\": \"string\",\r\n    \"phone\": \"string\",\r\n    \"address\": {\r\n      \"isValid\": true,\r\n      \"address\": \"string\",\r\n      \"city\": \"string\",\r\n      \"state\": \"string\",\r\n      \"cep\": \"string\"\r\n    },\r\n    \"accountToTransfer\": {\r\n      \"type\": \"string\",\r\n      \"bank\": \"string\",\r\n      \"agency\": \"string\",\r\n      \"number\": \"string\",\r\n      \"accountWithDrawId\": \"string\"\r\n    },\r\n    \"configuration\": {\r\n      \"bankSlip\": {\r\n        \"enableFines\": true,\r\n        \"enableInterestPerDay\": true,\r\n        \"latePaymentFinePercent\": 0.0\r\n      },\r\n      \"tax\": {\r\n        \"stakeholderId\": \"string\",\r\n        \"categoryId\": \"string\"\r\n      }\r\n    }\r\n  }\r\n}"
}

Respostas

204 No Content

No Content

Exemplos de código

@ECHO OFF

curl -v -X PUT "https://api.nibo.com.br/empresas/v1/accounts/{AccountId}?Organization={string}"
-H "Content-Type: application/json"

--data-ascii "{body}" 
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;

namespace CSHttpClientSample
{
    static class Program
    {
        static void Main()
        {
            MakeRequest();
            Console.WriteLine("Hit ENTER to exit...");
            Console.ReadLine();
        }
        
        static async void MakeRequest()
        {
            var client = new HttpClient();
            var queryString = HttpUtility.ParseQueryString(string.Empty);

            // Request headers

            // Request parameters
            queryString["Organization"] = "{string}";
            var uri = "https://api.nibo.com.br/empresas/v1/accounts/{AccountId}?" + queryString;

            HttpResponseMessage response;

            // Request body
            byte[] byteData = Encoding.UTF8.GetBytes("{body}");

            using (var content = new ByteArrayContent(byteData))
            {
                content.Headers.ContentType = new MediaTypeHeaderValue("< your content type, i.e. application/json >");
                response = await client.PutAsync(uri, content);
            }
        }
    }
}	
// // This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;

public class JavaSample 
{
    public static void main(String[] args) 
    {
        HttpClient httpclient = HttpClients.createDefault();

        try
        {
            URIBuilder builder = new URIBuilder("https://api.nibo.com.br/empresas/v1/accounts/{AccountId}");

            builder.setParameter("Organization", "{string}");

            URI uri = builder.build();
            HttpPut request = new HttpPut(uri);
            request.setHeader("Content-Type", "application/json");


            // Request body
            StringEntity reqEntity = new StringEntity("{body}");
            request.setEntity(reqEntity);

            HttpResponse response = httpclient.execute(request);
            HttpEntity entity = response.getEntity();

            if (entity != null) 
            {
                System.out.println(EntityUtils.toString(entity));
            }
        }
        catch (Exception e)
        {
            System.out.println(e.getMessage());
        }
    }
}

<!DOCTYPE html>
<html>
<head>
    <title>JSSample</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>

<script type="text/javascript">
    $(function() {
        var params = {
            // Request parameters
            "Organization": "{string}",
        };
      
        $.ajax({
            url: "https://api.nibo.com.br/empresas/v1/accounts/{AccountId}?" + $.param(params),
            beforeSend: function(xhrObj){
                // Request headers
                xhrObj.setRequestHeader("Content-Type","application/json");
            },
            type: "PUT",
            // Request body
            data: "{body}",
        })
        .done(function(data) {
            alert("success");
        })
        .fail(function() {
            alert("error");
        });
    });
</script>
</body>
</html>
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
    NSString* path = @"https://api.nibo.com.br/empresas/v1/accounts/{AccountId}";
    NSArray* array = @[
                         // Request parameters
                         @"entities=true",
                         @"Organization={string}",
                      ];
    
    NSString* string = [array componentsJoinedByString:@"&"];
    path = [path stringByAppendingFormat:@"?%@", string];

    NSLog(@"%@", path);

    NSMutableURLRequest* _request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:path]];
    [_request setHTTPMethod:@"PUT"];
    // Request headers
    [_request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
    // Request body
    [_request setHTTPBody:[@"{body}" dataUsingEncoding:NSUTF8StringEncoding]];
    
    NSURLResponse *response = nil;
    NSError *error = nil;
    NSData* _connectionData = [NSURLConnection sendSynchronousRequest:_request returningResponse:&response error:&error];

    if (nil != error)
    {
        NSLog(@"Error: %@", error);
    }
    else
    {
        NSError* error = nil;
        NSMutableDictionary* json = nil;
        NSString* dataString = [[NSString alloc] initWithData:_connectionData encoding:NSUTF8StringEncoding];
        NSLog(@"%@", dataString);
        
        if (nil != _connectionData)
        {
            json = [NSJSONSerialization JSONObjectWithData:_connectionData options:NSJSONReadingMutableContainers error:&error];
        }
        
        if (error || !json)
        {
            NSLog(@"Could not parse loaded json with error:%@", error);
        }
        
        NSLog(@"%@", json);
        _connectionData = nil;
    }
    
    [pool drain];

    return 0;
}
<?php
// This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
require_once 'HTTP/Request2.php';

$request = new Http_Request2('https://api.nibo.com.br/empresas/v1/accounts/{AccountId}');
$url = $request->getUrl();

$headers = array(
    // Request headers
    'Content-Type' => 'application/json',
);

$request->setHeader($headers);

$parameters = array(
    // Request parameters
    'Organization' => '{string}',
);

$url->setQueryVariables($parameters);

$request->setMethod(HTTP_Request2::METHOD_PUT);

// Request body
$request->setBody("{body}");

try
{
    $response = $request->send();
    echo $response->getBody();
}
catch (HttpException $ex)
{
    echo $ex;
}

?>
########### Python 2.7 #############
import httplib, urllib, base64

headers = {
    # Request headers
    'Content-Type': 'application/json',
}

params = urllib.urlencode({
    # Request parameters
    'Organization': '{string}',
})

try:
    conn = httplib.HTTPSConnection('api.nibo.com.br')
    conn.request("PUT", "/empresas/v1/accounts/{AccountId}?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################

########### Python 3.2 #############
import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
    # Request headers
    'Content-Type': 'application/json',
}

params = urllib.parse.urlencode({
    # Request parameters
    'Organization': '{string}',
})

try:
    conn = http.client.HTTPSConnection('api.nibo.com.br')
    conn.request("PUT", "/empresas/v1/accounts/{AccountId}?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################
require 'net/http'

uri = URI('https://api.nibo.com.br/empresas/v1/accounts/{AccountId}')

query = URI.encode_www_form({
    # Request parameters
    'Organization' => '{string}'
})
if query.length > 0
  if uri.query && uri.query.length > 0
    uri.query += '&' + query
  else
    uri.query = query
  end
end

request = Net::HTTP::Put.new(uri.request_uri)
# Request headers
request['Content-Type'] = 'application/json'
# Request body
request.body = "{body}"

response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
    http.request(request)
end

puts response.body