Pular para o conteúdo
Esc
↑↓navegar↵abrir⌘Jpré-visualizar

Retrieve a verification

GET/verifications/{id}
Autorização
AuthorizationToken Bearer · headerobrigatório

A BillionSend API key (bs_…).

Parâmetros de caminho
idstring<uuid>obrigatório
Respostas
200

One verification run: its status, and its results once completed

objectstringobrigatório
Valores permitidos:verification
idstring<uuid>obrigatório
statusstringobrigatório

queued, submitted (being verified), completed or failed

Valores permitidos:queuedsubmittedcompletedfailed
failure_reasonstring | nullobrigatório

Why a failed run failed; nothing is billed for it

Valores permitidos:timeoutprovider_failedprovider_rejectedresults_unreadablesubmit_failednull
totalintegerobrigatório

Contacts in the run

countsobject | nullobrigatório

Results by verdict once the run completed

billableinteger | nullobrigatório

Addresses with a definite verdict, which is what is billed (unknown is free)

grant_usedinteger | nullobrigatório

Of billable, covered by the free credit

meteredinteger | nullobrigatório

Of billable, billed on the monthly invoice

created_atstringobrigatório
finished_atstring | nullobrigatório
401

Missing, malformed, unknown or revoked API key

statusCodenumberobrigatório
namestringobrigatório
messagestringobrigatório
404

Not found

statusCodenumberobrigatório
namestringobrigatório
messagestringobrigatório
422

Validation error

statusCodenumberobrigatório
namestringobrigatório
messagestringobrigatório
429

Over the rate limit (rate_limit_exceeded, with Retry-After)

statusCodenumberobrigatório
namestringobrigatório
messagestringobrigatório
Experimentar
Servidor
Autorização
Parâmetros
Requisição
curl -X GET 'https://api.billionsend.com/verifications/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Resposta
{
  "object": "verification",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "status": "queued",
  "failure_reason": "timeout",
  "total": 0,
  "counts": {
    "property1": 0,
    "property2": 0
  },
  "billable": 0,
  "grant_used": 0,
  "metered": 0,
  "created_at": "string",
  "finished_at": "string"
}

Esta página foi útil?