Skip to main content

Ambiente

Defines the API environment for connecting to Akatus services. Namespace: Akatus.Enums

Values

testes
Ambiente
Test environment for development and testing
producao
Ambiente
Production environment for live transactions

Example

using Akatus.Enums;

Ambiente env = Ambiente.testes;

MeioDePagamento

Defines the available payment methods for transactions. Namespace: Akatus.Enums

Values

boleto
MeioDePagamento
Bank slip (boleto bancário)
tef_itau
MeioDePagamento
Electronic transfer - Itaú bank
tef_bradesco
MeioDePagamento
Electronic transfer - Bradesco bank
cartao_visa
MeioDePagamento
Visa credit card
cartao_master
MeioDePagamento
Mastercard credit card
cartao_amex
MeioDePagamento
American Express credit card
cartao_elo
MeioDePagamento
Elo credit card
cartao_diners
MeioDePagamento
Diners Club credit card

Example

using Akatus.Enums;

carrinho.Transacao.MeioDePagamento = MeioDePagamento.cartao_master;

TipoTelefone

Defines the types of phone numbers. Namespace: Akatus.Enums

Values

comercial
TipoTelefone
Business/commercial phone number
residencial
TipoTelefone
Residential phone number
celular
TipoTelefone
Mobile/cell phone number

Example

using Akatus.Enums;

Akatus.Carrinho.PagadorTelefone telefone = new Akatus.Carrinho.PagadorTelefone();
telefone.Tipo = TipoTelefone.celular;
telefone.Numero = "7199990000";
carrinho.Pagador.Telefones.Add(telefone);

TipoEndereco

Defines the types of addresses. Namespace: Akatus.Enums

Values

entrega
TipoEndereco
Delivery/shipping address
comercial
TipoEndereco
Business/commercial address

Example

using Akatus.Enums;

Akatus.Carrinho.PagadorEndereco endereco = new Akatus.Carrinho.PagadorEndereco();
endereco.Tipo = TipoEndereco.entrega;
endereco.Logradouro = "Rua Teste da Silva";
endereco.Numero = 0;
carrinho.Pagador.Enderecos.Add(endereco);

StatusTransacao

Defines the possible transaction statuses. Namespace: Akatus.Enums

Values

aguardandoPagamento
StatusTransacao
Waiting for payment
emAnalise
StatusTransacao
Under analysis/review
aprovado
StatusTransacao
Approved
cancelado
StatusTransacao
Canceled
processando
StatusTransacao
Processing
completo
StatusTransacao
Complete
devolvido
StatusTransacao
Returned/refunded
estornado
StatusTransacao
Reversed/chargedback
chargeback
StatusTransacao
Chargeback

Example

using Akatus.Enums;

Akatus.ConsultaStatus.Consulta consulta = new Akatus.ConsultaStatus.Consulta();
Akatus.ConsultaStatus.Retorno retorno = consulta.consultaStatusTransacao("00000000-0000-0000-0000-0000000000");

if (retorno.Status == StatusTransacao.aprovado)
{
    // Handle approved transaction
}

Build docs developers (and LLMs) love