Skip to main content
POST
/
recarregarCreditosEmpresa
Recarregar créditos da empresa
curl --request POST \
  --url https://api-vendas.taximachine.com.br/api/integracao/recarregarCreditosEmpresa \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "valor": 123,
  "empresa": {
    "identificacao": "<string>"
  },
  "observacao": "<string>"
}
'
{
  "success": true,
  "response": {
    "registro_id": 12345
  }
}

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
valor
number<float>
required
empresa
object
required
observacao
string

Response

200 - application/json

Sucesso