5 - Webhooks

5.1 UpdateCollectionOrderStatus

Collection Order webhooks will match the CollectionOrderType that was programmed in the GenerateCollectionOrder method: CollectionOrderType: PixQrCodeDinamicDueDate = 0, Boleto = 1, BoletoPixQrCode=2, PixQrCodeDinamic=3

As described below:

The CollectionOrderWebhook for Collection Orders generated with CollectionOrderType: PixQrCodeDinamicDueDate = 0 or PixQrCodeDinamic=3:

Collection Order webhook status Created

{
  "CollectionOrder": {
    "QRCode": {
      "HashCode": null,
      "Image": null   
    },
    "DocumentNumber": "1459",
    "Status": "0",
    "StatusDescription": "Created",
    "TaxNumber": "54694623079",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null 
  },
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 1321
}

Collection order webhook status PreAuthorized

{
  "CollectionOrder": {
    "QRCode": {
      "HashCode": "MDAwMjAxMDEwMjEyMjY4MDAwMTRici5nb3YuYmNiLnBpeDI1NThxcmNvZGUtaC5maXRiYW5rLmNvbS5ici9RUi9jb2J2LzIyREZDNUM5OEU5NUYzN0Q1REM0NzBBMzBENTIwNDAwMDA1MzAzOTg2NTgwMkJSNTkwN1NhYnJpbmE2MDA5c2FvIHBhdWxvNjEwODYzNDQ0NDQ0NjIwNzA1MDMqKio2MzA0MDJFMA",
      "Image": "iVBORw0KGgoAAAANSUhEUgAAARQAAAEUAQAAAADCC/TUAAADgUlEQVR4nO2aUU7DQAxEfQPf/5a+gfG82aQFgfhzflpQqyYvaLP2zo4dov99VXyYD/M3ExGZnVVROe85h6rnfb7q1DqT81v+mLMZOlND5VyiY+vMDLl6jmr4NYOctyFm0KlTjzCDpGZuzumruMx8jokYQiNtBViBJreeYYTpY4KoMAotzWf2t7hvMeT876/v62KJ4ZVOeH2Q8JP5XT90Y4kprbk5I4Y7EK7FqEk9c7jJEEXGqh9WH2qgO6ncZ8JrsKSXxcxJo+ZO5gBLc5vRiegjlB1ehjN6XfIAo1OaPCWX5BONas0lurnOpEUB4eas0ky8tWKdYa9l6Sm0imnCQ133tcoQV+X3RFMHJeFJhCWe24z3tRYV6e9V5vL6G5uMll0R15QyFeN1WDXkfUYhlTeSBOgK5ZiiiZLmOqO1j0RprBq08gwDgI6vM4ql3vL4NQaLuY1bEzYZjVKjs5xrRk80q8m5bUY7vnIqnVH6iqdNX7zOSKQ0e9ppmTjug4vj0sxNhg2NTS09/LxSS5YpH2CsS4rgsdqwp1ZaZ+yFwuokHbB0SyTQrm3mckTZnjuLAeagbk1YZBp7xk5rT1uXJ3G1vc7gZ2WTTgkbyChl5L3nbjJ1TBoqkAgEXhvLlPuMxmxbFB6ncs36dOvGKhO2smfD5TyC9R7TPUZ+9th9KbczDgfpzsg2o0EzWfgiqkWHVDL1qqnXGCUYNqSPdfMCLG+ADzDssul5dI1W3nqln73O9FlwdW3AxDHdVat9Ju1i7dsSd601cA7nOlPUhzaStD703T67svaZvlwaTUaMCMIVF7jOBLWqjRIbP83qpo21zwRlkTqKSVQTa037I+4e0SKT7r1oD0lUyZ1YXEH1A4w7wH0M7KnY2vY29hk3ZK5CyGaW9dhue24z9KKLFhVVqzRLoumKMdeZ0+pwy5Xc96ZHWO/72mP8exyJO9RF2VavZwqbjJ9pRHnB3TWRPuMa8ybTlkaaRaS8rFrRyHrl/CITbLeWhHbZ6AcuHO595rQ/bAB4ABNseBp77DNsaDxPYPd3rltL3zz/HmNn73Zw2cpisvPY2m0m7zYI2dUUsS4c++WjFhk/0lDmn6fgQRuWaiSeYWiX0RFOdz2V7C5jH2Hi2DR3zVmGSYn0BNPu4rMUkYK+ejLRvc/4wa77r/5/ASoh7bn1/lx4i/nv9WE+zJ/MFybWL7tG2MRBAAAAAElFTkSuQmCC"
    },
    "DocumentNumber": "1459",
    "Status": "1",
    "StatusDescription": "PreAuthorized",
    "TaxNumber": "54694623079",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null 
  },
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 1321
}

