DesenvolvedoresReferência da APIEntregas

Consultar entrega

GET
/deliveries/{id}

Status, tentativas, último erro e link de download (quando houver) de uma entrega.

Chave: Só chave secreta (chamada pelo servidor).

Escopo: deliveries:read.

Autorização

chaveSecreta
headerAutorizaçãoBearer <chave de API>

Chave secreta (sk_…). Use só no servidor; requisições de navegador (com Origin) são recusadas.

Parâmetros de caminho

id*string
Formatouuid

Corpo da resposta

Sucesso.

application/json
  1. response
data*
meta*
curl -X GET 'https://minepag.com.br/api/v1/deliveries/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "entitlementId": "79a605b5-f302-4c5d-bbc7-cbd58f1a9b0d",    "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",    "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",    "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",    "benefitId": "551f0400-d5b0-411f-b487-14e33a04c610",    "channel": "minecraft",    "kind": "grant",    "status": "pending",    "attempts": -9007199254740991,    "maxAttempts": -9007199254740991,    "nextAttemptAt": "2019-08-24T14:15:22Z",    "error": {      "code": "string",      "message": "string"    },    "externalReference": "string",    "downloadUrl": "string",    "createdAt": "2019-08-24T14:15:22Z",    "completedAt": "2019-08-24T14:15:22Z"  },  "meta": {    "requestId": "string"  }}