Back to neotek ↗Get Sandbox Access

ListProfileParties

GEThttps://test.api.neotek.sa/single-api-aggregator/v1/profile/parties/{account_id}

Sandbox URL · in Production call https://api.neotek.sa

Returns the parties on an account — who legally owns or is authorised on it, with their role and identity claims verified by the bank.

Path parameters:

ParameterRequiredDescription
account_idRequiredthe account to look up, an AccountId from ListProfileAccounts

Query parameters:

ParameterRequiredDescription
psu_idOptionalthe Payment Service User id: the identifier you assign to the customer in your own system. Use the same id you sent when creating the accounts link, since that is how Neotek resolves which consented accounts to return

Headers:

ParameterRequiredDescription
authorizationRequiredBearer <ACCESS_TOKEN>, with scope single_api
x-request-idOptionalan RFC 4122 UUID you generate; quote it when raising a support ticket
cURL
curl 'https://test.api.neotek.sa/single-api-aggregator/v1/profile/parties/{account_id}' \  -H 'Authorization: Bearer <ACCESS_TOKEN>'

Response (schema — each party carries VerifiedClaims: the Evidence the bank checked, the TrustFramework and AssuranceLevel it checked under, and the Claims that came back verified)

JSON
{    "Data": {        "AccountId": "string",        "Party": [            {                "PartyId": "string",                "PartyNumber": "string",                "PartyType": "string",                "VerifiedClaims": [                    {                        "Verification": {                            "Evidence": [                                {                                    "Type": "string",                                    "CheckDetails": [                                        "string"                                    ],                                    "Attachments": [                                        "string"                                    ],                                    "DocumentDetails": {                                        "Type": "string",                                        "SerialNumber": "string",                                        "PersonalNumber": "string",                                        "DocumentNumber": "string",                                        "CalendarType": "string"                                    }                                }                            ],                            "TrustFramework": "string",                            "AssuranceLevel": "string"                        },                        "Claims": {                            "Sub": "string",                            "Name": "string",                            "GivenName": "string",                            "FamilyName": "string",                            "Email": "string",                            "EmailVerified": true,                            "Gender": "string",                            "PhoneNumber": "string",                            "PhoneNumberVerified": true                        }                    }                ],                "AccountRole": "string"            }        ]    },    "Links": {        "Self": "string",        "First": "string",        "Last": "string"    },    "Meta": {        "TotalPages": 0    }}

Errors

ScenarioStatusCodeMessage
Missing required param400NTSP.ERROR.400.090One or more required API parameters are missing in the API request.
Invalid enum value400NTSP.ERROR.400.901Backend Invalid Request Body
Invalid/expired token401NTSP.ERROR.401.001Cannot pass the security checks that are required by the target API or operation…
No Authorization header401NTSP.ERROR.401.001Invalid client id or secret.
Wrong method405nullThe method is not allowed for the requested URL