Collection order webhook status Authorized

{
  "CollectionOrder": {
    "QRCode": {
      "HashCode": "MDAwMjAxMDEwMjEyMjY4MDAwMTRici5nb3YuYmNiLnBpeDI1NThxcmNvZGUtaC5maXRiYW5rLmNvbS5ici9RUi9jb2J2LzIyREZDNUM5OEU5NUYzN0Q1REM0NzBBMzBENTIwNDAwMDA1MzAzOTg2NTgwMkJSNTkwN1NhYnJpbmE2MDA5c2FvIHBhdWxvNjEwODYzNDQ0NDQ0NjIwNzA1MDMqKio2MzA0MDJFMA",
      "Image": "iVBORw0KGgoAAAANSUhEUgAAARQAAAEUAQAAAADCC/TUAAADgUlEQVR4nO2aUU7DQAxEfQPf/5a+gfG82aQFgfhzflpQqyYvaLP2zo4dov99VXyYD/M3ExGZnVVROe85h6rnfb7q1DqT81v+mLMZOlND5VyiY+vMDLl6jmr4NYOctyFm0KlTjzCDpGZuzumruMx8jokYQiNtBViBJreeYYTpY4KoMAotzWf2t7hvMeT876/v62KJ4ZVOeH2Q8JP5XT90Y4kprbk5I4Y7EK7FqEk9c7jJEEXGqh9WH2qgO6ncZ8JrsKSXxcxJo+ZO5gBLc5vRiegjlB1ehjN6XfIAo1OaPCWX5BONas0lurnOpEUB4eas0ky8tWKdYa9l6Sm0imnCQ133tcoQV+X3RFMHJeFJhCWe24z3tRYV6e9V5vL6G5uMll0R15QyFeN1WDXkfUYhlTeSBOgK5ZiiiZLmOqO1j0RprBq08gwDgI6vM4ql3vL4NQaLuY1bEzYZjVKjs5xrRk80q8m5bUY7vnIqnVH6iqdNX7zOSKQ0e9ppmTjug4vj0sxNhg2NTS09/LxSS5YpH2CsS4rgsdqwp1ZaZ+yFwuokHbB0SyTQrm3mckTZnjuLAeagbk1YZBp7xk5rT1uXJ3G1vc7gZ2WTTgkbyChl5L3nbjJ1TBoqkAgEXhvLlPuMxmxbFB6ncs36dOvGKhO2smfD5TyC9R7TPUZ+9th9KbczDgfpzsg2o0EzWfgiqkWHVDL1qqnXGCUYNqSPdfMCLG+ADzDssul5dI1W3nqln73O9FlwdW3AxDHdVat9Ju1i7dsSd601cA7nOlPUhzaStD703T67svaZvlwaTUaMCMIVF7jOBLWqjRIbP83qpo21zwRlkTqKSVQTa037I+4e0SKT7r1oD0lUyZ1YXEH1A4w7wH0M7KnY2vY29hk3ZK5CyGaW9dhue24z9KKLFhVVqzRLoumKMdeZ0+pwy5Xc96ZHWO/72mP8exyJO9RF2VavZwqbjJ9pRHnB3TWRPuMa8ybTlkaaRaS8rFrRyHrl/CITbLeWhHbZ6AcuHO595rQ/bAB4ABNseBp77DNsaDxPYPd3rltL3zz/HmNn73Zw2cpisvPY2m0m7zYI2dUUsS4c++WjFhk/0lDmn6fgQRuWaiSeYWiX0RFOdz2V7C5jH2Hi2DR3zVmGSYn0BNPu4rMUkYK+ejLRvc/4wa77r/5/ASoh7bn1/lx4i/nv9WE+zJ/MFybWL7tG2MRBAAAAAElFTkSuQmCC"
    },
    "DocumentNumber": "1459",
    "Status": "3",
    "StatusDescription": "Authorized",
    "TaxNumber": "54694623079",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null 
  },
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 1321
}

