PIX pricing
package main
import ( "fmt" "net/http" "io")
func main() {
url := "https://api.feitpay.com/v1/pix/pricing"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("FeitPay-Environment", "test") req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(res) fmt.Println(string(body))
}const url = 'https://api.feitpay.com/v1/pix/pricing';const options = { method: 'GET', headers: {'FeitPay-Environment': 'test', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.feitpay.com/v1/pix/pricing \ --header 'Authorization: Bearer <token>' \ --header 'FeitPay-Environment: test'PIX fees, minimums and availability for the caller’s environment (ADR-0036). PIX works with Brazilian bank accounts only.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Active organization for dashboard sessions. Ignored for API keys (the key determines the organization).
test (default) or live for dashboard sessions. API keys determine the environment. Until the platform is in production, configuration (stores, webhook endpoints, payment links) is live and money movement answers payments_not_enabled.
Responses
Section titled “Responses”PIX pricing.
What PIX costs on this platform (ADR-0036). PIX works with Brazilian bank accounts only (payers and payout keys). Each PIX received (payments and balance deposits) pays the tier of its amount, at least minimum_fee, deducted when it is credited; a PIX payout pays payout_fee (plus payout_percent), and each one is between minimum_payout and maximum_payout (any number of payouts).
object
New payments and deposits in BRL can accept PIX in this environment.
PIX works only with Brazilian bank accounts.
In order; the first tier whose bound holds applies (up_to null = no upper bound).
object
The bound itself belongs to this tier (amount <= up_to).
Smallest fee per PIX received (BRL).
Fixed fee per PIX payout (BRL), all of it: on a payout it is fee (the transfer fee) plus the fixed part of platform_fee. Null when PIX payouts are unavailable.
FeitPay percentage on PIX payouts (usually 0).
Largest single PIX payout (BRL, gross); larger ones are refused with amount_above_maximum and any number of payouts can be requested. Null when there is no maximum or PIX payouts are unavailable.
A new PIX key can be used after this delay (security).
Example
{ "object": "pix_pricing", "currency": "BRL", "brazil_only": true, "tiers": [ { "percent": "2" } ]}Missing or invalid credentials.
object
object
Stable machine-readable reason. Known values are listed in ErrorCode; clients localize by code and show message (English) only for a code they do not know. New codes may be added at any time.
Human-readable explanation in English.
Example
{ "error": { "type": "invalid_request_error" }}Authenticated but not permitted. Any route may also answer request_blocked when abuse protection has blocked the client IP for a while.
object
object
Stable machine-readable reason. Known values are listed in ErrorCode; clients localize by code and show message (English) only for a code they do not know. New codes may be added at any time.
Human-readable explanation in English.
Example
{ "error": { "type": "invalid_request_error" }}Too many requests. See Retry-After.
object
object
Stable machine-readable reason. Known values are listed in ErrorCode; clients localize by code and show message (English) only for a code they do not know. New codes may be added at any time.
Human-readable explanation in English.
Example
{ "error": { "type": "invalid_request_error" }}