3 - Queries

API Method = GetMoneyTransferOut

To see a list of transfer quantities by date interval for a particular BU, you must request the method GetMoneyTransferOut

{
  "Method":"GetMoneyTransferOut",
  "PartnerId":10461,
  "BusinessUnitId":40520,
  "DocumentNumber":"4596389559",
  "TaxNumber":"11544444455",
  "InitialDate":"13/05/2022",
  "FinalDate":"13/05/2022",
  "InitialPaymentDate":"13/05/2022",
  "FinalPaymentDate":"13/05/2022",
  "EmissionDate":"13/05/2022",
  "InitialSchedulingDate":"13/05/2022",
  "FinalSchedulingDate":"13/05/2022"
}

Through the returned status, it is possible to know at what point of the process the transfer is. The types of statuses there are below:

0 - Created

1 - Sent

2 - Settled

3 - CanBeSent

4 - ErrorBalance

5 - Canceled

Método API = GetMoneyTransferOutByID

This method brings up the data of a specific transfer as entered in the DocumentNumber field

curl --request POST \
     --url https://localhost:25471/main/execute/GetMoneyTransferOutById \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
     "Method": "GetMoneyTransferOutById",
     "PartnerId": 10461,
     "BusinessUnitId": 40520,
     "DocumentNumber": "4596389559"
}