Collection order webhook status Registered

{
  "CollectionOrder": {
    "QRCode": {
      "HashCode": "MDAwMjAxMDEwMjEyMjY4MDAwMTRici5nb3YuYmNiLnBpeDI1NThxcmNvZGUtaC5maXRiYW5rLmNvbS5ici9RUi9jb2J2LzIyREZDNUM5OEU5NUYzN0Q1REM0NzBBMzBENTIwNDAwMDA1MzAzOTg2NTgwMkJSNTkwN1NhYnJpbmE2MDA5c2FvIHBhdWxvNjEwODYzNDQ0NDQ0NjIwNzA1MDMqKio2MzA0MDJFMA",
      "Image": "iVBORw0KGgoAAAANSUhEUgAAARQAAAEUAQAAAADCC/TUAAADgUlEQVR4nO2aUU7DQAxEfQPf/5a+gfG82aQFgfhzflpQqyYvaLP2zo4dov99VXyYD/M3ExGZnVVROe85h6rnfb7q1DqT81v+mLMZOlND5VyiY+vMDLl6jmr4NYOctyFm0KlTjzCDpGZuzumruMx8jokYQiNtBViBJreeYYTpY4KoMAotzWf2t7hvMeT876/v62KJ4ZVOeH2Q8JP5XT90Y4kprbk5I4Y7EK7FqEk9c7jJEEXGqh9WH2qgO6ncZ8JrsKSXxcxJo+ZO5gBLc5vRiegjlB1ehjN6XfIAo1OaPCWX5BONas0lurnOpEUB4eas0ky8tWKdYa9l6Sm0imnCQ133tcoQV+X3RFMHJeFJhCWe24z3tRYV6e9V5vL6G5uMll0R15QyFeN1WDXkfUYhlTeSBOgK5ZiiiZLmOqO1j0RprBq08gwDgI6vM4ql3vL4NQaLuY1bEzYZjVKjs5xrRk80q8m5bUY7vnIqnVH6iqdNX7zOSKQ0e9ppmTjug4vj0sxNhg2NTS09/LxSS5YpH2CsS4rgsdqwp1ZaZ+yFwuokHbB0SyTQrm3mckTZnjuLAeagbk1YZBp7xk5rT1uXJ3G1vc7gZ2WTTgkbyChl5L3nbjJ1TBoqkAgEXhvLlPuMxmxbFB6ncs36dOvGKhO2smfD5TyC9R7TPUZ+9th9KbczDgfpzsg2o0EzWfgiqkWHVDL1qqnXGCUYNqSPdfMCLG+ADzDssul5dI1W3nqln73O9FlwdW3AxDHdVat9Ju1i7dsSd601cA7nOlPUhzaStD703T67svaZvlwaTUaMCMIVF7jOBLWqjRIbP83qpo21zwRlkTqKSVQTa037I+4e0SKT7r1oD0lUyZ1YXEH1A4w7wH0M7KnY2vY29hk3ZK5CyGaW9dhue24z9KKLFhVVqzRLoumKMdeZ0+pwy5Xc96ZHWO/72mP8exyJO9RF2VavZwqbjJ9pRHnB3TWRPuMa8ybTlkaaRaS8rFrRyHrl/CITbLeWhHbZ6AcuHO595rQ/bAB4ABNseBp77DNsaDxPYPd3rltL3zz/HmNn73Zw2cpisvPY2m0m7zYI2dUUsS4c++WjFhk/0lDmn6fgQRuWaiSeYWiX0RFOdz2V7C5jH2Hi2DR3zVmGSYn0BNPu4rMUkYK+ejLRvc/4wa77r/5/ASoh7bn1/lx4i/nv9WE+zJ/MFybWL7tG2MRBAAAAAElFTkSuQmCC"
    },
    "DocumentNumber": "1459",
    "Status": "5",
    "StatusDescription": "Registered",
    "TaxNumber": "54694623079",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null 
  },
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 1321
}

Collection order webhook status AwaitingPayment

