2 - Generating

This operation only takes place between accounts of the same business unit.

To realize an Internal Transfer, some information is necessary, being these: the name of the method's identification, business unit's identification, partner's ID related by FitBank, CPF or CNPJ of whose are making the transfer, CPF or CNPJ of whose is receiving the transfer, amount and date of the transaction and internal identifier.

PARAMETERTYPEMANDATORYDESCRIPTION
MethodStringYESMethod Identification Name
BusinessUnitIdLongYESBusiness Unit ID reported by Fitbank
PartnerIdLongYESPartner ID reported by Fitbank
FromTaxNumberStringYESCPF or CNPJ of the person making the transfer
FrombankStringNOIdentification of the originating bank in case of a specific account
FrombankBranchStringNOIdentification of the branch of origin in case of a specific account
FrombankAccountStringNOSource account identification in case of a specific account
FrombankAccountDigitStringNOIdentification of the digit of the source account in case of a specific account
ToTaxNumberStringYESCPF or CNPJ of the person receiving the transfer
ToBankStringNOIdentification of the originating bank in case of a specific account
ToBankBranchStringNOIdentification of the branch of origin in case of a specific account
ToBankAccountStringNOSource account identification in case of a specific account
ToBankAccountDigitStringNOIdentification of the digit of the source account in case of a specific account
ValueDecimalYESTransaction amount
RateValueTypeDecimalNOType of fee to be charged, 0 - sent, 1 - Default, 2 - none
RateValueDecimalNOFee amount
CategoryLongNO0 - Payment between accounts
TransferDateStringYESTransaction date
IdentifierStringYESInternal Identifier
TagsStringNOFree field to put some information for customer identification
DescriptionStringNOFree field to put some information for customer identification

PS: There are two options for requisition models: the first one is succinct, in which the internal bank data is not passed on. The second one, more complete, already has this field. The choice of which model will be worked on occurs from the active operation format. For example, if you will work with a model of a CPF/CNPJ account, there is no necessity to report the internal bank details, differently of whose has an operation model, when there is more than one account per CPF/CNPJ, and it is necessary to enter them to identify which account is the source account and which is the destination account.

Requisition without bank details:

{ "Method": "InternalTransfer", 
"PartnerId": 820, "BusinessUnitId": 1099, 
"FromTaxNumber": "65371653341", 
"ToTaxNumber": "44699677266", 
"Value": 5, "RateValue": 0, 
"TransferDate": "2022/07/24", 
"Identifier": "5781237474", 
"Tags": [ "Commercial", "Tax", "Financial" ], 
"Description": "Descrição do pagamento" }

Requisition with bank details:

{ "Method": "InternalTransfer", 
"PartnerId": 820, 
"BusinessUnitId": 1099, 
"FromTaxNumber": "39116483405", 
"FromBank": "450", 
"FromBankBranch": "0001", 
"FromBankAccount": "186745319", 
"FromBankAccountDigit": "1", 
"ToTaxNumber": "55197836830", 
"ToBank": "450", 
"ToBankBranch": "0001", 
"ToBankAccount": "185527096", 
"ToBankAccountDigit": "6", 
"Value": 34, 
"RateValueType": 0, 
"RateValue": 4, 
"Category": 0, 
"TransferDate": "2022/07/24", 
"Identifier": "5grgwgw4557454", 
"Description": "Descrição do pagamento" } 

Response of both requests:

{ "Success": "true", 
"Message": "ISI0001 - Método executado com sucesso", 
"Url": "https://sandboxreceipt.fitbank.com.br/receipt/pdf?filename=2022- 07-24/5y4hlwfu.pdf", 
"DocumentNumber": 103851, 
"AlreadyExists": "False" }

MultipleInternalTransfer – Multiple internal transfer method
It is possible to realize various transfers with the Multiple Internal Transfer method. For this, there is a new field in the method: a field to inform the receivers:

