Skip to main content
GET
/
fees
/
{feeId}
Buscar Taxa
curl --request GET \
  --url https://api.example.com/fees/{feeId} \
  --header 'Authorization: <authorization>'
{
  "feeId": "019525fd-8f54-7d6b-c3e9-5f7a9b1d3e5b",
  "externalProductRef": "prod_stripe_abc",
  "externalPriceRef": "price_stripe_abc",
  "externalBillingMeterRef": "meter_stripe_abc",
  "name": "API Calls",
  "description": "Per-API-call usage fee",
  "eventName": "api.call",
  "currency": "BRL",
  "status": "ACTIVE",
  "createdBy": "019525fd-56a8-7db4-8c3e-2a1b4d6f8e0c",
  "createdAt": "2026-01-01T00:00:00.000Z",
  "updatedBy": "019525fd-56a8-7db4-8c3e-2a1b4d6f8e0c",
  "updatedAt": "2026-01-01T00:00:00.000Z"
}
Requer permissao fee:read.

Headers

Authorization
string
required
Bearer token.

Parametros de Path

feeId
string
required
ID da taxa.

Resposta

feeId
string
ID da taxa.
externalProductRef
string
External product reference.
externalPriceRef
string
External price reference.
externalBillingMeterRef
string
External billing meter reference.
name
string
Nome da taxa.
description
string
Descricao da taxa.
eventName
string
Event name.
currency
string
Codigo da moeda.
status
string
Status da taxa.
createdBy
string
Identificador do criador.
createdAt
string
Timestamp de criacao.
updatedBy
string
Identificador do ultimo atualizador.
updatedAt
string
Timestamp da ultima atualizacao.
{
  "feeId": "019525fd-8f54-7d6b-c3e9-5f7a9b1d3e5b",
  "externalProductRef": "prod_stripe_abc",
  "externalPriceRef": "price_stripe_abc",
  "externalBillingMeterRef": "meter_stripe_abc",
  "name": "API Calls",
  "description": "Per-API-call usage fee",
  "eventName": "api.call",
  "currency": "BRL",
  "status": "ACTIVE",
  "createdBy": "019525fd-56a8-7db4-8c3e-2a1b4d6f8e0c",
  "createdAt": "2026-01-01T00:00:00.000Z",
  "updatedBy": "019525fd-56a8-7db4-8c3e-2a1b4d6f8e0c",
  "updatedAt": "2026-01-01T00:00:00.000Z"
}

Exemplos de Codigo

curl https://api.awsales.io/admin/fees/019525fd-8f54-7d6b-c3e9-5f7a9b1d3e5b \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Codigos de Erro

StatusCodigoDescricao
400validation_errorEntrada invalida ou campos obrigatorios ausentes
401unauthorizedAutenticacao ausente ou invalida
403forbiddenPermissoes insuficientes
404fee.not_foundTaxa nao encontrada
500internal_server_errorOcorreu um erro inesperado