{
  "CollectionOrder": {
    "QRCode": {
      "HashCode": "MDAwMjAxMDEwMjEyMjY4MDAwMTRici5nb3YuYmNiLnBpeDI1NThxcmNvZGUtaC5maXRiYW5rLmNvbS5ici9RUi9jb2J2LzIyREZDNUM5OEU5NUYzN0Q1REM0NzBBMzBENTIwNDAwMDA1MzAzOTg2NTgwMkJSNTkwN1NhYnJpbmE2MDA5c2FvIHBhdWxvNjEwODYzNDQ0NDQ0NjIwNzA1MDMqKio2MzA0MDJFMA",
      "Image": "iVBORw0KGgoAAAANSUhEUgAAARQAAAEUAQAAAADCC/TUAAADgUlEQVR4nO2aUU7DQAxEfQPf/5a+gfG82aQFgfhzflpQqyYvaLP2zo4dov99VXyYD/M3ExGZnVVROe85h6rnfb7q1DqT81v+mLMZOlND5VyiY+vMDLl6jmr4NYOctyFm0KlTjzCDpGZuzumruMx8jokYQiNtBViBJreeYYTpY4KoMAotzWf2t7hvMeT876/v62KJ4ZVOeH2Q8JP5XT90Y4kprbk5I4Y7EK7FqEk9c7jJEEXGqh9WH2qgO6ncZ8JrsKSXxcxJo+ZO5gBLc5vRiegjlB1ehjN6XfIAo1OaPCWX5BONas0lurnOpEUB4eas0ky8tWKdYa9l6Sm0imnCQ133tcoQV+X3RFMHJeFJhCWe24z3tRYV6e9V5vL6G5uMll0R15QyFeN1WDXkfUYhlTeSBOgK5ZiiiZLmOqO1j0RprBq08gwDgI6vM4ql3vL4NQaLuY1bEzYZjVKjs5xrRk80q8m5bUY7vnIqnVH6iqdNX7zOSKQ0e9ppmTjug4vj0sxNhg2NTS09/LxSS5YpH2CsS4rgsdqwp1ZaZ+yFwuokHbB0SyTQrm3mckTZnjuLAeagbk1YZBp7xk5rT1uXJ3G1vc7gZ2WTTgkbyChl5L3nbjJ1TBoqkAgEXhvLlPuMxmxbFB6ncs36dOvGKhO2smfD5TyC9R7TPUZ+9th9KbczDgfpzsg2o0EzWfgiqkWHVDL1qqnXGCUYNqSPdfMCLG+ADzDssul5dI1W3nqln73O9FlwdW3AxDHdVat9Ju1i7dsSd601cA7nOlPUhzaStD703T67svaZvlwaTUaMCMIVF7jOBLWqjRIbP83qpo21zwRlkTqKSVQTa037I+4e0SKT7r1oD0lUyZ1YXEH1A4w7wH0M7KnY2vY29hk3ZK5CyGaW9dhue24z9KKLFhVVqzRLoumKMdeZ0+pwy5Xc96ZHWO/72mP8exyJO9RF2VavZwqbjJ9pRHnB3TWRPuMa8ybTlkaaRaS8rFrRyHrl/CITbLeWhHbZ6AcuHO595rQ/bAB4ABNseBp77DNsaDxPYPd3rltL3zz/HmNn73Zw2cpisvPY2m0m7zYI2dUUsS4c++WjFhk/0lDmn6fgQRuWaiSeYWiX0RFOdz2V7C5jH2Hi2DR3zVmGSYn0BNPu4rMUkYK+ejLRvc/4wa77r/5/ASoh7bn1/lx4i/nv9WE+zJ/MFybWL7tG2MRBAAAAAElFTkSuQmCC"
    },
    "DocumentNumber": "1459",
    "Status": "11",
    "StatusDescription": "AwaitingPayment",
    "TaxNumber": "54694623079",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null 
  },
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 1321
}

Collection order webhook status Settled

