Get a list of contribution types

GET /api/v1/static/contribution-types/{type}

Path parameters

  • type string Required

    Optional parameter. Type parameter is optional and defaults to 'plans' if not provided. Valid options are [plans, new-business-events]

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • name string
      • value string
GET /api/v1/static/contribution-types/{type}
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/static/contribution-types/{"value"=>"", "summary"=>"When the value is omitted"}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "name": "Initial",
      "value": "initial"
    },
    {
      "name": "Increment",
      "value": "increment"
    },
    {
      "name": "Decrement",
      "value": "decrement"
    },
    {
      "name": "Advice Point",
      "value": "advice_point"
    },
    {
      "name": "Pension Transfer",
      "value": "pension_transfer"
    },
    {
      "name": "Switch",
      "value": "switch"
    }
  ]
}