Skip to main content
POST
/
entregas
/
empresas
/
creditos
/
saldo
/
consultar
Obter saldo da empresa
curl --request POST \
  --url https://api-vendas.taximachine.com.br/api/v2/integracao/entregas/empresas/creditos/saldo/consultar \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "empresa": {
    "identificacao": "<string>"
  }
}
'
{
  "success": true,
  "data": {
    "saldo": 508.63
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

api-key
string
header
required

Obrigatório. Sua chave API.

Body

application/json
empresa
object

Response

200 - application/json

Sucesso