put https://hub-sandbox.cappta.com.br/plan/
Através deste endpoint, os usuários podem efetuar modificações específicas nos detalhes de um plano. As únicas propriedades suscetíveis a alterações são o nome do plano e as taxas associadas.
{
"Id": 1,
"Name": "Plano tal",
"product": "POS",
"type": "Reseller",
"basePlanId": 1,
"settlementDays": 1,
"schemes": [
{
"id": 1,
"fees": [
{ "installments": 1, "rate": 0.3 }
]
},
{
"id": 2,
"fees": [
{ "installments": 1, "rate": 0.3 }
]
},
{
"id": 3,
"fees": [
{ "installments": 1, "rate": 0.3 }
]
},
{
"id": 4,
"fees": [
{ "installments": 1, "rate": 0.3 }
]
},
{
"id": 5,
"fees": [
{ "installments": 1, "rate": 0.3 }
]
},
{
"id":6,
"fees": [
{ "installments": 1, "rate": 3 },
{ "installments": 2, "rate": 4 },
{ "installments": 3, "rate": 5 },
{ "installments": 4, "rate": 6 },
{ "installments": 5, "rate": 7 },
{ "installments": 6, "rate": 8 },
{ "installments": 7, "rate": 9 },
{ "installments": 8, "rate": 10 },
{ "installments": 9, "rate": 11 },
{ "installments": 10, "rate": 12 },
{ "installments": 11, "rate": 13 },
{ "installments": 12, "rate": 14 },
{ "installments": 13, "rate": 15 },
{ "installments": 14, "rate": 16 },
{ "installments": 15, "rate": 17 },
{ "installments": 16, "rate": 18 },
{ "installments": 17, "rate": 19 },
{ "installments": 18, "rate": 20 }
]
},
{
"id": 7,
"fees": [
{ "installments": 1, "rate": 3 },
{ "installments": 2, "rate": 4 },
{ "installments": 3, "rate": 5 },
{ "installments": 4, "rate": 6 },
{ "installments": 5, "rate": 7 },
{ "installments": 6, "rate": 8 },
{ "installments": 7, "rate": 9 },
{ "installments": 8, "rate": 10 },
{ "installments": 9, "rate": 11 },
{ "installments": 10, "rate": 12 },
{ "installments": 11, "rate": 13 },
{ "installments": 12, "rate": 14 },
{ "installments": 13, "rate": 15 },
{ "installments": 14, "rate": 16 },
{ "installments": 15, "rate": 17 },
{ "installments": 16, "rate": 18 },
{ "installments": 17, "rate": 19 },
{ "installments": 18, "rate": 20 }
]
},
{
"id": 8,
"fees": [
{ "installments": 1, "rate": 3 },
{ "installments": 2, "rate": 4 },
{ "installments": 3, "rate": 5 },
{ "installments": 4, "rate": 6 },
{ "installments": 5, "rate": 7 },
{ "installments": 6, "rate": 8 },
{ "installments": 7, "rate": 9 },
{ "installments": 8, "rate": 10 },
{ "installments": 9, "rate": 11 },
{ "installments": 10, "rate": 12 },
{ "installments": 11, "rate": 13 },
{ "installments": 12, "rate": 14 },
{ "installments": 13, "rate": 15 },
{ "installments": 14, "rate": 16 },
{ "installments": 15, "rate": 17 },
{ "installments": 16, "rate": 18 },
{ "installments": 17, "rate": 19 },
{ "installments": 18, "rate": 20 }
]
},
{
"id": 9,
"fees": [
{ "installments": 1, "rate": 3 },
{ "installments": 2, "rate": 4 },
{ "installments": 3, "rate": 5 },
{ "installments": 4, "rate": 6 },
{ "installments": 5, "rate": 7 },
{ "installments": 6, "rate": 8 },
{ "installments": 7, "rate": 9 },
{ "installments": 8, "rate": 10 },
{ "installments": 9, "rate": 11 },
{ "installments": 10, "rate": 12 },
{ "installments": 11, "rate": 13 },
{ "installments": 12, "rate": 14 },
{ "installments": 13, "rate": 15 },
{ "installments": 14, "rate": 16 },
{ "installments": 15, "rate": 17 },
{ "installments": 16, "rate": 18 },
{ "installments": 17, "rate": 19 },
{ "installments": 18, "rate": 20 }
]
},
{
"id": 10,
"fees": [
{ "installments": 1, "rate": 3 },
{ "installments": 2, "rate": 4 },
{ "installments": 3, "rate": 5 },
{ "installments": 4, "rate": 6 },
{ "installments": 5, "rate": 7 },
{ "installments": 6, "rate": 8 },
{ "installments": 7, "rate": 9 },
{ "installments": 8, "rate": 10 },
{ "installments": 9, "rate": 11 },
{ "installments": 10, "rate": 12 },
{ "installments": 11, "rate": 13 },
{ "installments": 12, "rate": 14 },
{ "installments": 13, "rate": 15 },
{ "installments": 14, "rate": 16 },
{ "installments": 15, "rate": 17 },
{ "installments": 16, "rate": 18 },
{ "installments": 17, "rate": 19 },
{ "installments": 18, "rate": 20 }
]
},
{
"id": 11,
"fees": [
{ "installments": 1, "rate": 3 },
{ "installments": 2, "rate": 4 },
{ "installments": 3, "rate": 5 },
{ "installments": 4, "rate": 6 },
{ "installments": 5, "rate": 7 },
{ "installments": 6, "rate": 8 },
{ "installments": 7, "rate": 9 },
{ "installments": 8, "rate": 10 },
{ "installments": 9, "rate": 11 },
{ "installments": 10, "rate": 12 },
{ "installments": 11, "rate": 13 },
{ "installments": 12, "rate": 14 },
{ "installments": 13, "rate": 15 },
{ "installments": 14, "rate": 16 },
{ "installments": 15, "rate": 17 },
{ "installments": 16, "rate": 18 },
{ "installments": 17, "rate": 19 },
{ "installments": 18, "rate": 20 }
]
}
]
}