{
  "CollectionOrder": {
    "QRCode": {
      "HashCode": null,
      "Image": null,
      "EndToEndPixIn": "E18236120202309281253s15e97018ab",
      "EndToEndRefundPixIn": null
    },
    "DocumentNumber": "160183",
    "Status": "9",
    "StatusDescription": "Settled",
    "TaxNumber": "03401834118",
    "ReceiptUrl": null,
    "Identifier": "co-87e4f465-536d-4355-8915-4b1eb2c1c13d",
    "Reason": null,
    "PaymentDate": "2023-09-28T09:54:18.05",
    "PrincipalValue": "0.02",
    "PaymentValue": "0.02",
    "Payer": {
      "Name": "Nícolas Alves de Melo",
      "AccountInfo": {
        "TaxNumber": "03401834118",
        "Bank": "260",
        "BankBranch": "1",
        "BankAccount": "52769618",
        "BankAccountDigit": "5"
      }
    }
  },
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 1259
}

Collection order webhook status Canceled

{
  "CollectionOrder": {
    "QRCode": {
      "HashCode": "MDAwMjAxMDEwMjEyMjY4MDAwMTRici5nb3YuYmNiLnBpeDI1NThxcmNvZGUtaC5maXRiYW5rLmNvbS5ici9RUi9jb2J2LzIyREZDNUM5OEU5NUYzN0Q1REM0NzBBMzBENTIwNDAwMDA1MzAzOTg2NTgwMkJSNTkwN1NhYnJpbmE2MDA5c2FvIHBhdWxvNjEwODYzNDQ0NDQ0NjIwNzA1MDMqKio2MzA0MDJFMA",
      "Image": "iVBORw0KGgoAAAANSUhEUgAAARQAAAEUAQAAAADCC/TUAAADgUlEQVR4nO2aUU7DQAxEfQPf/5a+gfG82aQFgfhzflpQqyYvaLP2zo4dov99VXyYD/M3ExGZnVVROe85h6rnfb7q1DqT81v+mLMZOlND5VyiY+vMDLl6jmr4NYOctyFm0KlTjzCDpGZuzumruMx8jokYQiNtBViBJreeYYTpY4KoMAotzWf2t7hvMeT876/v62KJ4ZVOeH2Q8JP5XT90Y4kprbk5I4Y7EK7FqEk9c7jJEEXGqh9WH2qgO6ncZ8JrsKSXxcxJo+ZO5gBLc5vRiegjlB1ehjN6XfIAo1OaPCWX5BONas0lurnOpEUB4eas0ky8tWKdYa9l6Sm0imnCQ133tcoQV+X3RFMHJeFJhCWe24z3tRYV6e9V5vL6G5uMll0R15QyFeN1WDXkfUYhlTeSBOgK5ZiiiZLmOqO1j0RprBq08gwDgI6vM4ql3vL4NQaLuY1bEzYZjVKjs5xrRk80q8m5bUY7vnIqnVH6iqdNX7zOSKQ0e9ppmTjug4vj0sxNhg2NTS09/LxSS5YpH2CsS4rgsdqwp1ZaZ+yFwuokHbB0SyTQrm3mckTZnjuLAeagbk1YZBp7xk5rT1uXJ3G1vc7gZ2WTTgkbyChl5L3nbjJ1TBoqkAgEXhvLlPuMxmxbFB6ncs36dOvGKhO2smfD5TyC9R7TPUZ+9th9KbczDgfpzsg2o0EzWfgiqkWHVDL1qqnXGCUYNqSPdfMCLG+ADzDssul5dI1W3nqln73O9FlwdW3AxDHdVat9Ju1i7dsSd601cA7nOlPUhzaStD703T67svaZvlwaTUaMCMIVF7jOBLWqjRIbP83qpo21zwRlkTqKSVQTa037I+4e0SKT7r1oD0lUyZ1YXEH1A4w7wH0M7KnY2vY29hk3ZK5CyGaW9dhue24z9KKLFhVVqzRLoumKMdeZ0+pwy5Xc96ZHWO/72mP8exyJO9RF2VavZwqbjJ9pRHnB3TWRPuMa8ybTlkaaRaS8rFrRyHrl/CITbLeWhHbZ6AcuHO595rQ/bAB4ABNseBp77DNsaDxPYPd3rltL3zz/HmNn73Zw2cpisvPY2m0m7zYI2dUUsS4c++WjFhk/0lDmn6fgQRuWaiSeYWiX0RFOdz2V7C5jH2Hi2DR3zVmGSYn0BNPu4rMUkYK+ejLRvc/4wa77r/5/ASoh7bn1/lx4i/nv9WE+zJ/MFybWL7tG2MRBAAAAAElFTkSuQmCC"
    },
    "DocumentNumber": "1459",
    "Status": "8",
    "StatusDescription": "Canceled",
    "TaxNumber": "54694623079",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": "Payer failed during the KYC process" 
  },
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 1321
}

