post https://app1.compliancely.com/api/v1/kyb/canada/cra/
Search for charities and certain other qualified donees
Request and Response Object Structures.
{
"name": string,
"business_number": string
}
{
"results": [
{
"id": integer,
"entity_name": string,
"address": string,
"created_at": string,
"updated_at": string,
"created_by": string,
"search_type": string,
"status": string,
"raw_data": [],
"message": string
}
]
}
Sample Requests and Responses.
{
"name": "allan",
"business_number": ""
}
{
"success_message": "Record created successfully",
"data": {
"id": 273,
"entity_name": "allan",
"address": "canada",
"created_at": "2022-09-07T15:05:58.588994Z",
"updated_at": "2022-09-07T15:05:58.589012Z",
"created_by": "compliancely",
"search_type": "KYB",
"status": "Pending",
"service_status": "RUNNING",
"raw_data": []
},
"success": true
}
{
"errors": [
{
"code": "name",
"message": "Either Business Name or Charity Business Number field is required"
},
{
"business_number": "name",
"message": "Either Business Name or Charity Business Number field is required"
}
],
"data": {
"name": "",
"business_number": "",
"search_flag": "CRA"
},
"success": false
}
{
"detail": "Authentication credentials were not provided."
}
{
"status": 0,
"custom_credit_message": [
"Credit limit reached! For assistance, please contact the support"
]
}
{
"detail": "Invalid token."
}
{
"detail": "Invalid token header. No credentials provided."
}