Organizer Registration
Organizers are registered using this method.
Method Info
Url | https://www.payit2.com/api/v1/organizer |
---|---|
Verb | POST |
Headers | X-PayItSquare-AppKey |
Input
Property | Data Type | Validation Info |
---|---|---|
Password | String | Required, 50 characters max. |
FirstName | String | Required, 50 characters max. |
LastName | String | Required, 50 characters max. |
OrganizationName | String | 100 characters max. |
EmailAddress | String | Required |
HidePayPalUpgradeNotification | Boolean | |
CanDelete | Boolean | |
TimeZoneId | String | Valid Time Zone Ids are available at http://msdn.microsoft.com/en-us/library/bb384272.aspx |
Output
Property | Data Type | Other Info |
---|---|---|
Token | String | This value is used as the X-PayItSquare-Token in subsequent calls |
IsSuccess | Boolean | Indicates if the call was successful or not. |
Messages | String Array | Will contain a list of error messages if IsSuccess is false |
Sample Input
{ "Password": "MyPassword", "FirstName": "John", "LastName": "Doe", "OrganizationName": null, "EmailAddress": "myaddress@myemail.com", "HidePayPalUpgradeNotification": false, "CanDelete": false, "TimeZoneId": null }
Sample Success Response
{ "Token": "MyAuthToken", "IsSuccess": true, "Messages": [] }
Sample Error Response
{ "Token": null, "IsSuccess": false, "Messages": [ "Username is not valid", "Email address is already registered." ] }