API version v1.0
Endpoint para consulta de saldo para la cuenta activa.
https://idvalueapi.com/sivale_api/v1/saldo
Parameter | Description | Optional | Default |
---|---|---|---|
Authorization | Llave para la Api asignada a la cuenta | XXXXXXXXXXXXXXXXXXXXXXX |
GET | https://idvalueapi.com/sivale_api/v1/saldo |
curl -X GET -k -H 'Authorization: XXXXXXXXXXXXXXXXXXXXXXX' -i 'https://idvalueapi.com/sivale_api/v1/saldo'
{
"Error": "False",
"Respuesta": "La API KEY proporcionada tiene una cuenta vigente",
"inicio": "2022-05-20",
"fin": "2022-06-28",
"saldo": 60740,
"curp": "3",
"ine_c": "0",
"ine_d": "0",
"ine_e": "0",
"cedula": "0",
"cfdi": "0",
"seccion": "0",
"estadistico": "0"
}
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://idvalueapi.com/sivale_api/v1/saldo',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Authorization: XXXXXXXXXXXXXXXXXXXXXXX'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Rate Limited | False |
Response Format | JSON |
Authentication | ApiKey |