DataMerch status for a deal
curl --request GET \
--url https://api.nextlevelmca.com/v1/deals/{id}/datamerch \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nextlevelmca.com/v1/deals/{id}/datamerch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/deals/{id}/datamerch"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"connected": true,
"enabled": true,
"auto_check": true,
"default_query": {
"type": "ein",
"label": "<string>"
},
"can_search_by_name": true,
"latest": {
"id": "<string>",
"query_type": "ein",
"query_label": "<string>",
"matched": true,
"match_count": 123,
"note_count": 123,
"categories": [
"<string>"
],
"merchants": [
{
"fein": "<string>",
"legal_name": "<string>",
"dba": "<string>",
"address": "<string>",
"street1": "<string>",
"street2": "<string>",
"city": "<string>",
"state": "<string>",
"business_phone": "<string>",
"business_startdate": "<string>",
"industry": "<string>",
"notes": [
{
"category": "<string>",
"note": "<string>",
"created_at": "<string>",
"added_by": "<string>"
}
]
}
],
"error": "<string>",
"checked_at": "<string>",
"checked_by_name": "<string>",
"cached": true
}
},
"meta": {}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}DataMerch
DataMerch status for a deal
Whether the workspace has connected its own DataMerch account, whether it checks new deals automatically, what a check would send (the 9-digit EIN on file, else the legal name), and the latest check for this deal’s business. DataMerch is the industry’s shared record of merchant history: defaults, slow pays and other notes filed by funders.
GET
/
v1
/
deals
/
{id}
/
datamerch
DataMerch status for a deal
curl --request GET \
--url https://api.nextlevelmca.com/v1/deals/{id}/datamerch \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nextlevelmca.com/v1/deals/{id}/datamerch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/deals/{id}/datamerch"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"connected": true,
"enabled": true,
"auto_check": true,
"default_query": {
"type": "ein",
"label": "<string>"
},
"can_search_by_name": true,
"latest": {
"id": "<string>",
"query_type": "ein",
"query_label": "<string>",
"matched": true,
"match_count": 123,
"note_count": 123,
"categories": [
"<string>"
],
"merchants": [
{
"fein": "<string>",
"legal_name": "<string>",
"dba": "<string>",
"address": "<string>",
"street1": "<string>",
"street2": "<string>",
"city": "<string>",
"state": "<string>",
"business_phone": "<string>",
"business_startdate": "<string>",
"industry": "<string>",
"notes": [
{
"category": "<string>",
"note": "<string>",
"created_at": "<string>",
"added_by": "<string>"
}
]
}
],
"error": "<string>",
"checked_at": "<string>",
"checked_by_name": "<string>",
"cached": true
}
},
"meta": {}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}Was this page helpful?