Muchas gracias por Jonathan por tu ayuda.
Si bueno por ahora almacenare la imagen en el servidor y solo mandarle la URL para visualizarla en la app, generarlas con un request y eliminarlas con otro para no saturar el server.
Ya esta funcionando la API.
{
"status": 200,
"statusText": "OK",
"headers": {
"cache-control": "no-cache",
"pragma": "no-cache",
"content-type": "application/json; charset=utf-8",
"expires": "-1",
"server": "Microsoft-IIS/8.5",
"x-aspnet-version": "4.0.30319",
"x-frame-options": "SAMEORIGIN",
"strict-transport-security": "max-age=31536000; includeSubdomains",
"x-ruled-by": "InstaPago API",
"date": "Wed, 27 May 2020 23:55:06 GMT",
"connection": "close",
"content-length": "9287"
},
"config": {
"url": "https://api.instapago.com/payment",
"method": "post",
"data": "KeyId=XXXXXXXXXXXXXXXXX&PublicKeyId=XXXXXXXXXXXXXXXXXXXXXXXXXXXX&Address=Los%20Olivos%20la%20arboleda&Amount=85124523.58&CVC=123&CardHolder=Romy%20Bompart&CardHolderID=XXXXXXXX&CardNumber=4111111111111111&City=Guayana&Description=Compra%20de%20helados&ExpirationDate=05%2F2022&IP=127.0.0.1&OrderNumber=1&State=Bolivar&StatusId=2&ZipCode=8050",
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "axios/0.19.2",
"Content-Length": 364
},
"transformRequest": [
{}
],
"transformResponse": [
{}
],
"timeout": 0,
"adapter": {},
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"validateStatus": {}
},
"data": {
"success": true,
"message": "Pago Aprobado",
"id": "cd8370ed-2368-4b66-8c2e-909c65f78db6",
"code": "201",
"reference": "137084",
"voucher": "\r\n<table style="background-color: white;">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div style="border: 1px solid #222; padding: 9px; text-align: center; max-width:255px" id="voucher">\r\n\r\n <style type="text/css">\r\n .normal-left {\r\n font-family: Tahoma;\r\n font-size: 7pt;\r\n text-align: left;\r\n }\r\n\r\n .normal-right {\r\n font-family: Tahoma;\r\n font-size: 7pt;\r\n text-align: right;\r\n }\r\n\r\n .big-center {\r\n font-family: Tahoma;\r\n font-size: 9pt;\r\n text-align: center;\r\n font-weight: 900;\r\n }\r\n\r\n .big-center-especial {\r\n font-family: Tahoma;\r\n font-size: 9pt;\r\n text-align: center;\r\n font-weight: 900;\r\n letter-spacing: .9em;\r\n }\r\n\r\n .big-left {\r\n font-family: Tahoma;\r\n font-size: 9pt;\r\n text-align: left;\r\n font-weight: 900;\r\n }\r\n\r\n .big-right {\r\n font-family: Tahoma;\r\n font-size: 9pt;\r\n text-align: right;\r\n font-weight: 900;\r\n }\r\n\r\n .normal-center {\r\n font-family: Tahoma;\r\n font-size: 7pt;\r\n text-align: center;\r\n }\r\n\r\n #voucher td {\r\n padding: 0;\r\n margin: 0;\r\n }\r\n </style>\r\n <div id="voucher">\r\n <table>\r\n <tr>\r\n <td colspan="4" class="normal-center">COPIA - CLIENTE</td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" class="big-center-especial">\r\n <br />\r\n BANESCO\r\n </td>\r\n </tr>\r\n\r\n <tr>\r\n <td colspan="4" class="big-center">\r\n <br />\r\n \r\n </td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" style="height: 8px;"></td>\r\n </tr>\r\n\r\n <tr>\r\n <td colspan="4" class="normal-left">TECNOLOGIA INSTAPAGO</td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" class="normal-left">DEMOSTRACI&#211;N</td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" class="normal-left">J-000000000</td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" style="height: 8px;"></td>\r\n </tr>\r\n <tr>\r\n <td colspan="2" class="normal-left">000000000000</td>\r\n <td colspan="2" class="normal-right">000000000000</td>\r\n </tr>\r\n <tr>\r\n <td colspan="1" class="normal-left">FECHA:</td>\r\n <td colspan="3" class="normal-left">00/00/00 00:00:00 PM</td>\r\n </tr>\r\n <tr>\r\n <td colspan="1" class="normal-left">NRO CUENTA:</td>\r\n <td colspan="2" class="normal-left">000000******0000 </td>\r\n <td class="normal-right">'0'</td>\r\n </tr>\r\n <tr>\r\n <td class="normal-left">NRO. REF.:</td>\r\n <td class="normal-left">000000</td>\r\n <td class="normal-right">LOTE:</td>\r\n <td class="normal-right">000</td>\r\n </tr>\r\n <tr>\r\n <td colspan="1" class="normal-left">APROBACION: </td>\r\n <td colspan="3" class="normal-left">000000</td>\r\n </tr>\r\n <tr>\r\n <td colspan="1" class="normal-left">SECUENCIA:</td>\r\n <td colspan="3" class="normal-left"></td>\r\n </tr>\r\n\r\n <tr>\r\n <td colspan="4" style="height: 8px;"></td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" class="big-center">\r\n <br />\r\n MONTO BS. 0,00\r\n </td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" style="height: 8px;"></td>\r\n </tr>\r\n <tr style="margin-top: 10px;">\r\n <td colspan="4" class="big-center">RIF: J-000000000</td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" style="height: 8px;"></td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" class="normal-left">\r\n <b>\r\n <br />\r\n </b>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td colspan="4" class="normal-left">\r\n <br />debito\r\n </td>\r\n </tr>\r\n <tr>\r\n <td colspan="1" class="normal-left">ID:</td>\r\n <td colspan="3" class="normal-left">000000000000000000</td>\r\n </tr>\r\n </table>\r\n </div>\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n\r\n\r\n\r\n",
"ordernumber": "1",
"sequence": "137084",
"approval": "137084",
"lote": "137084",
"responsecode": "00",
"deferred": false,
"datetime": "5/27/2020 7:55:06 PM",
"amount": "85,124,523.58",
"authid": null,
"idmerchant": null,
"terminal": null,
"bank": null
}
}