This method is used to verify the status of the payroll and the transactions that belong to it
{
"payout":{
"Id": 1111111111,
"country": "PER",
"amount": 100000,
"currency": "PEN",
"orderId": "R123456",
"description": "Free Text Free Text",
"beneficiary":{
"customerId": "12345",
"userName": "testUser",
"name": "test",
"lastName": "test",
"email": "test@test.com",
"phoneNumber": "123456789",
"document":{
"type": 1,
"number": "12345678"
},
"address":{
"street": "9 de Julio",
"houseNumber": "123",
"additionalInfo": "Extra Information",
"city": "LIMA",
"province": "LIMA",
"country": "PER",
"zipCode": "1408"
}
},
"destination": {
"bankAccount": {
"bankCode": "001",
"accountType": "1",
"location": {
"street": "9 de Julio",
"houseNumber": "123",
"additionalInfo": "Extra Information",
"city": "LIMA",
"province": "LIMA",
"country": "PER",
"zipCode": "1408"
}
}
},
"subMerchantInfo":{
"code": "1111",
"name": "Prueba",
"url": "http://prueba.com"
}
},
"output":{
"stage": "REJECTED",
"status": "REJECTED_BANK",
"statusChangeDateTime": "20220110223001"
},
"errors":[
{
"code" : "4001",
"message" : "Bank Rejection - Beneficiary is not the Account Owner"
}
]
}