Valut Gateway
  1. Simulate
Valut Gateway
  • Overview
  • Webhooks
  • Error codes
  • Transactions
    • Criar uma Transação
      POST
    • Criar uma Transação Com 3DS
      POST
    • Criar uma Transação PIX
      POST
    • Estornar uma transação
      POST
    • Capturando uma Transação
      POST
    • Buscar Transação
      GET
    • Listar Transações
      GET
    • Retornar Histórico de uma Transação
      GET
    • Retornar Parcelas de uma transação
      GET
  • Payment Links
    • Criar Link
      POST
    • Atualizar Link
      PUT
    • Buscar Link
      GET
    • Listar Links
      GET
    • Transações de um link
      GET
  • Customer
    • Criar Cliente
      POST
    • Encontrar Cliente
      POST
    • Cartões do Cliente
      POST
    • Atualizar Cliente
      PUT
    • Buscar Cliente
      GET
    • Listar Clientes
      GET
    • Deletar um cliente
      DELETE
  • Cards
    • Criar Cartão
      POST
    • Obter Bandeira
      POST
    • Buscar Cartão
      GET
    • Listar Cartões
      GET
  • Webhook
    • Criar um webhook
    • Atualizar Webhook
    • Retornar Webhooks Cadastrados
    • Retornar um Webhook
    • Remover um Webhook
  • Simulate
    • Tax
      POST
  1. Simulate

Tax

POST
/v1/simulate/tax
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/simulate/tax' \
--header 'Content-Type: application/json' \
--data-raw '{
    "brand": "mastercard",
    "installments": 12,
    "amount": 19000,
    "fee_responsible": "customer"
}'
Response Response Example
200 - Tax - Customer - Tax - Customer
{
    "brand": "Mastercard",
    "product": "Crédito 12x",
    "plataformType": "E-COMMERCE",
    "grossAmount": 194.53,
    "netAmount": 190,
    "mdr": 2.33,
    "antecipationRate": 2,
    "antecipatedAmount": 225.11,
    "installments": [
        {
            "previsionPaymentDate": "2023-10-30T00:00:00",
            "grossAmount": 15.87,
            "netAmount": 16.22,
            "installment": 1,
            "antecipationRate": 2.066666666666667,
            "antecipatedAmount": 16.56
        },
        {
            "previsionPaymentDate": "2023-11-28T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 2,
            "antecipationRate": 4,
            "antecipatedAmount": 16.89
        },
        {
            "previsionPaymentDate": "2023-12-28T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 3,
            "antecipationRate": 6,
            "antecipatedAmount": 17.24
        },
        {
            "previsionPaymentDate": "2024-01-29T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 4,
            "antecipationRate": 8.133333333333333,
            "antecipatedAmount": 17.65
        },
        {
            "previsionPaymentDate": "2024-02-26T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 5,
            "antecipationRate": 10,
            "antecipatedAmount": 18.01
        },
        {
            "previsionPaymentDate": "2024-03-27T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 6,
            "antecipationRate": 12,
            "antecipatedAmount": 18.42
        },
        {
            "previsionPaymentDate": "2024-04-26T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 7,
            "antecipationRate": 14,
            "antecipatedAmount": 18.85
        },
        {
            "previsionPaymentDate": "2024-05-27T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 8,
            "antecipationRate": 16.066666666666666,
            "antecipatedAmount": 19.31
        },
        {
            "previsionPaymentDate": "2024-06-25T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 9,
            "antecipationRate": 18,
            "antecipatedAmount": 19.77
        },
        {
            "previsionPaymentDate": "2024-07-25T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 10,
            "antecipationRate": 20,
            "antecipatedAmount": 20.26
        },
        {
            "previsionPaymentDate": "2024-08-26T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 11,
            "antecipationRate": 22.133333333333333,
            "antecipatedAmount": 20.82
        },
        {
            "previsionPaymentDate": "2024-09-23T00:00:00",
            "grossAmount": 15.83,
            "netAmount": 16.21,
            "installment": 12,
            "antecipationRate": 24,
            "antecipatedAmount": 21.33
        }
    ],
    "saleTypeCode": "credit",
    "fees": "cliente"
}

Requisição

Parâmetros Bodyapplication/json
brand
string 
requerido
Bandeira
installments
integer 
requerido
Parcelas
amount
integer 
requerido
Valor
fee_responsible
string 
requerido
Responsibilidade da Taxa
Examples

Respostas

🟢200Tax - Customer
application/json
Body
brand
string 
requerido
product
string 
requerido
plataformType
string 
requerido
grossAmount
number 
requerido
netAmount
integer 
requerido
mdr
number 
requerido
antecipationRate
integer 
requerido
antecipatedAmount
number 
requerido
installments
array [object {6}] 
requerido
previsionPaymentDate
string 
requerido
grossAmount
number 
requerido
netAmount
number 
requerido
installment
integer 
requerido
antecipationRate
number  | integer 
requerido
antecipatedAmount
number 
requerido
saleTypeCode
string 
requerido
fees
string 
requerido
🟢200Tax - self (lojista)
Modificado em 2025-05-26 19:09:20
Página anterior
Remover um Webhook
Built with