Get Address Verifications#

Returns the address verifications status and reasons if the verification was rejected.

Request#

HTTP Method: GET

URI Path: /v3/address_verifications

URI Query Parameters#

Name

Type

Is Required?

Description

filter[<filter_name>]

string

No

Filtering

include

string

No

Inclusion

Includes#

Value

Description

address

Addresses Object

dids

DID Object

dids.did_group

DID Group Object

Filters#

Filter Name

Type

Allow Blank

Allow Array

Filters by:

address.id

string

Yes

Yes

The address.id field.

address.identity.id

string

Yes

Yes

The address.identity.id field.

status

string

No

No

The status field.

reference

string

No

Yes

The reference field.

Sparse Fieldsets#

Value

Returns:

service_description

The service_description attribute.

callback_url

The callback_url attribute.

callback_method

The callback_method attribute.

status

The status attribute.

reject_reasons

The reject_reasons attribute.

reference

The reference attribute.

created_at

The created_at attribute.

Examples#

http

1GET /v3/address_verifications HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]

curl

1curl -i -X GET https://api.didww.com/v3/address_verifications -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"

response

 1HTTP/1.1 200 OK
 2Content-Type: application/vnd.api+json
 3
 4{
 5   "data": [
 6      {
 7            "id": "40c315d2-255c-410f-9af7-6b288c3f8ba4",
 8            "type": "address_verifications",
 9            "attributes": {
10               "service_description": "testing",
11               "callback_url": null,
12               "callback_method": null,
13               "status": "Rejected",
14               "reject_reasons": "The DID cannot be used for the indicated service",
15               "reference": "EGE-764403",
16               "created_at": "2021-03-22T06:24:58.295Z"
17            },
18            "relationships": {
19               "dids": {
20                  "links": {
21                        "self": "https://sandbox-api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/relationships/dids",
22                        "related": "https://sandbox-api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/dids"
23                  }
24               },
25               "address": {
26                  "links": {
27                        "self": "https://sandbox-api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/relationships/address",
28                        "related": "https://sandbox-api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/address"
29                  }
30               }
31            }
32      }
33   ],
34   "meta": {
35      "total_records": 1,
36      "api_version": "2022-05-10"
37   },
38   "links": {
39      "first": "https://sandbox-api.didww.com/v3/address_verifications?page%5Bnumber%5D=1&page%5Bsize%5D=50",
40      "last": "https://sandbox-api.didww.com/v3/address_verifications?page%5Bnumber%5D=1&page%5Bsize%5D=50"
41   }
42}

Other Responses#

Code

Success

Description

401

No

Unauthorized