---
updatedAt: 2025-10-23T05:34:16.000Z
---

# Profiles - Retrieve Consumer Profile - Return Receivers

```json JSON
curl --request GET \
     --url 'https://sandboxapi.moneygram.com/consumer/v2/profiles/afe6218c-8958-4c2b-8209-16aa6225c65e?targetAudience=AGENT_FACING&agentPartnerId=30150519&userLanguage=en-US&returnReceivers=true' \
     --header 'X-MG-ClientRequestId: 4c79b06f-a2af-4859-82c8-28cbb0bf361b' \
     --header 'accept: application/json' \
     --header 'authorization: Bearer VScp0xjUmueI3Af3Y6v4GLTaz11q'
```

```node Node
import moneygramDeveloper from '@api/moneygram-developer';

moneygramDeveloper.auth('VScp0xjUmueI3Af3Y6v4GLTaz11q');
moneygramDeveloper.getConsumerProfileInfo({
  targetAudience: 'AGENT_FACING',
  agentPartnerId: '30150519',
  userLanguage: 'en-US',
  returnReceivers: 'true',
  profileId: 'afe6218c-8958-4c2b-8209-16aa6225c65e',
  'X-MG-ClientRequestId': '4c79b06f-a2af-4859-82c8-28cbb0bf361b'
})
  .then(({ data }) => console.log(data))
  .catch(err => console.error(err));
```

```python Python
import requests

url = "https://sandboxapi.moneygram.com/consumer/v2/profiles/afe6218c-8958-4c2b-8209-16aa6225c65e?targetAudience=AGENT_FACING&agentPartnerId=30150519&userLanguage=en-US&returnReceivers=true"

headers = {
    "accept": "application/json",
    "X-MG-ClientRequestId": "4c79b06f-a2af-4859-82c8-28cbb0bf361b",
    "authorization": "Bearer VScp0xjUmueI3Af3Y6v4GLTaz11q"
}

response = requests.get(url, headers=headers)

print(response.text)
```

```java Java
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://sandboxapi.moneygram.com/consumer/v2/profiles/afe6218c-8958-4c2b-8209-16aa6225c65e?targetAudience=AGENT_FACING&agentPartnerId=30150519&userLanguage=en-US&returnReceivers=true")
  .get()
  .addHeader("accept", "application/json")
  .addHeader("X-MG-ClientRequestId", "4c79b06f-a2af-4859-82c8-28cbb0bf361b")
  .addHeader("authorization", "Bearer VScp0xjUmueI3Af3Y6v4GLTaz11q")
  .build();

Response response = client.newCall(request).execute();
```

```json Response Example
{
  "consumer": {
    "name": {
      "firstName": "John",
      "lastName": "SMith"
    },
    "address": {
      "line1": "100 Main St",
      "city": "Dallas",
      "countrySubdivisionCode": "US-TX",
      "countryCode": "USA",
      "postalCode": "75001"
    },
    "phone": {
      "number": "5553213258",
      "countryDialCode": "1"
    },
    "personalDetails": {
      "dateOfBirth": "1985-02-15",
      "politicalExposedPerson": false
    },
    "additionalFamilyNames": [
      {}
    ]
  }
}
```

# Return Receivers

<!-- json@2 -->
<!-- node@8 -->
<!-- python@3 -->
<!-- java@4 -->

Include the `returnReceivers` query parameter in the Retrieve Consumer Profiles API to optionally return all the receivers associated with the consumer and the last transaction sent to each receiver.