POST api2/hooks/anedotactionpages/{companyID}/{id}

Anedot Action Pages Callback

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyID

integer

Required

id

integer

Required

Body Parameters

Root
NameDescriptionTypeAdditional information
event

string

None.

payload

Payload

None.

Request Format

{
  "event": "sample string 1",
  "payload": {
    "submission_id": "sample string 1",
    "donation": {
      "id": "sample string 1",
      "donation_project": "sample string 2",
      "products": [
        {
          "internal_identifier": "sample string 1",
          "name": "sample string 2"
        },
        {
          "internal_identifier": "sample string 1",
          "name": "sample string 2"
        }
      ],
      "fees": {
        "anedot_fees": {
          "amount": "sample string 1"
        },
        "vendor_fees": [
          {},
          {}
        ]
      }
    },
    "origin": "sample string 2",
    "commitment_uid": "sample string 3",
    "event_amount": "sample string 4",
    "amount_in_dollars": "sample string 5",
    "net_amount": "sample string 6",
    "frequency": "sample string 7",
    "action_page_id": "sample string 8",
    "action_page_name": "sample string 9",
    "donor_profile_id": "sample string 10",
    "payment_method_id": "sample string 11",
    "created_at": "sample string 12",
    "updated_at": "sample string 13",
    "address_line_1": "sample string 14",
    "address_line_2": "sample string 15",
    "address_city": "sample string 16",
    "address_region": "sample string 17",
    "address_postal_code": "sample string 18",
    "address_country": "sample string 19",
    "email": "sample string 20",
    "phone": "sample string 21",
    "first_name": "sample string 22",
    "last_name": "sample string 23",
    "middle_name": "sample string 24",
    "occupation": "sample string 25",
    "employer_name": "sample string 26",
    "title": "sample string 27",
    "suffix": "sample string 28",
    "ip_address": "sample string 29",
    "recurring": "sample string 30",
    "is_recurring_commitment": "sample string 31",
    "referrer": "sample string 32",
    "referrer_to_form": "sample string 33",
    "custom_field_responses": {
      "turn_up": "sample string 1"
    },
    "communications_consent_email": "sample string 34",
    "communications_consent_phone": "sample string 35",
    "currently_employed": "sample string 36"
  }
}

Response Information

Resource Description

Collection of Empty

None.

Response Format

[
  {},
  {}
]