Atualizar taxas
Atualiza as taxas de um vendedor específico
Autorizações
Corpo
idSellerintegerObrigatório
Id do vendedor que se deseja alterar as taxas (Exemplo 123)
observationstringOpcional
Observações sobre a alteração das taxas (Exemplo "Alterar taxas")
Respostas
200
Taxas atualizadas com sucesso
application/json
Respostastring
400
Requisição inválida
application/json
401
Erro de autenticação
application/json
403
Acesso negado
application/json
422
Erro de validação
application/json
501
Método inválido
application/json
patch
PATCH /v2/seller/rates HTTP/1.1
Host: sandbox-api.barte.com
X-Token-Api: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 901
{
"idSeller": 123,
"currentSellerRatesRequest": {
"pixConfigData": {
"delayForRedeem": 2,
"rate": 0.2,
"rateLimitValue": 10000
},
"debitCardConfigData": {
"delayForRedeem": 1,
"rate": 1.99,
"rateType": "value"
},
"bankSlipConfigData": {
"delayForRedeem": 1,
"value": 4,
"rate": 4,
"rateType": "value",
"rateLimitValue": 10000
},
"sightCreditCardConfigData": {
"delayForRedeem": 2,
"rate": 3.17
},
"earlyCreditCardConfigData": {
"delayForRedeem": 2,
"buyerRates": {
"2x": 4.93,
"3x": 8.3,
"4x": 9,
"5x": 9.59,
"6x": 10.2,
"7x": 10.7,
"8x": 11.3,
"9x": 12.8,
"10x": 14.95,
"11x": 12.15,
"12x": 15.9,
"13x": 17.58,
"14x": 18.64,
"15x": 19.7,
"16x": 20.78,
"17x": 21.87,
"18x": 22.97,
"19x": 24.08,
"20x": 24.11,
"21x": 24.74
},
"sellerRates": {
"2x": 4.93,
"3x": 8.3,
"4x": 9,
"5x": 9.59,
"6x": 10.2,
"7x": 10.7,
"8x": 11.3,
"9x": 12.8,
"10x": 14.95,
"11x": 12.15,
"12x": 15.9,
"13x": 17.58,
"14x": 18.64,
"15x": 19.7,
"16x": 20.78,
"17x": 21.87,
"18x": 22.97,
"19x": 24.08,
"20x": 24.11,
"21x": 24.74
}
}
},
"observation": "Alterar taxas"
}
Alterado com sucesso
Atualizado
Isto foi útil?