---
updatedAt: 2026-07-06T21:12:02.000Z
agentTools:
  projectIndex: https://developers.raisely.com/llms.txt
---

# register

Registers a user and creates a fundraisng profile for them and also (optionally)
creates or adds them to a team, makes a donation or registration fee.

**Campaign API key authentication:** When the request is authenticated with a
campaign secret key (Authorization header, Bearer raisely-sk-...) and the
explicit-user rollout is enabled for the organisation, you must supply data.user
with the registrant's details (email, firstName, lastName, password, etc.). User
fields must be nested under data.user — top-level data.firstName, data.email,
and similar fields are not read. Omitting data.user returns 400 invalid value.
The registrant may be any user (matched by email within the campaign's
organisation), including the API key owner. JWT or session authentication is
unchanged (a logged-in user may register without data.user).

If creation is successful, the response will include a token and accessToken.
However, if a user with that email already exists in the campaign, the user
will be sent an email to confirm that they want to add the profile to their account.

The records are created simultaneously in full or not at all.
If there is a problem with the donation or profile, then all records
will not be created.

The exception is for donations. If the Stripe gateway is using the PAYMENT_INTENT
method, then the donation must already be created to facilitate payment, the
donation is completed (or fails) as part of the registration.

If the registration is successful, the donation record will be assigned to the profile
once it's created.

