Skip to main content
GET
/
cupons
/
geradores
Listar geradores de cupom
curl --request GET \
  --url https://api-vendas.taximachine.com.br/api/v2/integracao/cupons/geradores \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'api-key: <api-key>'
{
  "success": true,
  "data": [
    {
      "id": "1",
      "nome": "Gerador sem limites",
      "tipo": "sem_limite",
      "data_hora_inicio": "2026-04-20T03:00:00Z",
      "data_hora_fim": "2027-04-20T03:00:00Z",
      "quantidade_maxima_cupons": "100",
      "quantidade_cupons_gerados": "38",
      "tipo_desconto": "percentual",
      "desconto": "50.00",
      "tipos_pagamentos": [
        {
          "tipo": "D",
          "nome": "Dinheiro"
        }
      ]
    }
  ]
}

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.

Response

Sucesso

The response is of type object.