Retrieve a Validation Request
GET/v1/validation-requests/:id
Retrieve a Validation Request
Request​
Path Parameters
id stringrequired
Id of the Validation Request.
Responses​
- 200
- 400
- 401
- 403
- 404
Successfully retrieved a Validation Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object
idstring
Example:
validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxnamestring
Example:
Some charityregistryNamestring
Example:
National Charities RegistryregistryIdstring
Charity's ID in registry
Example:
I34324emailemailnullable
Example:
test@percent.internaladdressLine1stringnullable
Example:
Testowa street 15addressLine2stringnullable
Example:
Testowa street 22/15citystringnullable
Example:
Katowicepostalstringnullable
Example:
44-100statestringnullable
Example:
Silesiawebsitewebsite
Example:
https://percent.internalorganisationIdstringnullable
Example:
organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxcountryCodestring
Example:
POLrejectionReasonstringnullabledeprecated
Reason for rejecting
Possible values: [Organisation is not a nonprofit., Organisation didn’t provide sufficient proof of nonprofit status., Organisation is a nonprofit but doesn’t have an official registry ID., Other]
rejectionReasonCodestringnullable
Reason code for rejecting
Possible values: [other, not_eligible, incorrect_documentation, not_attributable_to_registry]
usaGroupExemptbooleannullabledeprecated
createdAtdate-time
Example:
2020-10-13T17:46:54.000ZdeletedAtdate-timenullable
Example:
2020-10-13T17:46:54.000ZacceptedAtdate-timenullable
Example:
2020-10-13T17:46:54.000ZrejectedAtdate-timenullable
Example:
2020-10-13T17:46:54.000Zdocuments
object[]
idstring
Example:
validationrequestdocument_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxvalidationRequestIdstring
Example:
validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxurlstring
Example:
https://s3-eu-west-1.amazonaws.com/assets.poweredbypercent.com/document.docxcreatedAtdate-time
deletedAtdate-timenullable
organisationTypesstring[]
Possible values: [social_impact, nonprofit]
objectstring
Example:
validation_request{
"data": {
"id": "validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "Some charity",
"registryName": "National Charities Registry",
"registryId": "I34324",
"email": "test@percent.internal",
"addressLine1": "Testowa street 15",
"addressLine2": "Testowa street 22/15",
"city": "Katowice",
"postal": "44-100",
"state": "Silesia",
"website": "https://percent.internal",
"organisationId": "organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"countryCode": "POL",
"rejectionReasonCode": "other",
"createdAt": "2020-10-13T17:46:54.000Z",
"deletedAt": "2020-10-13T17:46:54.000Z",
"acceptedAt": "2020-10-13T17:46:54.000Z",
"rejectedAt": "2020-10-13T17:46:54.000Z",
"documents": [
{
"id": "validationrequestdocument_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"validationRequestId": "validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"url": "https://s3-eu-west-1.amazonaws.com/assets.poweredbypercent.com/document.docx",
"createdAt": "2024-07-29T15:51:28.071Z",
"deletedAt": "2024-07-29T15:51:28.071Z"
}
],
"organisationTypes": [
"social_impact"
]
},
"object": "validation_request"
}
Error validating inputs
- application/json
- Schema
- Example (from schema)
Schema
error
object
codestring
Example:
bad_requesttitlestring
Example:
Bad requestmessagestring
Example:
One or more of the inputs were invalidreasonsstring[]
{
"error": {
"code": "bad_request",
"title": "Bad request",
"message": "One or more of the inputs were invalid",
"reasons": [
"pageSize must be greater than or equal to 0"
]
}
}
Unauthorized
Forbidden (scope)
- application/json
- Schema
- Example (from schema)
Schema
error
object
codestring
Example:
forbiddentitlestring
Example:
Forbiddenmessagestring
Example:
Access is denied due to missing scope permissions{
"error": {
"code": "forbidden",
"title": "Forbidden",
"message": "Access is denied due to missing scope permissions"
}
}
The specified resource was not found
- application/json
- Schema
- Example (from schema)
Schema
error
object
codestring
Example:
not_foundtitlestring
Example:
Resource not foundmessagestring
Example:
This endpoint is unavailable or can not be found{
"error": {
"code": "not_found",
"title": "Resource not found",
"message": "This endpoint is unavailable or can not be found"
}
}