Endpoint para consulta de saldo para la cuenta activa.

Resource URL

https://idvalueapi.com/sivale_api/v1/saldo

Parameters

ParameterDescriptionOptionalDefault
Authorization Llave para la Api asignada a la cuenta XXXXXXXXXXXXXXXXXXXXXXX

Example

GET https://idvalueapi.com/sivale_api/v1/saldo

Request

  curl -X GET -k -H 'Authorization: XXXXXXXXXXXXXXXXXXXXXXX' -i 'https://idvalueapi.com/sivale_api/v1/saldo'  

Response

  {
 "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"
}  

Sample PHP Code

  $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;  

Resource Information

Rate Limited False
Response Format JSON
Authentication ApiKey