Lookup a representative
/v1/representatives/{representative_id}
Retrieves the details of an existing representative. Supply the unique representative ID, and Straddle will return the corresponding representative information.
Path Parameters
representative_id: string
Header Parameters
"correlation-id": optional string
"request-id": optional string
Returns
Lookup a representative
curl https://sandbox.straddle.com/v1/representatives/$REPRESENTATIVE_ID \
-H "Authorization: Bearer $STRADDLE_API_KEY"
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"account_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"dob": "1980-01-01",
"email": "ron.swanson@pawnee.com",
"first_name": "Ron",
"last_name": "Swanson",
"mobile_number": "+12128675309",
"name": "name",
"relationship": {
"control": true,
"owner": true,
"primary": true,
"percent_ownership": 0,
"title": "title"
},
"ssn_last4": "1234",
"status": "created",
"status_detail": {
"code": "code",
"message": "message",
"reason": "unverified",
"source": "watchtower"
},
"updated_at": "2019-12-27T18:11:19.117Z",
"external_id": "external_id",
"metadata": {
"foo": "string"
},
"phone": "phone",
"user_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
},
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z"
},
"response_type": "object"
}Returns Examples
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"account_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"dob": "1980-01-01",
"email": "ron.swanson@pawnee.com",
"first_name": "Ron",
"last_name": "Swanson",
"mobile_number": "+12128675309",
"name": "name",
"relationship": {
"control": true,
"owner": true,
"primary": true,
"percent_ownership": 0,
"title": "title"
},
"ssn_last4": "1234",
"status": "created",
"status_detail": {
"code": "code",
"message": "message",
"reason": "unverified",
"source": "watchtower"
},
"updated_at": "2019-12-27T18:11:19.117Z",
"external_id": "external_id",
"metadata": {
"foo": "string"
},
"phone": "phone",
"user_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
},
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z"
},
"response_type": "object"
}