API aberta · Checkout: configuração
Listar bandeiras de cartão
get
/api/open/v1/card-brandsEm resumo
GET /api/open/v1/card-brands- Chave
readouread_write. - Sucesso:
200com uma lista.
AuthorizationstringheaderobrigatórioChave de API no formato Bearer ttw_live_<prefixo>_<segredo>, criada em Integrações → Chaves de API. Este endpoint precisa de chave read ou read_write.
Resposta 200
lista de objetosidstring<uuid>obrigatórioIdentificador único (UUID).
codeenum<string>obrigatórioCódigo.
Valores aceitos:
visamastereloamexhiperothernamestringobrigatórioNome.
activebooleanobrigatórioAtivo (`true`) ou inativo (`false`). Inativos somem das buscas e da agenda.
curl --request GET \
--url 'https://qa-tratow.ips.app.br/api/open/v1/card-brands' \
--header 'Authorization: Bearer <chave>'[
{
"id": "3f6c1b2a-4c7a-4d9e-8b1f-2e5d6a7b4c9d",
"code": "visa",
"name": "Maria Lima",
"active": true
}
]Os valores são ilustrativos.
