Criar Plano de Taxas

Criar plano de taxas

post
/v2/payfac/rate-plans

Cria um plano para o intermediador sem associar a um vendedor

Authorizations
Body
namestringRequired

Nome do plano de taxas

Example: test plan
Responses
200

Plano de taxas criado com sucesso

application/json
post
/v2/payfac/rate-plans
POST /v2/payfac/rate-plans HTTP/1.1
Host: api.barte.com
X-Token-Api: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2746

{
  "name": "test plan",
  "tax": {
    "pix": {
      "delayForRedeem": 1,
      "value": 0.5,
      "rateType": "PERCENTAGE",
      "valueLimit": 5000
    },
    "bankSlip": {
      "delayForRedeem": 1,
      "value": 2.5,
      "rateType": "FIXED"
    },
    "debit": {
      "delayForRedeem": 1,
      "value": 1.2,
      "rateType": "PERCENTAGE"
    },
    "credit": {
      "online": {
        "delayForRedeem": 8,
        "default": {
          "sellerRates": [
            4,
            3.9,
            2,
            3,
            4,
            5,
            4,
            3,
            1,
            3,
            1,
            3,
            5,
            3.9,
            2,
            3,
            4,
            5,
            4,
            3,
            1,
            3,
            1,
            3
          ]
        },
        "mastercard": {
          "sellerRates": [
            1.5,
            3.5,
            2.5,
            3.2,
            4.1,
            4.8,
            4.2,
            3.3,
            1.2,
            2.9,
            1.1,
            2.8,
            4.6,
            3.6,
            2.4,
            3.1,
            4,
            4.7,
            4.3,
            3.4,
            1.3,
            2.7,
            1,
            2.9
          ]
        },
        "visa": {
          "sellerRates": [
            1.6,
            3.4,
            2.6,
            3.1,
            4.2,
            4.9,
            4.1,
            3.2,
            1.3,
            2.8,
            1.2,
            2.7,
            4.7,
            3.7,
            2.3,
            3,
            4.1,
            4.8,
            4.4,
            3.5,
            1.4,
            2.6,
            1.1,
            2.8
          ]
        },
        "hipercard": {
          "sellerRates": [
            1.8,
            3.6,
            2.8,
            3.4,
            4.3,
            5,
            4.5,
            3.6,
            1.5,
            3.1,
            1.4,
            3,
            4.8,
            3.8,
            2.6,
            3.3,
            4.2,
            4.9,
            4.6,
            3.7,
            1.6,
            2.8,
            1.3,
            3.1
          ]
        },
        "elo": {
          "sellerRates": [
            1.7,
            3.3,
            2.7,
            3,
            4,
            4.7,
            4,
            3.1,
            1.4,
            2.7,
            1.3,
            2.6,
            4.5,
            3.5,
            2.5,
            2.9,
            3.9,
            4.6,
            4.2,
            3.3,
            1.5,
            2.5,
            1.2,
            2.7
          ]
        },
        "discover": {
          "sellerRates": [
            1.9,
            3.7,
            2.9,
            3.5,
            4.4,
            5.1,
            4.6,
            3.7,
            1.6,
            3.2,
            1.5,
            3.1,
            4.9,
            3.9,
            2.7,
            3.4,
            4.3,
            5,
            4.7,
            3.8,
            1.7,
            2.9,
            1.4,
            3.2
          ]
        },
        "american_express": {
          "sellerRates": [
            2,
            3.8,
            3,
            3.6,
            4.5,
            5.2,
            4.7,
            3.8,
            1.7,
            3.3,
            1.6,
            3.2,
            5,
            4,
            2.8,
            3.5,
            4.4,
            5.1,
            4.8,
            3.9,
            1.8,
            3,
            1.5,
            3.3
          ]
        }
      },
      "pos": {
        "delayForRedeem": 31,
        "default": {
          "sellerRates": [
            5,
            3.9,
            2,
            3,
            4,
            5,
            4,
            3,
            1,
            3,
            1,
            3,
            5,
            3.9,
            2,
            3,
            4,
            5,
            4,
            3,
            1,
            3,
            1,
            3
          ]
        },
        "mastercard": {
          "sellerRates": [
            4.5,
            3.5,
            2.5,
            3.2,
            4.1,
            4.8,
            4.2,
            3.3,
            1.2,
            2.9,
            1.1,
            2.8,
            4.6,
            3.6,
            2.4,
            3.1,
            4,
            4.7,
            4.3,
            3.4,
            1.3,
            2.7,
            1,
            2.9
          ]
        },
        "visa": {
          "sellerRates": [
            4.4,
            3.4,
            2.4,
            3.1,
            4,
            4.7,
            4.1,
            3.2,
            1.1,
            2.8,
            1,
            2.7,
            4.5,
            3.5,
            2.3,
            3,
            3.9,
            4.6,
            4.2,
            3.3,
            1.2,
            2.6,
            0.9,
            2.8
          ]
        },
        "hipercard": {
          "sellerRates": [
            4.6,
            3.6,
            2.6,
            3.3,
            4.2,
            4.9,
            4.3,
            3.4,
            1.3,
            3,
            1.2,
            2.9,
            4.7,
            3.7,
            2.5,
            3.2,
            4.1,
            4.8,
            4.4,
            3.5,
            1.4,
            2.8,
            1.1,
            3
          ]
        },
        "elo": {
          "sellerRates": [
            4.3,
            3.3,
            2.3,
            3,
            3.9,
            4.6,
            4,
            3.1,
            1,
            2.7,
            0.9,
            2.6,
            4.4,
            3.4,
            2.2,
            2.9,
            3.8,
            4.5,
            4.1,
            3.2,
            1.1,
            2.5,
            0.8,
            2.7
          ]
        },
        "discover": {
          "sellerRates": [
            4.7,
            3.7,
            2.7,
            3.4,
            4.3,
            5,
            4.4,
            3.5,
            1.4,
            3.1,
            1.3,
            3,
            4.8,
            3.8,
            2.6,
            3.3,
            4.2,
            4.9,
            4.5,
            3.6,
            1.5,
            2.9,
            1.2,
            3.1
          ]
        },
        "american_express": {
          "sellerRates": [
            4.8,
            3.8,
            2.8,
            3.5,
            4.4,
            5.1,
            4.5,
            3.6,
            1.5,
            3.2,
            1.4,
            3.1,
            4.9,
            3.9,
            2.7,
            3.4,
            4.3,
            5,
            4.6,
            3.7,
            1.6,
            3,
            1.3,
            3.2
          ]
        }
      },
      "tap": {
        "delayForRedeem": 31,
        "default": {
          "sellerRates": [
            5,
            3.9,
            2,
            3,
            4,
            5,
            4,
            3,
            1,
            3,
            1,
            3,
            5,
            3.9,
            2,
            3,
            4,
            5,
            4,
            3,
            1,
            3,
            1,
            3
          ]
        },
        "mastercard": {
          "sellerRates": [
            4.5,
            3.5,
            2.5,
            3.2,
            4.1,
            4.8,
            4.2,
            3.3,
            1.2,
            2.9,
            1.1,
            2.8,
            4.6,
            3.6,
            2.4,
            3.1,
            4,
            4.7,
            4.3,
            3.4,
            1.3,
            2.7,
            1,
            2.9
          ]
        },
        "visa": {
          "sellerRates": [
            4.4,
            3.4,
            2.4,
            3.1,
            4,
            4.7,
            4.1,
            3.2,
            1.1,
            2.8,
            1,
            2.7,
            4.5,
            3.5,
            2.3,
            3,
            3.9,
            4.6,
            4.2,
            3.3,
            1.2,
            2.6,
            0.9,
            2.8
          ]
        },
        "hipercard": {
          "sellerRates": [
            4.6,
            3.6,
            2.6,
            3.3,
            4.2,
            4.9,
            4.3,
            3.4,
            1.3,
            3,
            1.2,
            2.9,
            4.7,
            3.7,
            2.5,
            3.2,
            4.1,
            4.8,
            4.4,
            3.5,
            1.4,
            2.8,
            1.1,
            3
          ]
        },
        "elo": {
          "sellerRates": [
            4.3,
            3.3,
            2.3,
            3,
            3.9,
            4.6,
            4,
            3.1,
            1,
            2.7,
            0.9,
            2.6,
            4.4,
            3.4,
            2.2,
            2.9,
            3.8,
            4.5,
            4.1,
            3.2,
            1.1,
            2.5,
            0.8,
            2.7
          ]
        },
        "discover": {
          "sellerRates": [
            4.7,
            3.7,
            2.7,
            3.4,
            4.3,
            5,
            4.4,
            3.5,
            1.4,
            3.1,
            1.3,
            3,
            4.8,
            3.8,
            2.6,
            3.3,
            4.2,
            4.9,
            4.5,
            3.6,
            1.5,
            2.9,
            1.2,
            3.1
          ]
        },
        "american_express": {
          "sellerRates": [
            4.8,
            3.8,
            2.8,
            3.5,
            4.4,
            5.1,
            4.5,
            3.6,
            1.5,
            3.2,
            1.4,
            3.1,
            4.9,
            3.9,
            2.7,
            3.4,
            4.3,
            5,
            4.6,
            3.7,
            1.6,
            3,
            1.3,
            3.2
          ]
        }
      }
    }
  }
}
{
  "id": 1
}

Last updated

Was this helpful?