Collection order webhook status Canceled-Refund

{
  "CollectionOrder": {
    "QRCode": {
      "HashCode": null,
      "Image": null,
      "EndToEndPixIn": "b5f90bc6-c7f4-4457-900b-526cd388edb0",
      "EndToEndRefundPixIn": "E3284600704190549966864763883940"
    },
    "DocumentNumber": "1459",
    "Status": "15",
    "StatusDescription": "Canceled-Refund",
    "TaxNumber": "54694623079",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": "Amount refunded. Divergent data between Payer and Settlement",
    "PrincipalValue": "74.00",
    "PaymentDate": null,
    "PaymentValue": null,
    "RefundDate": "2023-09-28T09:54:18.05",
    "RefundValue": "74.00",
    ,
    "Payer": {
      "Name": "Alan Martins",
      "AccountInfo": {
        "TaxNumber": "84933904700",
        "Bank": "237",
        "BankBranch": "0011",
        "BankAccount": "6066452",
        "BankAccountDigit": "2"
      }      
 		 }
  },
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 1321
}

Collection order webhook status Error

{
  "CollectionOrder": {
    "QRCode": {
      "HashCode": null,
      "Image": null   
    },
    "DocumentNumber": "1459",
    "Status": "12",
    "StatusDescription": "Error",
    "TaxNumber": "54694623079",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null 
  },
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 1321
}

Description:

ParametersDescriptionTypeComments
MethodAPI MethodSTRING (TEXT)None
BusinessUnitIdBusiness Unit ID Provided by FitBankSTRING (TEXT)None
CollectionOrderObject concerning CollectionOrder's infoOBJECTNone
DocumentNumberCollection order identificationSTRING (TEXT)None
StatusOperation statusSTRING (TEXT)None
StatusDescriptionStatus descriptionSTRING (TEXT)None
NamePayer's NameSTRING (TEXT)None
TaxNumberCPF or CNPJ of the payer accountSTRING (TEXT)None
BankPayer's Bank CodeSTRING (TEXT)None
BankBanchPayer's Bank Agency CodeSTRING (TEXT)None
BankAccountPayer's Bank AccountSTRING (TEXT)None
BankAccountDigitPayer's Bank Account DigitSTRING (TEXT)None
PaymentDatePayment dateSTRING (TEXT)None
PrincipalValueCollection order's amountSTRING (TEXT)None
PaymentValueCollection Payment ValueSTRING (TEXT)None
ReceiptUrlTransaction voucher URLSTRING (TEXT)None
IdentifierExternal identifierSTRING (TEXT)None
ReasonReason for canceling the collection orderSTRING (TEXT)None
QrCodeObject concerning QRCode's infoOBJECTNone
HashCodeIdentification code (copy and paste)STRING (TEXT)Base64 format
ImageQR Code imageSTRING (TEXT)Base64 format
EndToEndPixInPIX credit identifier provided by the Central BankSTRING (TEXT)None
EndToEndRefundPixInPIX refund identifier provided by the Central BankSTRING (TEXT)None

Collection Order status:

StatusStatus DescriptionTypeDescription
0CreatedSTRING (TEXT)The Collection Order was created
1PreAuthorizedSTRING (TEXT)The Collection Order was pre-authorized and the collection was generated
2AnalysingSTRING (TEXT)Payer under review in KYC process
3AuthorizedSTRING (TEXT)Payer Approved in KYC
6RegisteredSTRING (TEXT)The Collection was registered
8CanceledSTRING (TEXT)EXC0004 - Payer failed during the KYC process
EXC0005 - Invalid billing email address
EXC0006 - Collection has expired and payment has not been made
EXC0007 - Divergent data between Payer and Settlement
EXC0011 - Balance insufficient for fee collection
EXC0012 - Payer failed in the validation process
EXC0013 - Manual Cancellation
INF0008 - Is a qualified person, you must send a Collection Order again, with the data { Name, Email, Phone, Country, Nationality, Occupation, ...}
9SettledSTRING (TEXT)Completed Billing Order (payment settled)
11Awaiting PaymentSTRING (TEXT)Awaiting Payment
12ErrorSTRING (TEXT)EXC0008 - Internal Processing Error
15Canceled-RefundSTRING (TEXT)INF0010 - Amount refunded. Divergent data between Payer and Settlement
INF0014 - Receiver Account Validation Failed
INF0016 - Amount refunded. Payer is a qualified person.
INF0017 - Amount refunded. Payer screening has failed during the KYC process

