Sending a Payroll

API Method = SendWireTransferFile

This method makes it possible to send files. Upon receiving the files via API, our system will read the file generating payments.

{
    "Method": "SendWireTransferFile",
    "BusinessUnitId": 1,
    "PartnerId": 2,
    "TaxNumber": "44320958063",
    "Files": [
        {
            "FileName": "PagoDeNominasTest123",
            "Extension": "xml",
            "Content": "dGVzdGU=",
            "DocumentType": 1,
            "SchemaVersion": "1.0",
            "Identifier": "1441514415_01"
        },
        {
            "FileName": "PagoDeNominasTest456",
            "Extension": "xml",
            "Content": "dGVzdGUAU=",
            "DocumentType": 2,
            "SchemaVersion": "1.0",
            "Identifier": "1441514416_02"
        }
    ]
}
{
  "files": [
    {
      "success": true,
      "fileInId": 1,
      "message": "File uploaded successfully",
      "error": null,
      "identifier": "1441514415_01"
    },
    {
      "success": true,
      "fileInId": 2,
      "message": "File uploaded successfully",
      "error": null,
      "identifier": "1441514416_02"
    }
  ],
  "success": true,
  "message": "Successfully executed method",
  "error": null,
  "errors": null
}

Description

ParameterDescriptionMandatoryTypeExample
MethodMethod NameYESSTRINGSendWireTransferFile
BusinessUnitIdBusiness ID provided by FitBankYESINT64123
PartnerIdPartner ID provided by FitBankYESINT64456
TaxNumberIdentifierYESSTRINGFASF020504R80
FilesSend Files JSONYESJSON
FileNameFile NameYESSTRINGPagoDeNominas
ExtensionFile FormatYESSTRINGxml
ContentBASE 64 FileYESSTRINGdGVzdGUAU=
DocumentTypeFile TypeYESINTEGER1 - Internal
2 - External
SchemaVersionJSON Version 1.0YESSTRING1.0
IdentifierId reference to the payment order generatedYESSTRING123456_test