Fetch Digital Passport Owner Profile

Retrieve the owner wallet address of a specific digital passport and the associated wallet profile.

Workflow

Let's start 🚀

URL

To fetch the owner of a specific digital passport, use /productManagement/product/:productId/ownerOf.

GET - https://{{url}}/productManagement/product/:productId/ownerOf

Return Payload

Status CodeSuccessDescription
200trueThe wallet owner data are returned.
{
    "owner": "0x38e22E8d61022ce2b08B9c1Cb437939afeF3C128",
    "walletProfile": {
        "issuers": [
            {
                "issuer": "0x305051e9a023fe881EE21cA43fd90c460B427Caa",
                "chainId": 77
            }
        ],
        "lastSeenCountry": "France",
        "lastSeenCountryEventTime": 1707302265880,
        "mostConnectedCountry": "France",
        "lastBlockchainInteraction": 1707916955000,
        "updatedat": 1707918242596,
        "publicKey": "0x38e22E8d61022ce2b08B9c1Cb437939afeF3C128",
        "hashedWallet": "651cab7e65a479ec43cc3ddb74c17906c3c72ea084751826f58136254c9c8f2b",
        "isCustodial": false,
        "walletApps": [
            {
                "appId": 15493,
                "appName": "Wallet_Android",
                "language": "French",
                "lastConnection": 1707302265880,
                "isReachable": true,
                "isOptin": true,
                "lastPushSentDate": 1707916989000,
                "lastPushOpenDate": 1706518274000,
                "lastReachabilityTime": 1693399374000
            }
        ],
        "lastPushSentDate": 1695123568000,
        "lastPushOpenDate": null,
        "eventName": "nmp.walletProfile"
    }
}

Error

Status CodeSuccessDescription
404falseThe product ID may be wrong
{
    "message": "This productId doesnt exists",
    "code": "nmp.productManagement.PRODUCT_ID_NOT_EXISTS"
}