The CollectionOrderWebhook for Collection Orders generated with CollectionOrderType: Boleto = 1:

Collection Order webhook status Created

{
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "0",
    "StatusDescription": "Created",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null
  }

Collection order webhook status PreAuthorized

{
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "1",
    "StatusDescription": "PreAuthorized",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null
  }

Collection order webhook status Authorized

{
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "3",
    "StatusDescription": "Authorized",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null
  }

Collection order webhook status Registered

{
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "5",
    "StatusDescription": "Registered",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null
  }

Collection order webhook status AwaitingPayment

{
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "11",
    "StatusDescription": "AwaitingPayment",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null
  }

Collection order webhook status Settled

{
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "9",
    "StatusDescription": "Settled",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null
  }

Collection order webhook status Canceled

{
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "8",
    "StatusDescription": "Canceled",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": "Payer failed during the KYC process",
    "Boleto": {
      "Barcode": null,
      "Pdf": null
  }

Collection order webhook status Error

{
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "12",
    "StatusDescription": "Error",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null
  }

Description:

ParametersDescriptionTypeComments
MethodAPI MethodSTRING (TEXT)None
BusinessUnitIdBusiness Unit ID Provided by FitBankSTRING (TEXT)None
CollectionOrderObject concerning CollectionOrder's infoOBJECTNone
DocumentNumberCollection order identificationSTRING (TEXT)None
StatusOperation statusSTRING (TEXT)None
StatusDescriptionStatus descriptionSTRING (TEXT)None
TaxNumberCPF or CNPJ of the payer accountSTRING (TEXT)None
ReceiptUrlTransaction voucher URLSTRING (TEXT)None
IdentifierExternal identifierSTRING (TEXT)None
ReasonReason for canceling the collection orderSTRING (TEXT)None
BoletoObject concerning Boleto's infoOBJECTNone
BarcodeCollection Boleto barcodeSTRING (TEXT)None
PdfCollection boleto imageSTRING (TEXT)Base64 format

The CollectionOrderWebhook for Collection Orders generated with CollectionOrderType: BoletoPixQrCode=2:

Collection Order webhook status Created

}
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "0",
    "StatusDescription": "Created",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null,
      "QrCode": {
        "HashCode": null,
        "Image": null
    }

Collection order webhook status PreAuthorized

}
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "1",
    "StatusDescription": "PreAuthorized",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null,
      "QrCode": {
        "HashCode": null,
        "Image": null
    }

Collection order webhook status Authorized

}
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "3",
    "StatusDescription": "Authorized",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null,
      "QrCode": {
        "HashCode": null,
        "Image": null
    }

Collection order webhook status Registered

}
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "5",
    "StatusDescription": "Authorized",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null,
      "QrCode": {
        "HashCode": null,
        "Image": null
    }

Collection order webhook status AwaitingPayment

}
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "11",
    "StatusDescription": "AwaitingPayment",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null,
      "QrCode": {
        "HashCode": null,
        "Image": null
    }

Collection order webhook status Settled

}
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "9",
    "StatusDescription": "Settled",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null,
      "QrCode": {
        "HashCode": null,
        "Image": null
    }

