Used for a TP to be able to update an existing user's PDS.
POST {{baseUrl}}/tp-data-shares
Used for a TP to share a User's Identity Attributes.
This API is optional.
Request Body
{"pds"=>"ZGZnZGVmZ2RnZGVnZXJnZXJncmRnZXJ5aGdld3J0eWJld3J5dHdleXd5d3l3cmFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh", "userConsent"=>"ACCEPT", "userProfileId"=>"df52649e-4096-456a-bca0-751ee470009f", "address"=>{"addressLine1"=>"36271 GrandRiver Ave", "addressLine2"=>"Building no 2", "addressZipCode"=>"48335", "addressCity"=>"Farmington", "addressSubdivision"=>"MO", "addressCountry"=>"USA", "value"=>"36271 GrandRiver Ave Building no 2 48335 Farmington MI USA", "lastVerifiedDate"=>"2021-02-19T10:55:58.165Z"}, "email"=>{"value"=>"person@mastercard.com", "lastVerifiedDate"=>"2021-02-19T10:55:58.165Z"}, "phone"=>{"value"=>"11234567890", "lastVerifiedDate"=>"2021-02-19T10:55:58.165Z"}}
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
{"pds":"ZGZnZGVmZ2RnZGVnZXJnZXJncmRnZXJ5aGdld3J0eWJld3J5dHdleXd5d3l3cmFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh"}