Get charity details
GET/v1/auth/company/charities/:id
Get charity details
Request
Path Parameters
Unique ID of the transaction to retrieve.
Responses
- 200
- 401
- 402
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
Array [
]
]
cents id of the charity
The name of the charity
Stripe ID of the charity
sectors to be used for blacklist/whitelist from company gateway side
List of sectors of companies to be excluded
List of companies to be exclude
List of sectors of companies to be included, if empty all companies will be included
List of companies to be included, if empty all companies will be included
areas
object[]
The region of action
The country of action
categories
undefined[]
Cents ID of the category
Category name
Category description
causes
undefined[]
name
object
The name of the cause
The key of the cause
translations
object
The translations
The english translation
The italian translation
description
object
The english translation
The italian translation
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Fondazione Umberto Venovesi",
"stripe_id": "ch_zo0p1q2r3s4t5u6v7w8x9y0",
"sectors": [
[
"Public Sector"
]
],
"company_blacklist_sectors": [
[
"sector 1",
"sector 2"
]
],
"company_blacklist": [
[
"company_id_1",
"company_id_2"
]
],
"company_whitelist_sectors": [
[
"sector 1",
"sector 2"
]
],
"company_whitelist": [
[
"company_id_1",
"company_id_2"
]
],
"areas": [
{
"region": "Kenya",
"country": "Africa"
}
],
"categories": [
{
"category_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Alberi",
"description": "Seminiamo Alberi",
"causes": [
{
"name": {
"key": "Cause",
"translations": {
"en": "Cause",
"it": "Causa"
}
},
"description": {
"en": "Cause Description",
"it": "Descrizione Causa"
}
}
]
}
]
}
Unauthorized
Payment Required