Collection order webhook status Canceled

}
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "8",
    "StatusDescription": "Canceled",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": "Payer failed during the KYC process",
    "Boleto": {
      "Barcode": null,
      "Pdf": null,
      "QrCode": {
        "HashCode": null,
        "Image": null
    }

Collection order webhook status Error

}
  "Method": "CollectionOrderStatus",
  "BusinessUnitId": 205,
  "CollectionOrder": {
    "DocumentNumber": "800",
    "Status": "12",
    "StatusDescription": "Error",
    "TaxNumber": "34596241082",
    "ReceiptUrl": null,
    "Identifier": "co-b5f90bc6-c7f4-4457-900b-526cd388edb0",
    "Reason": null,
    "Boleto": {
      "Barcode": null,
      "Pdf": null,
      "QrCode": {
        "HashCode": null,
        "Image": null
    }

Description:

ParametersDescriptionTypeComments
MethodAPI MethodSTRING (TEXT)None
BusinessUnitIdBusiness Unit ID Provided by FitBankSTRING (TEXT)None
CollectionOrderObject concerning CollectionOrder's infoOBJECTNone
DocumentNumberCollection order identificationSTRING (TEXT)None
StatusOperation statusSTRING (TEXT)None
StatusDescriptionStatus descriptionSTRING (TEXT)None
TaxNumberCPF or CNPJ of the payer accountSTRING (TEXT)None
ReceiptUrlTransaction voucher URLSTRING (TEXT)None
IdentifierExternal identifierSTRING (TEXT)None
ReasonReason for canceling the collection orderSTRING (TEXT)None
BoletoObject concerning Boleto's infoOBJECTNone
BarcodeCollection Boleto barcodeSTRING (TEXT)None
PdfCollection boleto imageSTRING (TEXT)Base64 format
QrCodeObject concerning QRCode's infoOBJECTNone
HashCodeIdentification code (copy and paste)STRING (TEXT)Base64 format
ImageQR Code imageSTRING (TEXT)Base64 format

5.2 UpdateCollectionOrderPayerStatus

Collection order payer webhook status Created

{
    "CollectionOrderPayer": {
        "Name": "José Reinaldo Sales Soares",
        "Status": "Created",
        "TaxNumber": "20282702091",
        "Phone": "88999999999",
        "Mail": "[email protected]", 

    "Reason": null
    },
    "Method": "CollectionOrderPayerStatus",
    "BusinessUnitId": 61859
}

Collection order payer webhook status Analysing

{
    "CollectionOrderPayer": {
        "Name": "José Reinaldo Sales Soares",
        "Status": "Analysing",
        "TaxNumber": "20282702091",
        "Phone": "88999999999",
        "Mail": "[email protected]", 

    "Reason": null
    },
    "Method": "CollectionOrderPayerStatus",
    "BusinessUnitId": 61859
}

Collection order payer webhook status Approved

{
    "CollectionOrderPayer": {
        "Name": "José Reinaldo Sales Soares",
        "Status": "Approved",
        "TaxNumber": "20282702091",
        "Phone": "88999999999",
        "Mail": "[email protected]", 
		"Description": null,
    "Reason": null
    },
    "Method": "CollectionOrderPayerStatus",
    "BusinessUnitId": 61859
}

Collection order payer webhook status Denied

{
    "CollectionOrderPayer": {
        "Name": "José Reinaldo Sales Soares",
        "Status": "Denied",
        "TaxNumber": "20282702091",
        "Phone": "88999999999",
        "Mail": "[email protected]", 

    "Reason": [ 
"Identified that the Payer is at ONU with a percentage of 92, 00% with the following name ‘SILVA CHICO ALVES’ using evaluation ‘TokenSortRatio’;", 

"Identified that the Payer is at ONU with a percentage of 92, 00% with the following name ‘SILVA CHICO ALVES’ using evaluation ‘TokenSetRatio’;"
        ]
    },
    "Method": "CollectionOrderPayerStatus",
    "BusinessUnitId": 61859
}

Description:

ParametersDescriptionTypeComments
NamePayer nameSTRING (TEXT)None
StatusPayer status indicationSTRING (TEXT)Created = 0
Analysing = 1
Approved = 2
Denied = 3
TaxNumberCPF or CNPJ of the payerSTRING (TEXT)None
PhonePayer phoneSTRING (TEXT)None
MailPayer mailSTRING (TEXT)None
ReasonReason for denying the payerSTRING (TEXT)None
MethodAPI methodSTRING (TEXT)None
BusinessUnitIdBusiness Unit ID provided by FitBankSTRING (TEXT)None

Created = Created Payer
Analysing = Payer under review in KYC process
Approved = KYC approved payer
Denied = Reapproved KYC payer

Response webhook

To confirm receipt of the webhook, return us the following json:

{
    "Success": true,
    "Message": "Operation successfully completed."
}