cURL
curl --request GET \ --url https://api.astronpay.co/api/v1/fee-tiers \ --header 'x-api-key: <api-key>' \ --header 'x-api-secret: <api-key>'
[ { "id": "uuid", "orderType": "PAYIN", "minVolumeBrl": 0, "maxVolumeBrl": 10000, "platformFeePercentage": 0.005, "merchantFeePercentage": 0.01, "totalFeePercentage": 0.015 }, { "id": "uuid", "orderType": "PAYIN", "minVolumeBrl": 10000, "maxVolumeBrl": null, "platformFeePercentage": 0.004, "merchantFeePercentage": 0.008, "totalFeePercentage": 0.012 } ]
Retorna as taxas configuradas por faixa de volume para cada tipo de ordem (PAYIN e PAYOUT). Cada faixa inclui o percentual da plataforma (fixo) e o percentual do merchant (configurável). Use o query param orderType para filtrar.
orderType
PAYIN
PAYOUT
OK
0
10000
0.005
0.01
0.015