Skip to main content

Create a Validation Request

POST 

/v1/validation-requests

Create a Validation Request

Request​

Header Parameters

    Idempotency-Key string

    Idempotency key

Body

required

    namestringrequired

    Name of the charity to validate

    Possible values: <= 500 characters

    registryNamestringrequired

    Name of charity's registry

    Possible values: <= 255 characters

    registryIdstringrequired

    Charity's id in registry

    Possible values: <= 255 characters

    emailstring

    Possible values: <= 255 characters

    Example: test@goodstack.internal
    addressLine1string

    Possible values: <= 255 characters

    Example: Testowa street 15
    addressLine2string

    Possible values: <= 255 characters

    Example: Testowa street 22/15
    citystring

    Possible values: <= 255 characters

    Example: Katowice
    postalstring

    Possible values: <= 255 characters

    Example: 44-100
    statestring

    Possible values: <= 255 characters

    Example: Silesia
    websitewebsiterequired

    Possible values: <= 255 characters

    Example: https://goodstack.internal
    countryCodestringrequired
    Example: POL
    usaGroupExemptboolean

Responses​

Successfully created a Validation Request

Schema

    data

    object

    idstring
    Example: validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    namestring
    Example: Some charity
    registryNamestring
    Example: National Charities Registry
    registryIdstring

    Charity's ID in registry

    Example: I34324
    emailemailnullable
    Example: test@percent.internal
    addressLine1stringnullable
    Example: Testowa street 15
    addressLine2stringnullable
    Example: Testowa street 22/15
    citystringnullable
    Example: Katowice
    postalstringnullable
    Example: 44-100
    statestringnullable
    Example: Silesia
    websitewebsite
    Example: https://percent.internal
    organisationIdstringnullable
    Example: organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    countryCodestring
    Example: POL
    rejectionReasonstringnullabledeprecated

    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.000Z
    deletedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z
    acceptedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z
    rejectedAtdate-timenullable
    Example: 2020-10-13T17:46:54.000Z

    documents

    object[]

  • Array [

  • idstring
    Example: validationrequestdocument_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    validationRequestIdstring
    Example: validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    urlstring
    Example: https://s3-eu-west-1.amazonaws.com/assets.poweredbypercent.com/document.docx
    createdAtdate-time
    deletedAtdate-timenullable
  • ]

  • organisationTypesstring[]

    Possible values: [social_impact, nonprofit]

    objectstring
    Example: validation_request