Skip to main content
POST
/
recarregarCreditosCondutor
Recarregar créditos do condutor
curl --request POST \
  --url https://api-vendas.taximachine.com.br/api/integracao/recarregarCreditosCondutor \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "condutor": {
    "tipo_identificacao": "I",
    "identificacao": "5601"
  },
  "valor": "1"
}
'
{
  "success": true,
  "response": {
    "registro_id": "12512"
  }
}

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
condutor
object
required

Obrigatório. Objeto para identificar o condutor.

valor
required

Valor a ser recarregado.

Response

Sucesso ou falha de negócio

The response is of type object.