#### For custom components:
`RaiselyComponents.api.one('campaigns', '{campaign}').all('register').post(data = {}, params = {}, headers = {}) => Promise<{result}>`

 :fa-gears: See [Restie Response Data](https://github.com/raisely/restie#reading-and-handling-responses) for a more detailed overview of responses through the client wrapper

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-samples-languages": [
    "curl",
    "javascript",
    "node",
    "php",
    "python",
    "ruby",
    "go"
  ],
  "security": [
    {},
    {
      "BearerAuth": []
    }
  ],
  "components": {
    "parameters": {
      "AuthOptional": {
        "in": "header",
        "name": "Authorization",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "A valid HTTP Bearer token, required to access private records."
      },
      "Private": {
        "in": "query",
        "name": "private",
        "required": false,
        "schema": {
          "type": "boolean"
        },
        "description": "Returns the full record when authenticated"
      },
      "Campaign": {
        "in": "path",
        "name": "campaign",
        "required": true,
        "schema": {
          "type": "string"
        },
        "description": "The `uuid`, `path` or domain of the campaign to associate with the request"
      }
    },
    "schemas": {
      "nestedProfile": {
        "title": "Profile",
        "type": "object",
        "properties": {
          "activityTotal": {
            "type": "integer",
            "example": 2625,
            "description": "`public` The total contribution of this profile towards its activity goal",
            "readOnly": true
          },
          "activityTotalPercent": {
            "type": "integer",
            "example": 2625,
            "description": "`public` The percentage of the total activity measure compared to the profile goal (out of 100)",
            "readOnly": true
          },
          "campaignDisplayTotal": {
            "type": "integer",
            "example": 2625,
            "description": "`public` The total amount raised by a profile (in the currency of the campaign)",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "`public` Date the record was created",
            "readOnly": true
          },
          "currency": {
            "type": "string",
            "example": "AUD",
            "description": "`public` 3 letter currency code"
          },
          "description": {
            "type": "string",
            "example": "I believe in a better world",
            "description": "`public` Public description of the fundraiser profile"
          },
          "donationCount": {
            "type": "integer",
            "example": 12345,
            "description": "`public` Total donations made to this profile and it's children. (excluded matched gifts)",
            "readOnly": true
          },
          "donationRecordCount": {
            "type": "integer",
            "example": 12345,
            "description": "`public` Every donation record on this profile regardless of status or mode (same scope as permanent-delete validation, broader than donationCount).",
            "readOnly": true
          },
          "exerciseGoal": {
            "type": "integer",
            "example": 12345,
            "description": "`public` The exercise distance goal for the profile, in metres"
          },
          "exerciseGoalTime": {
            "type": "integer",
            "example": 12345,
            "description": "`public` The time spent exercising goal for the profile, in minutes"
          },
          "exerciseTotal": {
            "type": "integer",
            "example": 2625,
            "description": "`public` The total distance of exercise completed, in metres",
            "readOnly": true
          },
          "exerciseTotalTime": {
            "type": "integer",
            "example": 2625,
            "description": "`public` The total amount of time exercising, in minutes",
            "readOnly": true
          },
          "facebookFundraiserId": {
            "type": "string",
            "description": "`public` Facebook Fundraiser ID linked to the profile"
          },
          "fundraiserTheme": {
            "type": "string",
            "example": "birthday",
            "description": "`public` Path of the DIY fundraiser theme selected by the fundraiser"
          },
          "goal": {
            "type": "integer",
            "example": 100050,
            "description": "`public` Fundraising target (in cents)"
          },
          "individualProfileCount": {
            "type": "integer",
            "example": 12345,
            "description": "`public` Number of individual profiles that have joined this profile (or it's descendants)",
            "readOnly": true
          },
          "isCampaignProfile": {
            "type": "boolean",
            "example": true,
            "description": "`public` Shows true if this profile is the campaign profile",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "example": "Bob D.",
            "description": "`public` The name of the profile"
          },
          "nonSelfDonationTotal": {
            "type": "integer",
            "example": 2625,
            "description": "`public` The total amount raised by a profile excluding self-donations (in the currency of the campaign)",
            "readOnly": true
          },
          "organisationProfileCount": {
            "type": "integer",
            "example": 12345,
            "description": "`public` Number of team profiles that have joined this profile (or it's descendants)",
            "readOnly": true
          },
          "paid": {
            "type": "boolean",
            "example": true,
            "description": "`public` Flagged as true if this profile was used as part of a paid registration"
          },
          "path": {
            "type": "string",
            "example": "bobd",
            "description": "`public` The path of this record (for alternative lookup)",
            "additionalProperties": true
          },
          "photoUrl": {
            "type": "string",
            "example": "https://raisely-images.imgix.net/www/uploads/t-03-arl-8-es-uhhqua-4-pr-f-4865431-df-58-512-png-08e3f5.png",
            "description": "`public` URL of the profile photo"
          },
          "private": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "`public` Private values for this record",
            "additionalProperties": true
          },
          "pronouns": {
            "type": "string",
            "description": "`public` Pronouns of the profile"
          },
          "public": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "`public` Public values for this record",
            "additionalProperties": true
          },
          "selfDonationTotal": {
            "type": "integer",
            "example": 2625,
            "description": "`public` The total amount raised by self-donations for an individual profile (in the currency of the campaign)",
            "readOnly": true
          },
          "shared": {
            "type": "boolean",
            "example": true,
            "description": "`public` Flag that determines if a profile has been shared by its owner"
          },
          "status": {
            "type": "string",
            "example": "ACTIVE",
            "description": "`public` ACTIVE, DELETED, or PURGED",
            "enum": [
              "ACTIVE",
              "DELETED",
              "PURGED"
            ]
          },
          "subscriptionCount": {
            "type": "integer",
            "example": 12345,
            "description": "`public` Subscriptions associated with this profile (same scope as permanent-delete validation).",
            "readOnly": true
          },
          "teamProfileCount": {
            "type": "integer",
            "example": 12345,
            "description": "`public` Number of team profiles that have joined this profile (or it's descendants)",
            "readOnly": true
          },
          "type": {
            "type": "string",
            "example": "INDIVIDUAL",
            "description": "`public` INDIVIDUAL, GROUP or ORGANISATION",
            "enum": [
              "INDIVIDUAL",
              "GROUP",
              "ORGANISATION"
            ]
          },
          "uniqueDonors": {
            "type": "integer",
            "example": 12345,
            "description": "`public` Total unique donors to the profile",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "`public` Date the record was last updated",
            "readOnly": true
          },
          "uuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "`public` Unique identifier for the record",
            "readOnly": true
          }
        }
      },
      "createProfile": {
        "title": "Profile",
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "example": "AUD",
            "description": "3 letter currency code\nExamples: `AUD`, `USD`\n"
          },
          "description": {
            "type": "string",
            "example": "I believe in a better world",
            "description": "Public description of the fundraiser profile\nExample: `I believe in a better world`\n"
          },
          "exerciseGoal": {
            "type": "integer",
            "example": 12345,
            "description": "The exercise distance goal for the profile, in metres\nExample: `12345`\n"
          },
          "exerciseGoalTime": {
            "type": "integer",
            "example": 12345,
            "description": "The time spent exercising goal for the profile, in minutes\nExample: `12345`\n"
          },
          "fundraiserTheme": {
            "type": "string",
            "example": "birthday",
            "description": "Path of the DIY fundraiser theme selected by the fundraiser\nExamples: `birthday`, `bake-sale`\n"
          },
          "goal": {
            "type": "integer",
            "example": 100050,
            "description": "Fundraising target (in cents)\nExample: `100050`\n"
          },
          "name": {
            "type": "string",
            "example": "Bob D.",
            "description": "The name of the profile\nExample: `Bob D.`\n"
          },
          "path": {
            "type": "string",
            "example": "bobd",
            "description": "The path of this record (for alternative lookup)\nExample: `bobd`\n",
            "additionalProperties": true
          },
          "photoUrl": {
            "type": "string",
            "example": "https://raisely-images.imgix.net/www/uploads/t-03-arl-8-es-uhhqua-4-pr-f-4865431-df-58-512-png-08e3f5.png",
            "description": "URL of the profile photo\nExample: `https://raisely-images.imgix.net/www/uploads/t-03-arl-8-es-uhhqua-4-pr-f-4865431-df-58-512-png-08e3f5.png`\n"
          },
          "private": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "Private values for this record\nExample: `{\n  \"fieldA\": \"one\",\n  \"fieldB\": \"yes\"\n}`\n",
            "additionalProperties": true
          },
          "pronouns": {
            "type": "string",
            "description": "Pronouns of the profile"
          },
          "public": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "Public values for this record\nExample: `{\n  \"fieldA\": \"one\",\n  \"fieldB\": \"yes\"\n}`\n",
            "additionalProperties": true
          },
          "type": {
            "type": "string",
            "example": "INDIVIDUAL",
            "description": "INDIVIDUAL, GROUP or ORGANISATION\nExamples: `INDIVIDUAL`, `GROUP`, `ORGANISATION`\n",
            "enum": [
              "INDIVIDUAL",
              "GROUP",
              "ORGANISATION"
            ]
          }
        }
      },
      "createResultProfile": {
        "title": "Profile",
        "type": "object",
        "properties": {
          "activityTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total contribution of this profile towards its activity goal",
            "readOnly": true
          },
          "activityTotalPercent": {
            "type": "integer",
            "example": 2625,
            "description": "The percentage of the total activity measure compared to the profile goal (out of 100)",
            "readOnly": true
          },
          "campaignDisplayTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total amount raised by a profile (in the currency of the campaign)",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "Date the record was created",
            "readOnly": true
          },
          "currency": {
            "type": "string",
            "example": "AUD",
            "description": "3 letter currency code"
          },
          "description": {
            "type": "string",
            "example": "I believe in a better world",
            "description": "Public description of the fundraiser profile"
          },
          "donationCount": {
            "type": "integer",
            "example": 12345,
            "description": "Total donations made to this profile and it's children. (excluded matched gifts)",
            "readOnly": true
          },
          "donationRecordCount": {
            "type": "integer",
            "example": 12345,
            "description": "Every donation record on this profile regardless of status or mode (same scope as permanent-delete validation, broader than donationCount).",
            "readOnly": true
          },
          "exerciseGoal": {
            "type": "integer",
            "example": 12345,
            "description": "The exercise distance goal for the profile, in metres"
          },
          "exerciseGoalTime": {
            "type": "integer",
            "example": 12345,
            "description": "The time spent exercising goal for the profile, in minutes"
          },
          "exerciseTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total distance of exercise completed, in metres",
            "readOnly": true
          },
          "exerciseTotalTime": {
            "type": "integer",
            "example": 2625,
            "description": "The total amount of time exercising, in minutes",
            "readOnly": true
          },
          "facebookFundraiserId": {
            "type": "string",
            "description": "Facebook Fundraiser ID linked to the profile"
          },
          "fundraiserTheme": {
            "type": "string",
            "example": "birthday",
            "description": "Path of the DIY fundraiser theme selected by the fundraiser"
          },
          "goal": {
            "type": "integer",
            "example": 100050,
            "description": "Fundraising target (in cents)"
          },
          "individualProfileCount": {
            "type": "integer",
            "example": 12345,
            "description": "Number of individual profiles that have joined this profile (or it's descendants)",
            "readOnly": true
          },
          "isCampaignProfile": {
            "type": "boolean",
            "example": true,
            "description": "Shows true if this profile is the campaign profile",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "example": "Bob D.",
            "description": "The name of the profile"
          },
          "nonSelfDonationTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total amount raised by a profile excluding self-donations (in the currency of the campaign)",
            "readOnly": true
          },
          "organisationProfileCount": {
            "type": "integer",
            "example": 12345,
            "description": "Number of team profiles that have joined this profile (or it's descendants)",
            "readOnly": true
          },
          "paid": {
            "type": "boolean",
            "example": true,
            "description": "Flagged as true if this profile was used as part of a paid registration"
          },
          "path": {
            "type": "string",
            "example": "bobd",
            "description": "The path of this record (for alternative lookup)",
            "additionalProperties": true
          },
          "photoUrl": {
            "type": "string",
            "example": "https://raisely-images.imgix.net/www/uploads/t-03-arl-8-es-uhhqua-4-pr-f-4865431-df-58-512-png-08e3f5.png",
            "description": "URL of the profile photo"
          },
          "pronouns": {
            "type": "string",
            "description": "Pronouns of the profile"
          },
          "public": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "Public values for this record",
            "additionalProperties": true
          },
          "selfDonationTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total amount raised by self-donations for an individual profile (in the currency of the campaign)",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "example": "ACTIVE",
            "description": "ACTIVE, DELETED, or PURGED",
            "enum": [
              "ACTIVE",
              "DELETED",
              "PURGED"
            ]
          },
          "subscriptionCount": {
            "type": "integer",
            "example": 12345,
            "description": "Subscriptions associated with this profile (same scope as permanent-delete validation).",
            "readOnly": true
          },
          "teamProfileCount": {
            "type": "integer",
            "example": 12345,
            "description": "Number of team profiles that have joined this profile (or it's descendants)",
            "readOnly": true
          },
          "type": {
            "type": "string",
            "example": "INDIVIDUAL",
            "description": "INDIVIDUAL, GROUP or ORGANISATION",
            "enum": [
              "INDIVIDUAL",
              "GROUP",
              "ORGANISATION"
            ]
          },
          "uniqueDonors": {
            "type": "integer",
            "example": 12345,
            "description": "Total unique donors to the profile",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "Date the record was last updated",
            "readOnly": true
          },
          "uuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "Unique identifier for the record",
            "readOnly": true
          },
          "teamProfile": {
            "description": "The fundraising team this profile belongs to",
            "$ref": "#/components/schemas/nestedProfile"
          },
          "organisationProfile": {
            "description": "The fundraising organisation this profile belongs to",
            "$ref": "#/components/schemas/nestedProfile"
          }
        }
      },
      "createUser": {
        "title": "User",
        "type": "object",
        "properties": {
          "address1": {
            "type": "string",
            "example": "31 Sunset Boulevard",
            "description": "Line 1 of an address\nExample: `31 Sunset Boulevard`\n"
          },
          "address2": {
            "type": "string",
            "example": "Unit 31b",
            "description": "Line 2 of an address\nExample: `Unit 31b`\n"
          },
          "adminSettings": {
            "type": "object",
            "description": "Object containing settings for admin users",
            "properties": {}
          },
          "country": {
            "type": "string",
            "example": "AU",
            "description": "The country of the user\nExamples: `AU`, `GB`, `US`\n"
          },
          "email": {
            "type": "string",
            "example": "harveymilk@example.com",
            "description": "The user's email address. Raisely uses this as a unique identifier and will deduplicate on email.\nExample: `harveymilk@example.com`\n"
          },
          "firstName": {
            "type": "string",
            "example": "Leila",
            "description": "The first name of the user\nExample: `Leila`\n"
          },
          "fullName": {
            "type": "string",
            "example": "Leila Norma de Lima",
            "description": "The full name of the user\nExample: `Leila Norma de Lima`\n"
          },
          "isSamlLogin": {
            "type": "boolean",
            "example": true,
            "description": "Will be true if this user logs in via organisation SAML login\nExamples: `true`, `false`\n"
          },
          "language": {
            "type": "string",
            "description": "The language the user last interacted in"
          },
          "lastName": {
            "type": "string",
            "example": "de Lima",
            "description": "The last name of the user\nExample: `de Lima`\n"
          },
          "phoneNumber": {
            "type": "string",
            "example": "+1 123-456-7890",
            "description": "Phone number of the user\nExample: `+1 123-456-7890`\n"
          },
          "photoUrl": {
            "type": "string",
            "example": "https://raisely-images.imgix.net/www/uploads/t-03-arl-8-es-uhhqua-4-pr-f-4865431-df-58-512-png-08e3f5.png",
            "description": "URL of the user's photo\nExample: `https://raisely-images.imgix.net/www/uploads/t-03-arl-8-es-uhhqua-4-pr-f-4865431-df-58-512-png-08e3f5.png`\n"
          },
          "postcode": {
            "type": "string",
            "example": "AAA BBBB",
            "description": "Postal code of the user\nExamples: `AAA BBBB`, `0000`, `AAA BBB`\n"
          },
          "preferredName": {
            "type": "string",
            "example": "Norma",
            "description": "The name that the user prefers to be called\nExample: `Norma`\n"
          },
          "private": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "Private values for this record\nExample: `{\n  \"fieldA\": \"one\",\n  \"fieldB\": \"yes\"\n}`\n",
            "additionalProperties": true
          },
          "public": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "Public values for this record\nExample: `{\n  \"fieldA\": \"one\",\n  \"fieldB\": \"yes\"\n}`\n",
            "additionalProperties": true
          },
          "state": {
            "type": "string",
            "example": "Victoria",
            "description": "The state/province of the user\nExamples: `Victoria`, `New York`, `British Columbia`\n"
          },
          "suburb": {
            "type": "string",
            "example": "Melbourne",
            "description": "The suburb/city of the user\nExamples: `Melbourne`, `Albany`, `Vancouver`\n"
          },
          "swiftAidAuthExpiry": {
            "type": "string",
            "description": "Date of expiry of donor authorisation for SwiftAid"
          }
        }
      },
      "nestedDesignation": {
        "title": "Designation",
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "`public` Date the record was created",
            "readOnly": true
          },
          "externalId": {
            "type": "string",
            "description": "`public` "
          },
          "name": {
            "type": "string",
            "description": "`public` Internal name for a designation."
          },
          "organisationId": {
            "type": "integer",
            "example": 12345,
            "description": "`public` "
          },
          "publicName": {
            "type": "string",
            "example": "General Fund",
            "description": "`public` Public name to be displayed on campaign for a designation."
          },
          "status": {
            "type": "string",
            "example": "ACTIVE",
            "description": "`public` ",
            "enum": [
              "ACTIVE",
              "ARCHIVED"
            ]
          },
          "updatedAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "`public` Date the record was last updated",
            "readOnly": true
          },
          "uuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "`public` Unique identifier for the record",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "publicName",
          "status"
        ]
      },
      "createOnlineDonation": {
        "title": "Donation",
        "type": "object",
        "properties": {
          "address1": {
            "type": "string",
            "example": "31 Sunset Boulevard",
            "description": "Line 1 of an address\nExample: `31 Sunset Boulevard`\n"
          },
          "address2": {
            "type": "string",
            "example": "Unit 31b",
            "description": "Line 2 of an address\nExample: `Unit 31b`\n"
          },
          "allocations": {
            "type": "array",
            "description": "Per-designation allocation breakdown for this donation (nested designation, designation UUID, amount, and amount refunded per allocation). Present only when the split-designations are enabled for the organisation; a donation with no persisted allocation rows yet shows a single allocation mirroring its primary designation.",
            "items": {
              "type": "object",
              "properties": {
                "amount": {
                  "type": "integer",
                  "example": 850,
                  "description": "The amount (in cents) of the donation allocated to this designation, in the donation currency."
                },
                "amountRefunded": {
                  "type": "integer",
                  "example": 0,
                  "description": "The amount (in cents) of this allocation that has been refunded, in the donation currency."
                },
                "campaignAmount": {
                  "type": "integer",
                  "example": 850,
                  "description": "The amount (in cents) of the donation allocated to this designation, in the campaign currency."
                },
                "campaignAmountRefunded": {
                  "type": "integer",
                  "example": 0,
                  "description": "The amount (in cents) of this allocation that has been refunded, in the campaign currency."
                }
              }
            }
          },
          "amount": {
            "type": "integer",
            "example": 2500,
            "description": "The total amount of the donation being made\nExample: `2500`\n"
          },
          "anonymous": {
            "type": "boolean",
            "example": true,
            "description": "Does the donor wish to be anonymous\nExamples: `true`, `false`\n"
          },
          "campaignUuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "Unique identifier for the record\nExample: `aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa`\n"
          },
          "country": {
            "type": "string",
            "example": "AU",
            "description": "\nExamples: `AU`, `GB`, `US`\n"
          },
          "currency": {
            "type": "string",
            "example": "AUD",
            "description": "3 letter currency code\nExamples: `AUD`, `USD`\n"
          },
          "date": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "The date and time (in ISO8601 format) the donation was received by the organisation (only for OFFLINE donations)\nExample: `2020-12-03T06:52:46.330Z`\n"
          },
          "email": {
            "type": "string",
            "example": "harveymilk@example.com",
            "description": "Email address of the donor\nExample: `harveymilk@example.com`\n"
          },
          "firstName": {
            "type": "string",
            "example": "Leila",
            "description": "The first name of the person\nExample: `Leila`\n"
          },
          "fullName": {
            "type": "string",
            "example": "Leila Norma Eulalia Josefa Magistrado de Lima",
            "description": "The full name of the person\nExample: `Leila Norma Eulalia Josefa Magistrado de Lima`\n"
          },
          "gatewayVersion": {
            "type": "string",
            "description": "Gateway Version of donation method, if any"
          },
          "items": {
            "type": "array",
            "description": "The donation items associated with this donation",
            "items": {
              "type": "object",
              "properties": {
                "amount": {
                  "type": "integer",
                  "example": 850,
                  "description": "The amount spent on the item in the currency of the donation"
                },
                "amountRefunded": {
                  "type": "integer",
                  "description": "The total amount refunded in cents for this line item, in the donation currency."
                },
                "attendance": {
                  "type": "string",
                  "example": "CHECKED_IN",
                  "description": "Whether the donation item (ticket) has been checked in",
                  "enum": [
                    "CHECKED_IN",
                    "VALID"
                  ]
                },
                "benefitDescription": {
                  "type": "string",
                  "example": "Event meal",
                  "description": "The compliance description of goods or services provided in return for this item, snapshotted from the ticket type at time of purchase."
                },
                "benefitValue": {
                  "type": "integer",
                  "example": 1000,
                  "description": "The fair market value of goods or services provided in return for this item, snapshotted from the ticket type at time of purchase, in cents."
                },
                "description": {
                  "type": "string",
                  "description": "Description of the item"
                },
                "includeInTotals": {
                  "type": "boolean",
                  "description": "If false, the amount is not included in receipts as part of the total donation"
                },
                "parentBundleItemDescription": {
                  "type": "string",
                  "description": "The ticket's parent bundle description"
                },
                "private": {
                  "type": "object",
                  "description": ""
                },
                "public": {
                  "type": "object",
                  "description": ""
                },
                "quantity": {
                  "type": "integer",
                  "description": "If multiple of the item, the number of items claimed"
                },
                "type": {
                  "type": "string",
                  "example": "DONATION",
                  "description": "The item type. For most manual API calls, you should use the value `OTHER`.",
                  "enum": [
                    "DONATION",
                    "REGISTRATION",
                    "OTHER",
                    "TICKET",
                    "DISCOUNT"
                  ]
                }
              }
            }
          },
          "lastName": {
            "type": "string",
            "example": "de Lima",
            "description": "The last name of the person\nExample: `de Lima`\n"
          },
          "message": {
            "type": "string",
            "example": "Glad to help out with the fundraising!",
            "description": "Message from the donor\nExample: `Glad to help out with the fundraising!`\n"
          },
          "method": {
            "type": "string",
            "example": "CREDIT_CARD",
            "description": "The payment gateway used\nExamples: `CREDIT_CARD`, `PAYPAL`, `APPLE_PAY`, `OFFLINE`, `CUSTOM`, `STRIPE_INTENT`, `FACEBOOK`\n",
            "enum": [
              "CREDIT_CARD",
              "PAYPAL",
              "APPLE_PAY",
              "OFFLINE",
              "CUSTOM",
              "STRIPE_INTENT",
              "FACEBOOK"
            ]
          },
          "methodType": {
            "type": "string",
            "example": "APPLE_PAY",
            "description": "The type of payment method used, to distinguish between card, direct debit and digital wallet payments.\nExamples: `APPLE_PAY`, `CARD`, `GOOGLE_PAY`, `BROWSER_PAY`, `DD_BACS`, `DD_BECS`, `DD_ACH`\n"
          },
          "mode": {
            "type": "string",
            "example": "TEST",
            "description": "LIVE or TEST\nExamples: `LIVE`, `TEST`\n",
            "enum": [
              "LIVE",
              "TEST"
            ]
          },
          "phoneNumber": {
            "type": "string",
            "example": "+1 123-456-7890",
            "description": "Phone number of the donor\nExample: `+1 123-456-7890`\n"
          },
          "postcode": {
            "type": "string",
            "example": "AAA BBBB",
            "description": "Postal code of the donor\nExamples: `AAA BBBB`, `0000`, `AAA BBB`\n"
          },
          "preferredName": {
            "type": "string",
            "example": "Norma",
            "description": "The name that the person prefers to be called\nExample: `Norma`\n"
          },
          "private": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "Private values for this record\nExample: `{\n  \"fieldA\": \"one\",\n  \"fieldB\": \"yes\"\n}`\n",
            "additionalProperties": true
          },
          "profileUuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "Unique identifier for the record\nExample: `aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa`\n"
          },
          "public": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "Public values for this record\nExample: `{\n  \"fieldA\": \"one\",\n  \"fieldB\": \"yes\"\n}`\n",
            "properties": {},
            "additionalProperties": true
          },
          "state": {
            "type": "string",
            "description": ""
          },
          "suburb": {
            "type": "string",
            "description": ""
          },
          "swiftAidStatus": {
            "type": "string",
            "example": "OK",
            "description": "Status of donation on SwiftAid\nExamples: `OK`, `FAILED`, `PENDING`, `DELETING`, `DELETED`\n",
            "enum": [
              "OK",
              "FAILED",
              "PENDING",
              "DELETING",
              "DELETED"
            ]
          },
          "token": {
            "type": "string",
            "example": "tok_aaaaaaaaaaaaaaaaaaaaaaaa",
            "description": "The payment token from the gateway\nExample: `tok_aaaaaaaaaaaaaaaaaaaaaaaa`\n"
          },
          "type": {
            "type": "string",
            "example": "ONLINE",
            "description": "ONLINE or OFFLINE\nExamples: `ONLINE`, `OFFLINE`\n",
            "enum": [
              "ONLINE",
              "OFFLINE"
            ]
          }
        },
        "required": [
          "email",
          "currency",
          "type",
          "amount",
          "method"
        ]
      },
      "createResultDonationSignup": {
        "title": "Donation",
        "type": "object",
        "properties": {
          "address1": {
            "type": "string",
            "example": "31 Sunset Boulevard",
            "description": "Line 1 of an address"
          },
          "address2": {
            "type": "string",
            "example": "Unit 31b",
            "description": "Line 2 of an address"
          },
          "allocations": {
            "type": "array",
            "description": "Per-designation allocation breakdown for this donation (nested designation, designation UUID, amount, and amount refunded per allocation). Present only when the split-designations are enabled for the organisation; a donation with no persisted allocation rows yet shows a single allocation mirroring its primary designation.",
            "items": {
              "type": "object",
              "properties": {
                "amount": {
                  "type": "integer",
                  "example": 850,
                  "description": "The amount (in cents) of the donation allocated to this designation, in the donation currency."
                },
                "amountRefunded": {
                  "type": "integer",
                  "example": 0,
                  "description": "The amount (in cents) of this allocation that has been refunded, in the donation currency."
                },
                "campaignAmount": {
                  "type": "integer",
                  "example": 850,
                  "description": "The amount (in cents) of the donation allocated to this designation, in the campaign currency."
                },
                "campaignAmountRefunded": {
                  "type": "integer",
                  "example": 0,
                  "description": "The amount (in cents) of this allocation that has been refunded, in the campaign currency."
                },
                "createdAt": {
                  "type": "string",
                  "description": "The date the donation_designation was created"
                },
                "designation": {
                  "$ref": "#/components/schemas/nestedDesignation"
                },
                "designationId": {
                  "type": "integer",
                  "description": "Internal id of the designation this allocation is for.",
                  "readOnly": true
                },
                "designationUuid": {
                  "type": "string",
                  "description": "UUID of the designation this allocation is for.",
                  "readOnly": true
                },
                "donationId": {
                  "type": "integer",
                  "description": "Internal id of the donation this allocation belongs to.",
                  "readOnly": true
                },
                "organisationId": {
                  "type": "integer",
                  "description": "Internal id of the organisation this allocation belongs to.",
                  "readOnly": true
                },
                "updatedAt": {
                  "type": "string",
                  "description": "The date the donation_designation was last updated"
                },
                "uuid": {
                  "type": "string",
                  "description": ""
                }
              }
            }
          },
          "amount": {
            "type": "integer",
            "example": 2500,
            "description": "The total amount of the donation being made"
          },
          "amountRefunded": {
            "type": "integer",
            "example": 2500,
            "description": "Total amount refunded to the donor",
            "readOnly": true
          },
          "anonymous": {
            "type": "boolean",
            "example": true,
            "description": "Does the donor wish to be anonymous"
          },
          "campaignAmount": {
            "type": "integer",
            "example": 2500,
            "description": "Transaction amount in the currency of the campaign",
            "readOnly": true
          },
          "campaignCurrency": {
            "type": "string",
            "example": "USD",
            "description": "ISO currency code of the campaign this donation was made on",
            "readOnly": true
          },
          "campaignDisplayTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total contribution in cents of this donation to the campaign total, in the campaign currency",
            "readOnly": true
          },
          "campaignUuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "Unique identifier for the record",
            "readOnly": true
          },
          "context": {
            "type": "object",
            "description": "Context data (UTM parameters) from the \"created\" interaction",
            "readOnly": true,
            "additionalProperties": true
          },
          "country": {
            "type": "string",
            "example": "AU",
            "description": ""
          },
          "createdAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "Date the record was created",
            "readOnly": true
          },
          "currency": {
            "type": "string",
            "example": "AUD",
            "description": "3 letter currency code"
          },
          "currencySymbol": {
            "type": "string",
            "example": "a",
            "description": "The symbol of the currency",
            "readOnly": true
          },
          "date": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "The date and time (in ISO8601 format) the donation was received by the organisation (only for OFFLINE donations)"
          },
          "declineCode": {
            "type": "string",
            "description": "The decline code from Stripe associated with this donation, if applicable",
            "readOnly": true
          },
          "designation": {
            "$ref": "#/components/schemas/nestedDesignation"
          },
          "designationUuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "UUID of the designation assigned to this donation. When the split-designations are enabled for the organisation, this is the designation of the largest allocation.",
            "readOnly": true
          },
          "displayTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total contribution in cents of this donation to the campaign total, in the donation currency",
            "readOnly": true
          },
          "donationTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total donation amount",
            "readOnly": true
          },
          "feeModel": {
            "type": "string",
            "example": "FLAT_FEE",
            "description": "Identifies which fee model was active when this donation was processed. FLAT_FEE: fee is deducted from the donation amount (total = amount). OPTIONAL_TIP: fee may be added on top when the donor opts in (total = amount + fee). Null when no fee model applies (e.g. manually-recorded OFFLINE donations).",
            "enum": [
              "FLAT_FEE",
              "OPTIONAL_TIP",
              null
            ],
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "example": "Leila",
            "description": "The first name of the person"
          },
          "fullName": {
            "type": "string",
            "example": "Leila Norma Eulalia Josefa Magistrado de Lima",
            "description": "The full name of the person"
          },
          "gatewayVersion": {
            "type": "string",
            "description": "Gateway Version of donation method, if any"
          },
          "giftAidText": {
            "type": "string",
            "description": "The Gift Aid text that the donor saw and agreed to",
            "readOnly": true
          },
          "includesGiftAid": {
            "type": "boolean",
            "example": true,
            "description": "Gift aid donation included"
          },
          "isExpress": {
            "type": "boolean",
            "example": true,
            "description": "Indicates whether this donation was made via an express payment flow",
            "readOnly": true
          },
          "items": {
            "type": "array",
            "description": "The donation items associated with this donation",
            "items": {
              "type": "object",
              "properties": {
                "amount": {
                  "type": "integer",
                  "example": 850,
                  "description": "The amount spent on the item in the currency of the donation"
                },
                "amountRefunded": {
                  "type": "integer",
                  "description": "The total amount refunded in cents for this line item, in the donation currency."
                },
                "attendance": {
                  "type": "string",
                  "example": "CHECKED_IN",
                  "description": "Whether the donation item (ticket) has been checked in",
                  "enum": [
                    "CHECKED_IN",
                    "VALID"
                  ]
                },
                "benefitDescription": {
                  "type": "string",
                  "example": "Event meal",
                  "description": "The compliance description of goods or services provided in return for this item, snapshotted from the ticket type at time of purchase."
                },
                "benefitValue": {
                  "type": "integer",
                  "example": 1000,
                  "description": "The fair market value of goods or services provided in return for this item, snapshotted from the ticket type at time of purchase, in cents."
                },
                "campaignAmount": {
                  "type": "integer",
                  "example": 950,
                  "description": "The amount spent on the item in the currency of the campaign",
                  "readOnly": true
                },
                "createdAt": {
                  "type": "string",
                  "description": "ISO8601 created timestamp",
                  "readOnly": true
                },
                "description": {
                  "type": "string",
                  "description": "Description of the item"
                },
                "includeInTotals": {
                  "type": "boolean",
                  "description": "If false, the amount is not included in receipts as part of the total donation"
                },
                "itemId": {
                  "type": "string",
                  "description": "The item ID / reference",
                  "readOnly": true
                },
                "originalAmount": {
                  "type": "integer",
                  "description": "The total amount of this line item in cents prior to any refunds, in the donation currency. Amount is tax inclusive.",
                  "readOnly": true
                },
                "parentBundleItem": {
                  "type": "string",
                  "description": "The item ID / reference of this ticket's parent bundle",
                  "readOnly": true
                },
                "parentBundleItemDescription": {
                  "type": "string",
                  "description": "The ticket's parent bundle description"
                },
                "perkUuid": {
                  "type": "string",
                  "description": "Deprecated",
                  "readOnly": true
                },
                "private": {
                  "type": "object",
                  "description": ""
                },
                "productUuid": {
                  "type": "string",
                  "description": "The uuid for the associated product or ticket."
                },
                "public": {
                  "type": "object",
                  "description": ""
                },
                "quantity": {
                  "type": "integer",
                  "description": "If multiple of the item, the number of items claimed"
                },
                "status": {
                  "type": "string",
                  "example": "ISSUED",
                  "description": "The status of the donation item",
                  "enum": [
                    "ISSUED",
                    "CANCELLED"
                  ]
                },
                "type": {
                  "type": "string",
                  "example": "DONATION",
                  "description": "The item type. For most manual API calls, you should use the value `OTHER`.",
                  "enum": [
                    "DONATION",
                    "REGISTRATION",
                    "OTHER",
                    "TICKET",
                    "DISCOUNT"
                  ]
                },
                "updatedAt": {
                  "type": "string",
                  "description": "ISO8601 created timestamp",
                  "readOnly": true
                },
                "uuid": {
                  "type": "string",
                  "description": "Unique identifier for the item",
                  "readOnly": true
                }
              }
            }
          },
          "itemTypes": {
            "type": "array",
            "description": "One or more of DONATION, REGISTRATION, TICKET or OTHER",
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "example": "de Lima",
            "description": "The last name of the person"
          },
          "message": {
            "type": "string",
            "example": "Glad to help out with the fundraising!",
            "description": "Message from the donor"
          },
          "method": {
            "type": "string",
            "example": "CREDIT_CARD",
            "description": "The payment gateway used",
            "enum": [
              "CREDIT_CARD",
              "PAYPAL",
              "APPLE_PAY",
              "OFFLINE",
              "CUSTOM",
              "STRIPE_INTENT",
              "FACEBOOK"
            ]
          },
          "methodType": {
            "type": "string",
            "example": "APPLE_PAY",
            "description": "The type of payment method used, to distinguish between card, direct debit and digital wallet payments."
          },
          "mode": {
            "type": "string",
            "example": "LIVE",
            "description": "LIVE or TEST",
            "enum": [
              "LIVE",
              "TEST"
            ]
          },
          "orderTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total order amount",
            "readOnly": true
          },
          "orderUuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "Unique identifier for the record",
            "readOnly": true
          },
          "phoneNumber": {
            "type": "string",
            "example": "+1 123-456-7890",
            "description": "Phone number of the donor"
          },
          "postcode": {
            "type": "string",
            "example": "AAA BBBB",
            "description": "Postal code of the donor"
          },
          "preferredName": {
            "type": "string",
            "example": "Norma",
            "description": "The name that the person prefers to be called"
          },
          "processing": {
            "type": "string",
            "example": "ONCE",
            "description": "If this is a one time or recurring donation",
            "enum": [
              "ONCE",
              "RECURRING"
            ],
            "readOnly": true
          },
          "profile": {
            "allOf": [
              {
                "$ref": "#/components/schemas/createResultProfile"
              },
              {
                "type": "object",
                "properties": {
                  "user": {
                    "$ref": "#/components/schemas/createResultUserSignup"
                  },
                  "campaignUuid": {
                    "type": "string",
                    "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
                    "description": "`public` Unique identifier for the record"
                  }
                }
              }
            ]
          },
          "profileUuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "Unique identifier for the record",
            "readOnly": true
          },
          "public": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "Public values for this record",
            "properties": {},
            "additionalProperties": true
          },
          "publicAmount": {
            "type": "integer",
            "example": 2500,
            "description": "Raisely fee in the currency of the provider (as dollars)",
            "readOnly": true
          },
          "publicFee": {
            "type": "integer",
            "example": 125,
            "description": "Raisely fee in the currency of the provider (as dollars)",
            "readOnly": true
          },
          "publicTotal": {
            "type": "integer",
            "example": 2625,
            "description": "Raisely fee in the currency of the provider (as dollars)",
            "readOnly": true
          },
          "state": {
            "type": "string",
            "description": ""
          },
          "status": {
            "type": "string",
            "example": "OK",
            "description": "Status of the payment",
            "enum": [
              "OK",
              "FAILED",
              "PENDING",
              "REFUNDED",
              "DELETED"
            ]
          },
          "suburb": {
            "type": "string",
            "description": ""
          },
          "swiftAidStatus": {
            "type": "string",
            "example": "OK",
            "description": "Status of donation on SwiftAid",
            "enum": [
              "OK",
              "FAILED",
              "PENDING",
              "DELETING",
              "DELETED"
            ]
          },
          "taxDeductibleAmount": {
            "type": "integer",
            "example": 2500,
            "description": "The tax deductible portion of the donation, in the donation currency, after subtracting the value of any benefits provided in return. Null until calculated.",
            "readOnly": true
          },
          "taxRate": {
            "type": "number",
            "description": "The tax percentage used to calculate the tax total",
            "readOnly": true
          },
          "taxTotal": {
            "type": "integer",
            "example": 2625,
            "description": "The total tax charged in cents within items on this donation, in the donation currency",
            "readOnly": true
          },
          "taxType": {
            "type": "string",
            "description": "The type of tax (inclusive or exclusive)",
            "readOnly": true
          },
          "type": {
            "type": "string",
            "example": "ONLINE",
            "description": "ONLINE or OFFLINE",
            "enum": [
              "ONLINE",
              "OFFLINE"
            ]
          },
          "updatedAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "Date the record was last updated",
            "readOnly": true
          },
          "usedSwiftAid": {
            "type": "boolean",
            "example": true,
            "description": "Swiftaid used to process Gift Aid"
          },
          "user": {
            "$ref": "#/components/schemas/createResultUserSignup"
          },
          "uuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "Unique identifier for the record",
            "readOnly": true
          }
        },
        "required": [
          "email",
          "currency",
          "type",
          "amount",
          "method"
        ]
      },
      "createResultUserSignup": {
        "title": "User",
        "type": "object",
        "properties": {
          "address1": {
            "type": "string",
            "example": "31 Sunset Boulevard",
            "description": "`public` Line 1 of an address"
          },
          "address2": {
            "type": "string",
            "example": "Unit 31b",
            "description": "`public` Line 2 of an address"
          },
          "adminSettings": {
            "type": "object",
            "description": "`public` Object containing settings for admin users",
            "properties": {
              "v4BetaOptin": {
                "example": true,
                "description": "`public` Whether admin has opted into v4"
              },
              "starredCampaigns": {
                "example": [
                  "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
                  "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj"
                ],
                "description": "`public` Array of favourite campaigns for user",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "country": {
            "type": "string",
            "example": "AU",
            "description": "`public` The country of the user"
          },
          "createdAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "`public` Date the record was created",
            "readOnly": true
          },
          "email": {
            "type": "string",
            "example": "harveymilk@example.com",
            "description": "`public` The user's email address. Raisely uses this as a unique identifier and will deduplicate on email."
          },
          "facebookId": {
            "type": "string",
            "example": "fb_someurl",
            "description": "`public` The Facebook ID provided on authentication"
          },
          "firstName": {
            "type": "string",
            "example": "Leila",
            "description": "`public` The first name of the user"
          },
          "fullName": {
            "type": "string",
            "example": "Leila Norma de Lima",
            "description": "`public` The full name of the user"
          },
          "ipCity": {
            "type": "string",
            "description": "`public` Deprecated"
          },
          "ipCountry": {
            "type": "string",
            "description": "`public` Deprecated"
          },
          "ipLatitude": {
            "type": "number",
            "example": 0,
            "description": "`public` Deprecated"
          },
          "ipLongitude": {
            "type": "number",
            "example": 0,
            "description": "`public` Deprecated"
          },
          "ipNumber": {
            "type": "string",
            "description": "`public` Deprecated"
          },
          "isAdmin": {
            "type": "boolean",
            "example": true,
            "description": "`public` Will be true if this user has admin permissions"
          },
          "isSamlLogin": {
            "type": "boolean",
            "example": true,
            "description": "`public` Will be true if this user logs in via organisation SAML login"
          },
          "language": {
            "type": "string",
            "description": "`public` The language the user last interacted in"
          },
          "lastName": {
            "type": "string",
            "example": "de Lima",
            "description": "`public` The last name of the user"
          },
          "organisationUuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "`public` Unique identifier for the record",
            "readOnly": true
          },
          "permission": {
            "type": "string",
            "example": "PARTICIPANT",
            "description": "`public` Deprecated. Use roles"
          },
          "phoneNumber": {
            "type": "string",
            "example": "+1 123-456-7890",
            "description": "`public` Phone number of the user"
          },
          "photoUrl": {
            "type": "string",
            "example": "https://raisely-images.imgix.net/www/uploads/t-03-arl-8-es-uhhqua-4-pr-f-4865431-df-58-512-png-08e3f5.png",
            "description": "`public` URL of the user's photo"
          },
          "postcode": {
            "type": "string",
            "example": "AAA BBBB",
            "description": "`public` Postal code of the user"
          },
          "preferredName": {
            "type": "string",
            "example": "Norma",
            "description": "`public` The name that the user prefers to be called"
          },
          "private": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "`public` Private values for this record",
            "additionalProperties": true
          },
          "public": {
            "type": "object",
            "example": {
              "fieldA": "one",
              "fieldB": "yes"
            },
            "description": "`public` Public values for this record",
            "additionalProperties": true
          },
          "state": {
            "type": "string",
            "example": "Victoria",
            "description": "`public` The state/province of the user"
          },
          "status": {
            "type": "string",
            "example": "ACTIVE",
            "description": "`public` ACTIVE, DELETED, or PENDING",
            "enum": [
              "ACTIVE",
              "DELETED",
              "PENDING"
            ]
          },
          "suburb": {
            "type": "string",
            "example": "Melbourne",
            "description": "`public` The suburb/city of the user"
          },
          "swiftAidAuthExpiry": {
            "type": "string",
            "description": "`public` Date of expiry of donor authorisation for SwiftAid"
          },
          "swiftAidDonorId": {
            "type": "string",
            "description": "`public` Id of donor on SwiftAid"
          },
          "unsubscribedAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "`public` ISO8601 timestamp of when the user was unsubscribed from non-essential emails or sms. A blank value indicates the user is still subscribed."
          },
          "updatedAt": {
            "type": "string",
            "example": "2020-12-03T06:52:46.330Z",
            "description": "`public` Date the record was last updated",
            "readOnly": true
          },
          "username": {
            "type": "string",
            "example": "harveymilk@example.com",
            "description": "`public` The login email for this user"
          },
          "uuid": {
            "type": "string",
            "example": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
            "description": "`public` Unique identifier for the record",
            "readOnly": true
          }
        }
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Authorization credentials were missing or invalid",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "title": "Detail",
                  "description": "Summary of the problem that's suitable to show to a user"
                },
                "type": {
                  "type": "string",
                  "title": "Type URI",
                  "description": "",
                  "example": "/errors/types/unauthorized"
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "ISO8601 time of the error"
                },
                "instance": {
                  "type": "string",
                  "title": "Error Instance",
                  "description": "The specific occurance of the error. You can pass this value to support to help with tracking down an error"
                },
                "code": {
                  "type": "string",
                  "title": "Error Code",
                  "description": "A code defining the type of error",
                  "enum": [
                    "unauthorized"
                  ],
                  "example": "unauthorized"
                },
                "status": {
                  "type": "integer",
                  "title": "HTTP Status code",
                  "description": "The HTTP status code response",
                  "example": 401
                },
                "errors": {
                  "type": "array",
                  "title": "Errors",
                  "description": "One or more objects describing the individual errors encountered",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "title": "Error Code",
                        "description": "A code defining the type of error",
                        "enum": [
                          "unauthorized"
                        ],
                        "example": "unauthorized"
                      },
                      "status": {
                        "type": "integer",
                        "title": "HTTP Status code",
                        "description": "The HTTP status code response",
                        "example": 401
                      },
                      "message": {
                        "title": "Message",
                        "type": "string",
                        "description": "Description of the error"
                      },
                      "subcode": {
                        "title": "Subcode",
                        "type": "string",
                        "description": "Optional. Provides further detail on the nature of the error",
                        "enum": [
                          "invalid token",
                          "upstream"
                        ]
                      },
                      "service": {
                        "title": "Service",
                        "type": "string",
                        "description": "If the subcode is 'upstream' this identified the upstream authentication provider that failed",
                        "enum": [
                          "facebook",
                          "google",
                          "strava"
                        ],
                        "example": "google"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "The user is authenticated, but is not allowed to perform the requested operation",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "title": "Detail",
                  "description": "Summary of the problem that's suitable to show to a user"
                },
                "type": {
                  "type": "string",
                  "title": "Type URI",
                  "description": "",
                  "example": "/errors/types/forbidden"
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "ISO8601 time of the error"
                },
                "instance": {
                  "type": "string",
                  "title": "Error Instance",
                  "description": "The specific occurance of the error. You can pass this value to support to help with tracking down an error"
                },
                "code": {
                  "type": "string",
                  "title": "Error Code",
                  "description": "A code defining the type of error",
                  "enum": [
                    "forbidden"
                  ],
                  "example": "forbidden"
                },
                "status": {
                  "type": "integer",
                  "title": "HTTP Status code",
                  "description": "The HTTP status code response",
                  "example": 403
                },
                "errors": {
                  "type": "array",
                  "title": "Errors",
                  "description": "One or more objects describing the individual errors encountered",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "title": "Error Code",
                        "description": "A code defining the type of error",
                        "enum": [
                          "forbidden"
                        ],
                        "example": "forbidden"
                      },
                      "status": {
                        "type": "integer",
                        "title": "HTTP Status code",
                        "description": "The HTTP status code response",
                        "example": 403
                      },
                      "message": {
                        "title": "Message",
                        "type": "string",
                        "description": "Description of the error"
                      },
                      "subcode": {
                        "title": "Subcode",
                        "type": "string",
                        "description": "Optional. Provides further detail on the nature of the error"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "AlreadyExists": {
        "description": "The operation cannot be completed because it would result in a duplicate record",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "title": "Detail",
                  "description": "Summary of the problem that's suitable to show to a user"
                },
                "type": {
                  "type": "string",
                  "title": "Type URI",
                  "description": "",
                  "example": "/errors/types/already exists"
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "ISO8601 time of the error"
                },
                "instance": {
                  "type": "string",
                  "title": "Error Instance",
                  "description": "The specific occurance of the error. You can pass this value to support to help with tracking down an error"
                },
                "code": {
                  "type": "string",
                  "title": "Error Code",
                  "description": "A code defining the type of error",
                  "enum": [
                    "already exists"
                  ],
                  "example": "already exists"
                },
                "status": {
                  "type": "integer",
                  "title": "HTTP Status code",
                  "description": "The HTTP status code response",
                  "example": 409
                },
                "errors": {
                  "type": "array",
                  "title": "Errors",
                  "description": "One or more objects describing the individual errors encountered",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "title": "Error Code",
                        "description": "A code defining the type of error",
                        "enum": [
                          "already exists"
                        ],
                        "example": "already exists"
                      },
                      "status": {
                        "type": "integer",
                        "title": "HTTP Status code",
                        "description": "The HTTP status code response",
                        "example": 409
                      },
                      "message": {
                        "title": "Message",
                        "type": "string",
                        "description": "Description of the error"
                      },
                      "subcode": {
                        "title": "Subcode",
                        "type": "string",
                        "description": "Optional. Provides further detail on the nature of the error"
                      },
                      "recordId": {
                        "type": "string",
                        "title": "Record ID",
                        "description": "The ID of the record that the error occurred on",
                        "example": "369f3f4d-3204-47e2-aab0-6f7de136d107"
                      },
                      "recordType": {
                        "type": "string",
                        "title": "Record Type",
                        "description": "The type of record the error occurred on",
                        "example": "profile"
                      },
                      "value": {
                        "title": "Value",
                        "description": "The value of the field that caused the problem",
                        "example": "my-profile"
                      },
                      "field": {
                        "title": "Field",
                        "type": "string",
                        "description": "The field that caused the problem",
                        "example": "path"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "One of the records needed to complete the request could not be found",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "title": "Detail",
                  "description": "Summary of the problem that's suitable to show to a user"
                },
                "type": {
                  "type": "string",
                  "title": "Type URI",
                  "description": "",
                  "example": "/errors/types/not found"
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "ISO8601 time of the error"
                },
                "instance": {
                  "type": "string",
                  "title": "Error Instance",
                  "description": "The specific occurance of the error. You can pass this value to support to help with tracking down an error"
                },
                "code": {
                  "type": "string",
                  "title": "Error Code",
                  "description": "A code defining the type of error",
                  "enum": [
                    "not found"
                  ],
                  "example": "not found"
                },
                "status": {
                  "type": "integer",
                  "title": "HTTP Status code",
                  "description": "The HTTP status code response",
                  "example": 404
                },
                "errors": {
                  "type": "array",
                  "title": "Errors",
                  "description": "One or more objects describing the individual errors encountered",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "title": "Error Code",
                        "description": "A code defining the type of error",
                        "enum": [
                          "not found"
                        ],
                        "example": "not found"
                      },
                      "status": {
                        "type": "integer",
                        "title": "HTTP Status code",
                        "description": "The HTTP status code response",
                        "example": 404
                      },
                      "message": {
                        "title": "Message",
                        "type": "string",
                        "description": "Description of the error"
                      },
                      "subcode": {
                        "title": "Subcode",
                        "type": "string",
                        "description": "Optional. Provides further detail on the nature of the error"
                      },
                      "recordId": {
                        "type": "string",
                        "title": "Record ID",
                        "description": "The ID of the record. This may not be a UUID but could be whatever alias was supplied to attempt to find the record",
                        "example": "my-profile"
                      },
                      "recordType": {
                        "type": "string",
                        "title": "Record Type",
                        "description": "The type of record the error occurred on",
                        "example": "profile"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "InvalidRecordState": {
        "description": "Operation cannot proceed with the record in it's current state",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "title": "Detail",
                  "description": "Summary of the problem that's suitable to show to a user"
                },
                "type": {
                  "type": "string",
                  "title": "Type URI",
                  "description": "",
                  "example": "/errors/types/invalid record state"
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "ISO8601 time of the error"
                },
                "instance": {
                  "type": "string",
                  "title": "Error Instance",
                  "description": "The specific occurance of the error. You can pass this value to support to help with tracking down an error"
                },
                "code": {
                  "type": "string",
                  "title": "Error Code",
                  "description": "A code defining the type of error",
                  "enum": [
                    "invalid record state"
                  ],
                  "example": "invalid record state"
                },
                "status": {
                  "type": "integer",
                  "title": "HTTP Status code",
                  "description": "The HTTP status code response",
                  "example": 412
                },
                "errors": {
                  "type": "array",
                  "title": "Errors",
                  "description": "One or more objects describing the individual errors encountered",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "title": "Error Code",
                        "description": "A code defining the type of error",
                        "enum": [
                          "invalid record state"
                        ],
                        "example": "invalid record state"
                      },
                      "status": {
                        "type": "integer",
                        "title": "HTTP Status code",
                        "description": "The HTTP status code response",
                        "example": 412
                      },
                      "message": {
                        "title": "Message",
                        "type": "string",
                        "description": "Description of the error"
                      },
                      "subcode": {
                        "title": "Subcode",
                        "type": "string",
                        "description": "Optional. Provides further detail on the nature of the error"
                      },
                      "recordId": {
                        "type": "string",
                        "title": "Record ID",
                        "description": "The ID of the record that the error occurred on",
                        "example": "369f3f4d-3204-47e2-aab0-6f7de136d107"
                      },
                      "recordType": {
                        "type": "string",
                        "title": "Record Type",
                        "description": "The type of record the error occurred on",
                        "example": "profile"
                      },
                      "value": {
                        "title": "Value",
                        "description": "The value of the field that caused the problem",
                        "example": "my-profile"
                      },
                      "field": {
                        "title": "Field",
                        "type": "string",
                        "description": "The field that caused the problem",
                        "example": "path"
                      },
                      "allowedValues": {
                        "type": "array",
                        "title": "Allowed Values",
                        "description": "Array of values permitted in the field if it has a restricted set of values",
                        "items": {}
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "EmptyBody": {
        "description": "The request requires a body, but the body was missing",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "title": "Detail",
                  "description": "Summary of the problem that's suitable to show to a user"
                },
                "type": {
                  "type": "string",
                  "title": "Type URI",
                  "description": "",
                  "example": "/errors/types/empty body"
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "ISO8601 time of the error"
                },
                "instance": {
                  "type": "string",
                  "title": "Error Instance",
                  "description": "The specific occurance of the error. You can pass this value to support to help with tracking down an error"
                },
                "code": {
                  "type": "string",
                  "title": "Error Code",
                  "description": "A code defining the type of error",
                  "enum": [
                    "empty body"
                  ],
                  "example": "empty body"
                },
                "status": {
                  "type": "integer",
                  "title": "HTTP Status code",
                  "description": "The HTTP status code response",
                  "example": 400
                },
                "errors": {
                  "type": "array",
                  "title": "Errors",
                  "description": "One or more objects describing the individual errors encountered",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "title": "Error Code",
                        "description": "A code defining the type of error",
                        "enum": [
                          "empty body"
                        ],
                        "example": "empty body"
                      },
                      "status": {
                        "type": "integer",
                        "title": "HTTP Status code",
                        "description": "The HTTP status code response",
                        "example": 400
                      },
                      "message": {
                        "title": "Message",
                        "type": "string",
                        "description": "Description of the error"
                      },
                      "subcode": {
                        "title": "Subcode",
                        "type": "string",
                        "description": "Optional. Provides further detail on the nature of the error"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "RateLimitExceeded": {
        "description": "You have made too many requests to the given endpoint, please try again later",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "title": "Detail",
                  "description": "Summary of the problem that's suitable to show to a user"
                },
                "type": {
                  "type": "string",
                  "title": "Type URI",
                  "description": "",
                  "example": "/errors/types/rate limit exceeded"
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "ISO8601 time of the error"
                },
                "instance": {
                  "type": "string",
                  "title": "Error Instance",
                  "description": "The specific occurance of the error. You can pass this value to support to help with tracking down an error"
                },
                "code": {
                  "type": "string",
                  "title": "Error Code",
                  "description": "A code defining the type of error",
                  "enum": [
                    "rate limit exceeded"
                  ],
                  "example": "rate limit exceeded"
                },
                "status": {
                  "type": "integer",
                  "title": "HTTP Status code",
                  "description": "The HTTP status code response",
                  "example": 429
                },
                "errors": {
                  "type": "array",
                  "title": "Errors",
                  "description": "One or more objects describing the individual errors encountered",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "title": "Error Code",
                        "description": "A code defining the type of error",
                        "enum": [
                          "rate limit exceeded"
                        ],
                        "example": "rate limit exceeded"
                      },
                      "status": {
                        "type": "integer",
                        "title": "HTTP Status code",
                        "description": "The HTTP status code response",
                        "example": 429
                      },
                      "message": {
                        "title": "Message",
                        "type": "string",
                        "description": "Description of the error"
                      },
                      "subcode": {
                        "title": "Subcode",
                        "type": "string",
                        "description": "Optional. Provides further detail on the nature of the error"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "Gone": {
        "description": "The requested record no longer exists, or that API has been deprecated",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "title": "Detail",
                  "description": "Summary of the problem that's suitable to show to a user"
                },
                "type": {
                  "type": "string",
                  "title": "Type URI",
                  "description": "",
                  "example": "/errors/types/gone"
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "ISO8601 time of the error"
                },
                "instance": {
                  "type": "string",
                  "title": "Error Instance",
                  "description": "The specific occurance of the error. You can pass this value to support to help with tracking down an error"
                },
                "code": {
                  "type": "string",
                  "title": "Error Code",
                  "description": "A code defining the type of error",
                  "enum": [
                    "gone"
                  ],
                  "example": "gone"
                },
                "status": {
                  "type": "integer",
                  "title": "HTTP Status code",
                  "description": "The HTTP status code response",
                  "example": 410
                },
                "errors": {
                  "type": "array",
                  "title": "Errors",
                  "description": "One or more objects describing the individual errors encountered",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "title": "Error Code",
                        "description": "A code defining the type of error",
                        "enum": [
                          "gone"
                        ],
                        "example": "gone"
                      },
                      "status": {
                        "type": "integer",
                        "title": "HTTP Status code",
                        "description": "The HTTP status code response",
                        "example": 410
                      },
                      "message": {
                        "title": "Message",
                        "type": "string",
                        "description": "Description of the error"
                      },
                      "subcode": {
                        "title": "Subcode",
                        "type": "string",
                        "description": "Optional. Provides further detail on the nature of the error"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "InternalError": {
        "description": "An unexpected error has occurred with Raisely. If the error persists you can contact support@raisely.com",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "title": "Detail",
                  "description": "Summary of the problem that's suitable to show to a user"
                },
                "type": {
                  "type": "string",
                  "title": "Type URI",
                  "description": "",
                  "example": "/errors/types/internal error"
                },
                "time": {
                  "type": "string",
                  "title": "Time",
                  "description": "ISO8601 time of the error"
                },
                "instance": {
                  "type": "string",
                  "title": "Error Instance",
                  "description": "The specific occurance of the error. You can pass this value to support to help with tracking down an error"
                },
                "code": {
                  "type": "string",
                  "title": "Error Code",
                  "description": "A code defining the type of error",
                  "enum": [
                    "internal error"
                  ],
                  "example": "internal error"
                },
                "status": {
                  "type": "integer",
                  "title": "HTTP Status code",
                  "description": "The HTTP status code response",
                  "example": 500
                },
                "errors": {
                  "type": "array",
                  "title": "Errors",
                  "description": "One or more objects describing the individual errors encountered",
                  "items": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "title": "Error Code",
                        "description": "A code defining the type of error",
                        "enum": [
                          "internal error"
                        ],
                        "example": "internal error"
                      },
                      "status": {
                        "type": "integer",
                        "title": "HTTP Status code",
                        "description": "The HTTP status code response",
                        "example": 500
                      },
                      "message": {
                        "title": "Message",
                        "type": "string",
                        "description": "Description of the error"
                      },
                      "subcode": {
                        "title": "Subcode",
                        "type": "string",
                        "description": "Optional. Provides further detail on the nature of the error"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "A valid API Key, access token, or user-issued JWT"
      }
    }
  },
  "info": {
    "termsOfService": "https://raisely.com/terms",
    "contact": {
      "name": "Raisely Support",
      "url": "http://developers.raisely.com",
      "email": "support@raisely.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Raisely API",
    "version": "3.0",
    "description": "Extend, customise and integrate with Raisely"
  },
  "servers": [
    {
      "url": "https://api.raisely.com/v3",
      "description": "API Server"
    },
    {
      "url": "https://api.raisely.test:2999/v3",
      "description": "Local"
    }
  ],
  "paths": {
    "/campaigns/{campaign}/register": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "summary": "register",
        "description": "Registers a user and creates a fundraisng profile for them and also (optionally)\ncreates or adds them to a team, makes a donation or registration fee.\n\n**Campaign API key authentication:** When the request is authenticated with a\ncampaign secret key (Authorization header, Bearer raisely-sk-...) and the\nexplicit-user rollout is enabled for the organisation, you must supply data.user\nwith the registrant's details (email, firstName, lastName, password, etc.). User\nfields must be nested under data.user — top-level data.firstName, data.email,\nand similar fields are not read. Omitting data.user returns 400 invalid value.\nThe registrant may be any user (matched by email within the campaign's\norganisation), including the API key owner. JWT or session authentication is\nunchanged (a logged-in user may register without data.user).\n\nIf creation is successful, the response will include a token and accessToken.\nHowever, if a user with that email already exists in the campaign, the user\nwill be sent an email to confirm that they want to add the profile to their account.\n\nThe records are created simultaneously in full or not at all.\nIf there is a problem with the donation or profile, then all records\nwill not be created.\n\nThe exception is for donations. If the Stripe gateway is using the PAYMENT_INTENT\nmethod, then the donation must already be created to facilitate payment, the\ndonation is completed (or fails) as part of the registration.\n\nIf the registration is successful, the donation record will be assigned to the profile\nonce it's created.\n\n#### For custom components:\n`RaiselyComponents.api.one('campaigns', '{campaign}').all('register').post(data = {}, params = {}, headers = {}) => Promise<{result}>`\n\n :fa-gears: See [Restie Response Data](https://github.com/raisely/restie#reading-and-handling-responses) for a more detailed overview of responses through the client wrapper",
        "parameters": [
          {
            "$ref": "#/components/parameters/Campaign"
          },
          {
            "$ref": "#/components/parameters/Private"
          },
          {
            "$ref": "#/components/parameters/AuthOptional"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Details for creating the user",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "donation": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/createOnlineDonation"
                          }
                        ]
                      },
                      "user": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/createUser"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "password": {
                                "title": "Password",
                                "type": "string",
                                "description": "Password for the new user account"
                              }
                            },
                            "required": [
                              "password"
                            ]
                          }
                        ]
                      },
                      "profile": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/createProfile"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "parentUuid": {
                                "type": "string",
                                "description": "UUID of the team to join, leave blank if also creating a team profile"
                              }
                            }
                          }
                        ]
                      },
                      "teamDonation": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/createOnlineDonation"
                          }
                        ]
                      },
                      "teamProfile": {
                        "allOf": [
                          {
                            "$ref": "#/components/schemas/createProfile"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The result of a successful profile registration",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/createResultUserSignup"
                    },
                    "donation": {
                      "$ref": "#/components/schemas/createResultDonationSignup"
                    },
                    "profile": {
                      "$ref": "#/components/schemas/createResultProfile"
                    },
                    "teamProfile": {
                      "$ref": "#/components/schemas/createResultProfile"
                    },
                    "token": {
                      "type": "string",
                      "description": "Logged in token to be used in future requests"
                    },
                    "accessToken": {
                      "type": "string",
                      "description": "Access token that can be used for automations"
                    },
                    "message": {
                      "type": "string",
                      "description": "Message to show to the user, indicating that either the user was created, or confirmation is needed"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/EmptyBody"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/AlreadyExists"
          },
          "410": {
            "$ref": "#/components/responses/Gone"
          },
          "412": {
            "$ref": "#/components/responses/InvalidRecordState"
          },
          "429": {
            "$ref": "#/components/responses/RateLimitExceeded"
          },
          "500": {
            "$ref": "#/components/responses/InternalError"
          }
        },
        "operationId": "postCampaignsRegister"
      }
    }
  }
}
```