Wispro
Get User Data (GetData)
GET https://{merchant}.suricata-wispro.com.ar/api/data?token={token}&q={id}&type={type}
<Description of the endpoint>
Body
merchant
string
merchant
token
string
token del merchant/integracion
id
number
id a realizar la busqueda
type
string
parametro a realizar la busqueda type: id/cod/dni/cuit
Response
{
"a_status": "enabled",
"address": "63-3544",
"city": "Necochea",
"connections": {
"id": "3fd76276-1840-4955-bbec-6b66e89c88d5",
"type": "mikrotik",
"name": "GWF-RDA-10-NEC"
},
"connections_qty": 1,
"contracts": [
{
"id": "7380da25-3353-49af-a679-0d4fb9656b52",
"public_id": 15520,
"plan_id": "f9b25794-2933-45a5-bb2a-1fb3c7d12399",
"client_id": "86c6a8d3-5a56-4680-8701-0798c5d87447",
"server_configuration_id": "3fd76276-1840-4955-bbec-6b66e89c88d5",
"state": "enabled",
"start_date": "2021-02-23",
"ip": "10.241.2.6",
"netmask": "255.255.255.255",
"mac_address": null,
"coverage_id": null,
"node_id": null,
"node_name": null,
"nap_id": null,
"nap_name": null,
"cpe_port": "80",
"cpe_protocol": "http",
"ceil_dfl_percent": 70,
"pppoe_enabled": true,
"pppoe_username": "865447@gwf",
"pppoe_password": "BARRIOS",
"ppp_profile_id": "72df9834-5c9c-4a75-aa14-57b68d5213dd",
"dhcp_enabled": false,
"dhcp_server": "",
"dhcp_mac_defined_by_service": false,
"dhcp_mac_address": "",
"cable_modem_enabled": false,
"cable_modem_ip": "",
"cable_modem_mac_address": "",
"cable_modem_gateway": "",
"latitude": "-38.5489406",
"longitude": "-58.75046769999999",
"address_street": "Calle 63",
"address_number": "3544",
"address_city": "Necochea",
"address_state": "Provincia de Buenos Aires",
"address_country": "Argentina",
"address_additional_data": "",
"details": "",
"mikrotik_interface_id": null,
"created_at": "2021-02-23T14:45:58.152-03:00",
"updated_at": "2023-09-21T13:09:30.573-03:00"
}
],
"created_at": "2021-02-23T14:45:17.627-03:00",
"details": "",
"email": "[email protected]",
"kind_person": "other",
"link_mobile_login": "https://cloud.wispro.co/portal_api/auth/mhErgN5E6wP0Ssv6ivI7ug",
"name": "BARRIOS CAMARGO FACUNDO EMANUEL",
"national_identification_number": "34600577",
"node_coverage": null,
"phone": "15367944",
"phone_mobile": "+5492262629097",
"phone_mobile_verified": true,
"state": "Buenos Aires",
"updated_at": "2021-08-04T10:40:31.203-03:00",
"zone_name": null
}Get Invoices
GET https://{merchant}.suricata-wispro.com.ar/api/invoicing?token={token}&q={id}&type={type}
Se utiliza este endpoint para obtener las facturas del cliente.
Body
merchant
string
merchant
token
string
token del merchant/integracion
id
number
id a realizar la busqueda
type
string
parametro a realizar la busqueda type: id/cod/dni/cuit
Response
Get Payment Links
GET https://{merchant}.suricata-wispro.com.ar/api/payment?token={token}&q={invoice}
Obtiene los links de pago
Primero debe realizarse el Get Invoices para obtener el Invoice ID.
Body
merchant
string
merchant
token
string
token del merchant/integracion
invoice
number
ID Invoice
Response
Promesa de pago
GET https://{merchnat}.suricata-wispro.com.ar/api/pp?token={token}&codcli={contrato}&fecha={date}
Endponit para la creción de promesas de pago
Se debe utilizar el ID del contrato obtenido previamente en el getdata
Body
merchant
string
Nombre del merchant
token
string
Token del merchant
codcli
string
ID del contrato
fecha
number
Fecha en formato AAAAMMDD
Response
Last updated