Used for claims sharing for clients that are both a TP and RP.
POST {{baseUrl}}/tprp-claims
Returns the claims which satisfy the scopes in the request, based on
information provided in the PDS.
This API is optional.
Request Body
{"pds"=>"ZGZnZGVmZ2RnZGVnZXJnZXJncmRnZXJ5aGdld3J0eWJld3J5dHdleXd5d3l3cmFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh", "scopedFields"=>["all"], "userConsent"=>"ACCEPT", "tpAuditMetadata"=>{"sessionId"=>"be3ad617-04ad-43e1-a438-79425b6511b6", "transactionGroupId"=>"be3ad617-04ad-43e1-a438-79425b6511b6"}, "sdkVersion"=>"2.3.0"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-User-Identity | string | JWT token for session validation. Returned as response header in previous API calls with key X-User-Identity. | |
X-Encrypted-Payload | boolean | An indicator that the request is encrypted or indicates that the client is able to receive an encrypted response. If not set, the payload will be treated as plaintext. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"claims":{"driverLicense.firstName":"John","driverLicense.lastName":"Doe"},"transactionId":"1ec14310-e85c-11ea-adc1-0242ac120002","rpSpecificIdentifier":"46eb72430ffeca3daf31360264fa0424ba4facfdcb69c6f43e73063f290a75a8","pds":"ZGZnZGVmZ2RnZGVnZXJnZXJncmRnZXJ5aGdld3J0eWJld3J5dHdleXd5d3l3cmFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh","fraudDetectionMeta":{"score":{"value":0,"band":"GREEN","signals":["anonymous_ip"]}}}