DesenvolvedoresReferência da APIAcessos liberados
Listar acessos liberados
GET
Benefícios concedidos aos clientes, do mais recente para o mais antigo, com filtros por status, cliente, pedido e assinatura.
Chave: Só chave secreta (chamada pelo servidor).
Escopo: deliveries:read.
chaveSecretaheader
AutorizaçãoBearer <chave de API>Chave secreta (sk_…). Use só no servidor; requisições de navegador (com Origin) são recusadas.
limit?integerItens por página (1 a 100).
Intervalo
1 <= value <= 100Padrão
20cursor?stringValor de meta.pagination.nextCursor da página anterior.
Tamanho
length <= 200status?stringValue in
"pending""active""revoked""expired"customerId?stringFormato
uuidorderId?stringFormato
uuidsubscriptionId?stringFormato
uuidSucesso.
application/json- response
data*array<>meta*curl -X GET 'https://minepag.com.br/api/v1/entitlements'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "benefitId": "551f0400-d5b0-411f-b487-14e33a04c610", "benefitType": "download", "benefitName": "string", "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5", "orderItemId": "33207bce-c741-4896-a76b-8afcf6e4179a", "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f", "status": "pending", "quantity": -9007199254740991, "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z", "revokedAt": "2019-08-24T14:15:22Z", "revokeReason": "refund", "createdAt": "2019-08-24T14:15:22Z" } ], "meta": { "requestId": "string", "pagination": { "limit": -9007199254740991, "hasMore": true, "nextCursor": "string" } }}