After included a payment on flow, its returned a document number, this ID will be used for these following methods, will make it possible to cancel payment sent to Fitbank, as the descriptions below:
Request
{
"Method": "CancelBoletoOut",
"PartnerId": 10343,
"BusinessUnitId": 30421,
"DocumentNumber": "10056"
}
Parameter Description Type Mandotory Method CancelBoletoOut string YES PartnerId "Partner ID provided by Fitbank" integer YES BusinessUnitId "Business Unit ID provided by Fitbank" integer YES DocumentNumber "Unique recharge identifier" long YES DocumentNumber "Unique recharge identifier" long YES
Response
{
"Success": true,
"Message": "ISI0001 - Método executado com sucesso"
}
Request
{
"Method": "CancelPaymentGps",
"PartnerId": 10343,
"BusinessUnitId": 30421,
"DocumentNumber": "10056"
}
Parameter Description Type Mandotory Method CancelPaymentsGPS string YES PartnerId "Partner ID provided by Fitbank" integer YES BusinessUnitId "Business Unit ID provided by Fitbank" integer YES DocumentNumber "Unique recharge identifier" long YES
Response
{
"Success": true,
"Message": "ISI0001 - Método executado com sucesso"
}
Resquest
{
"Method": "CancelPaymentGare",
"PartnerId": 10343,
"BusinessUnitId": 30421,
"DocumentNumber": "10056"
}
Parameter Description Type Mandotory Method CancelPaymentsGARE string YES PartnerId "Partner ID provided by Fitbank" integer YES BusinessUnitId "Business Unit ID provided by Fitbank" integer YES DocumentNumber "Unique recharge identifier" long YES
Response
{
"True": true,
"Message": "ISI0001 - Método executado com sucesso"
}
Request
{
"Method": "CancelPaymentFgts",
"PartnerId": 10343,
"BusinessUnitId": 30421,
"DocumentNumber": "10056"
}
Parameter Description Type Mandotory Method CancelPaymentFGTS string YES PartnerId "Partner ID provided by Fitbank" integer YES BusinessUnitId "Business Unit ID provided by Fitbank" integer YES DocumentNumber "Unique recharge identifier" long YES
Response
{
"Success": true,
"Message": "ISI0001 - Método executado com sucesso"
}
Request
{
"Method": "CancelPaymentDARJ",
"PartnerId": 10343,
"BusinessUnitId": 30421,
"DocumentNumber": "10056"
}
Parameter Description Type Mandotory Method CancelPaymentsDARJ string YES PartnerId "Partner ID provided by Fitbank" integer YES BusinessUnitId "Business Unit ID provided by Fitbank" integer YES DocumentNumber "Unique recharge identifier" long YES
Response
{
"Success": true,
"Message": "ISI0001 - Método executado com sucesso"
}
Request
{
"Method": "CancelPaymentDARF",
"PartnerId": 10343,
"BusinessUnitId": 30421,
"DocumentNumber": "10056"
}
Parameter Description Type Mandotory Method CancelPaymentsDARF string YES PartnerId "Partner ID provided by Fitbank" integer YES BusinessUnitId "Business Unit ID provided by Fitbank" integer YES DocumentNumber "Unique recharge identifier" long YES
Response
{
"Success": true,
"Message": "ISI0001 - Método executado com sucesso"
}
OBS: If the specifications for the method are not contemplated, you will get a return as an example bellow:
Response
{
"Success": "false",
"Message": " ISE0014 - Informações enviadas estão inválidas. Veja a propriedade Validation do json para mais detalhes.",
"Validation":[{
“key”: “ReferenceNumber”,
"Value”: [“ISI0253 - Informe apenas numeros”]
}]
}