PARAMETERTYPEMANDATORYDESCRIPTION
MethodStringYESMethod Identification Name
BusinessUnitIdLongYESBusiness Unit ID reported by Fitbank
PartnerIdLongYESPartner ID reported by Fitbank
TaxNumberStringYESCPF or CNPJ of the person making the transfer
bankStringNOIdentification of the originating bank in case of a specific account
bankBranchStringNOIdentification of the branch of origin in case of a specific account
bankAccountStringNOSource account identification in case of a specific account
bankAccountDigitStringNOIdentification of the digit of the source account in case of a specific account
TotalValueDecimalYESTotal transaction value
RateValueTypeDecimalNOType of fee to be charged, 0 - sent, 1 - default, 2 - None
RateValueDecimalNOFee amount
CategoryLongNO0 - Payment between accounts
IdentifierStringYESInternal Identifier
TagsStringNOFree field to put some information for customer identification
DescriptionStringNOFree field to put some information for customer identification
Internal TransferStringYESField to inform the receivers
IdentifierStringYESInternal Identifier
ToNameStringYESRecipient's name
ToTaxNumberStringYESCPF/CNPJ of the recipient
ToBankStringNOTarget Bank
ToBankBranchStringNODestination Agency
ToBankAccountStringNOSource account identification in case of a specific account
ToBankAccountDigitStringNOIdentification of the digit of the source account in case of a specific account
ValueDecimalYESTransaction amount

Requisition without bank details:

{ "Method": "MultipleInternalTransfers", 
"PartnerId": 820, 
"BusinessUnitId": 1099, 
"TaxNumber": "55197836830", 
"TransferDate": "2022/07/24", 
"TotalValue": 20, 
"RateValueType": 0, 
"RateValue": 4, 
"Description": "Teste SandBox - SPLIT", 
"InternalTransfers": [ 
{ "Identifier": "578954962424", 
"ToName": "Aurora Sena", 
"ToTaxNumber": "48969329277", 
"Value": 15, "Description": "Comissão" }, 
{ "Identifier": "3759299898115", 
"ToName": "Elsa Moreira", 
"ToTaxNumber": "39116483405", 
"Value": 5, 
"Description": "Comissão" } ] 

Requisition with bank details:

{ "Method": "MultipleInternalTransfers", 
"PartnerId": 820, 
"BusinessUnitId": 1099, 
"TaxNumber": "55197836830", 
"Bank": "450",
"BankBranch": "0001", 
"BankAccount": "185527096", 
"BankAccountDigit": "6", 
"TransferDate": "2022/07/24", 
"TotalValue": 10, 
"Description": "Teste SandBox - SPLIT", 
"InternalTransfers": [ 
{ "Identifier": "5754962424", 
"ToName": "Aurora Sena", 
"ToTaxNumber": "48969329277", 
"ToBank": "450", 
"ToBankBranch": "0001", 
"ToBankAccount": "191565079", 
"ToBankAccountDigit": "2", 
"Value": 6, 
"Description": "Comissão" }, 
{ "Identifier": "375929898115", 
"ToName": "Elsa Moreira", 
"ToTaxNumber": "39116483405", 
"ToBank": "450", 
"ToBankBranch": "0001", 
"ToBankAccount": "186745319", 
"ToBankAccountDigit": "1", 
"Value": 4, 
"Description": "Comissão" } ]

Response of both requests:

{ "Success": "true", "InternalTransfers": "[{\"Success\":\"true\",\"Identifier\":\"5754962424\" ,\"Url\":\"https://sandboxreceipt.fitbank.com.br/receipt/pdf?filename=2022-07- 24/mb0bbc2k.pdf\",\"DocumentNumber\":103848,\"Message\":\"Transferência enviad a com sucesso.\"},{\"Success\":\"true\",\"Identifier\":\"375929898115\",\"Url\ ":\"https://sandboxreceipt.fitbank.com.br/receipt/pdf?filename=2022-07- 24/53ovawdz.pdf\",\"DocumentNumber\":103849,\"Message\":\"Transferência enviad a com sucesso.\"}]" }