Logins

postLogins

POST
/logins

Create a Login. A Login represents the unique ID of the user making an API request. Each user has a unique username and password.

Authorization

APIKEY<token>

In: header

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Create Login Request

Create Login Request

login?string

The parent user that owns this user. Defaults to authenticated user’s ID if no value is explicitly set.

partition?string

The partition that this Login is associated with. The partition association opens access to partition-level administrators on this user and all records owned by this user. Defaults to authenticated user’s partition if no value is explicitly set.

division?|

The division that this Login belongs to. The division association opens access to division-level administrators on this user and all records owned by this user. Defaults to authenticated user’s division if no value is explicitly set.

parentDivision?string

The parent division that this Login belongs to. Children of this Login will inherit its parent division. The parentDivision association may be used for whitelabeling the user experience for parent divisions that have implemented a whitelabel solution (as long as the child division that the user is associated with has not implemented their own). Defaults to authenticated user’s parentDivision if no value is explicitly set.

roles?integer

The roles associated with this Login, specified as an integer. Single Roles- Valid Values 16 - Entity 64 - Vendor 128 - Merchant 256 - Create Merchant 512 - Password 1024 - Log 2048 - Unfreeze 4096 - Modify Roles 8192 - Payment IDs 65536 - MCC 131072 - TXN Report 262144 - Disbursement 524288 - Fund Reserve 1048576 - Platform Refs 2097152 - Verification 4194304 - Fee 8388608 - Challenge 16777216 - Reserve TXN 33554432 - Set Boarded 67108864 - Assessment 134217728 - Adjustment 268435456 - Merchant Flow 1073741824 - Confirm Email 2147483648 - TIN Status 4294967296 - Entity Route 8589934592 - Files 17179869184 - Unmask Private 34359738368 - Unmask Bank 68719476736 - Thread Create 137438953472 - BIN Query 274877906944 - BIN Change 1099511627776 - Assessment View 17592186044416 - Entity Return 70368744177664 - Watchlist 140737488355328 - Profit Share 281474976710656 - MFA Multi-Roles- Valid Values 144 - Entity, Merchant 192 - Vendor, Merchant 208 - Entity, Vendor, Merchant 320 - Vendor, Create Merchant 384 - Merchant, Create Merchant 400 - Entity, Merchant, Create Merchant 131136 - Vendor, TXN Report 131200 - Merchant, TXN Report 131456 - Merchant, Create Merchant, TXN Report 1048640 - Vendor, Platform Refs 1048704 - Merchant, Platform Refs 1048768 - Vendor, Merchant, Platform Refs 2097216 - Vendor, Verification 4194368 - Vendor, Fee 4194384 - Entity, Vendor, Fee 134217792 - Vendor, Adjustment 268435584 - Merchant, Merchant Flow 272630160 - Entity, Merchant, Create Merchant, Fee, Merchant Flow 272630224 - Entity, Vendor, Merchant, Create Merchant, Fee, Merchant Flow 273154512 - Entity, Vendor, Merchant, Create Merchant, Fund Reserve, Fee, Merchant Flow 1099511627840 - Vendor, Assessment View 1099511758912 - Vendor, TXN Report, Assessment View

Default0
username*string

The username associated with this Login. This field is stored as a text string, all lowercase, and must be between 0 and 50 characters long.

password*string

The password associated with this Login. This field is stored as a text string and must be between 0 and 100 characters long.

first*string

The first name associated with this Login.

middle?string

The middle name associated with this Login.

last*string

The last name associated with this Login.

email*string

The email address associated with this Login.

allowedResources?string

The allowedResources field specifies the actions and resources a user can access. The JSON structure includes action keys (create, update, read, delete, totals) and lists of resources (e.g., logins, apikeys, sessions). Omitted action keys indicate no access for those actions. Instructions In addition to the roles for this login, you can specify API functionality by creating a JSON object as the value for this field using with data arrays titled: ”create”: [], ”read”: [], ”update”: [], ”delete”: [], and ”totals”: [] for their API CRUD functions POST, GET, PUT, DELETE with the totals array setting users ability to calculate and report on disbursements, funds, and other monetary totals relevant to the specified endpoint resources. Add the names of each endpoint resource separated by a comma (,) for which you want to provide functionality. For example, { "create": ["payouts"] } allows this login to create payout transactions using the POST /payouts API request method.

restrictedResources?string

The restrictedResources field defines the actions and resources a user is restricted from accessing. The JSON structure includes action keys (create, update, read, delete, totals) and lists of resources (e.g., logins, apikeys, sessions). Omitted action keys indicate no restrictions for those actions. Instructions In addition to the roles for this login, you can specify API functionality by creating a JSON object as the value for this field using with data arrays titled: ”create”: [], ”read”: [], ”update”: [], ”delete”: [], and ”totals”: [] for their API CRUD functions POST, GET, PUT, DELETE with the totals array setting users ability to calculate and report on disbursements, funds, and other monetary totals relevant to the specified endpoint resources. Add the names of each endpoint resource separated by a comma (,) for which you want to provide functionality. For example, { "create": ["payouts"] } allows this login to create payout transactions using the POST /payouts API request method.

portalAccess?loginsPortalAccess

Whether or not this user should have access to portal functionality.

  • 0 - No access to the portal

  • 1 - Has access to the portal

Value in

  • 0
  • 1
mfaEnabled*loginsMfaEnabled

Whether or not this user should have multi factor authentication (MFA) feature.

  • 0 - Disabled
  • 1 - Enabled

Value in

  • 0
  • 1
mfaSecret?string

The MFA secret key used to link the MFA device with this Login. This field is stored as a text string and must be between 1 and 128 characters long.

mfaEnrolledDate?string

The datetimestamp when this Login was enabled for MFA.

Match^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}
mfaType?string

The Type of the MFA enrolled. This field is stored as a text string and must be between 1 and 50 characters long.

address1?string

The first line of the address associated with this Login. This field is stored as a text string and must be between 1 and 500 characters long.

address2?string

The second line of the address associated with this Login. This field is stored as a text string and must be between 1 and 500 characters long.

city?string

The name of the city in the address associated with this Login. This field is stored as a text string and must be between 1 and 500 characters long.

state?string

The U.S. state or Canadian province relevant to the address provided here. If the location is within the U.S. and Canada, specify the 2-character postal abbreviation for the state. If the location is outside of the U.S. and Canada, provide the full state name. This field is stored as a text string and must be between 2 and 100 characters long.

  • AK - Alaska (US)

  • AR - Arkansas (US)

  • AL - Alabama (US)

  • AZ - Arizona (US)

  • CA - California (US)

  • CO - Colorado (US)

  • CT - Connecticut (US)

  • DE - Delaware (US)

  • FL - Florida (US)

  • GA - Georgia (US)

  • HI - Hawaii (US)

  • IA - Iowa (US)

  • ID - Idaho (US)

  • IL - Illinois (US)

  • IN - Indiana (US)

  • KY - Kentucky (US)

  • KS - Kansas (US)

  • LA - Louisiana (US)

  • MA - Massachusetts (US)

  • MD - Maryland (US)

  • ME - Maine (US)

  • MI - Michigan (US)

  • MN - Minnesota (US)

  • MO - Missouri (US)

  • MS - Mississippi (US)

  • MT - Montana (US)

  • NC - North Carolina (US)

  • ND - North Dakota (US)

  • NE - Nebraska (US)

  • NH - New Hampshire (US)

  • NJ - New Jersey (US)

  • NM - New Mexico (US)

  • NV - Nevada (US)

  • NY - New York (US)

  • OH - Ohio (US)

  • OK- Oklahoma (US)

  • OR - Oregon (US)

  • PA - Pennsylvania (US)

  • RI - Rhode Island (US)

  • SC- South Carolina (US)

  • SD - South Dakota (US)

  • TN - Tennessee (US)

  • TX - Texas (US)

  • UT - Utah (US)

  • VA - Virginia (US)

  • VT - Vermont (US)

  • WA - Washington (US)

  • WI - Wisconsin (US)

  • WV - West Virginia (US)

  • WY - Wyoming (US)

  • AB - Alberta (CAN)

  • BC - British Columbia (CAN)

  • MB - Manitoba (CAN)

  • ON - Ontario (CAN)

  • NS - Nova Scotia (CAN)

  • NB - New Brunswick (CAN)

  • NL - Newfoundland and Labrador (CAN)

  • NT - Northwest Territories (CAN)

  • NU - Nunavut (CAN)

  • PE - Prince Edward Island (CAN)

  • QC - Quebec (CAN)

  • SK - Saskatchewan (CAN)

  • YT - Yukon (CAN)

zip?string

The ZIP code in the address associated with this Login. This field is stored as a text string and must be between 1 and 20 characters long.

country?country

The country associated with this Customer/InvoiceResult, valid values for this field are the 3-letter ISO code for the country.

Value in

  • "ABW"
  • "AFG"
  • "AGO"
  • "AIA"
  • "ALA"
  • "ALB"
  • "AND"
  • "ARE"
  • "ARG"
  • "ARM"
  • "ASM"
  • "ATA"
  • "ATF"
  • "ATG"
  • "AUS"
  • "AUT"
  • "AZE"
  • "BDI"
  • "BEL"
  • "BEN"
  • "BES"
  • "BFA"
  • "BGD"
  • "BGR"
  • "BHR"
  • "BHS"
  • "BIH"
  • "BLM"
  • "BLR"
  • "BLZ"
  • "BMU"
  • "BOL"
  • "BRA"
  • "BRB"
  • "BRN"
  • "BTN"
  • "BVT"
  • "BWA"
  • "CAF"
  • "CAN"
  • "CCK"
  • "CHE"
  • "CHL"
  • "CHN"
  • "CIV"
  • "CMR"
  • "COD"
  • "COG"
  • "COK"
  • "COL"
  • "COM"
  • "CPV"
  • "CRI"
  • "CUB"
  • "CUW"
  • "CXR"
  • "CYM"
  • "CYP"
  • "CZE"
  • "DEU"
  • "DJI"
  • "DMA"
  • "DNK"
  • "DOM"
  • "DZA"
  • "ECU"
  • "EGY"
  • "ERI"
  • "ESH"
  • "ESP"
  • "EST"
  • "ETH"
  • "FIN"
  • "FJI"
  • "FLK"
  • "FRA"
  • "FRO"
  • "FSM"
  • "GAB"
  • "GBR"
  • "GEO"
  • "GGY"
  • "GHA"
  • "GIB"
  • "GIN"
  • "GLP"
  • "GMB"
  • "GNB"
  • "GNQ"
  • "GRC"
  • "GRD"
  • "GRL"
  • "GTM"
  • "GUF"
  • "GUM"
  • "GUY"
  • "HKG"
  • "HMD"
  • "HND"
  • "HRV"
  • "HTI"
  • "HUN"
  • "IDN"
  • "IMN"
  • "IND"
  • "IOT"
  • "IRL"
  • "IRN"
  • "IRQ"
  • "ISL"
  • "ISR"
  • "ITA"
  • "JAM"
  • "JEY"
  • "JOR"
  • "JPN"
  • "KAZ"
  • "KEN"
  • "KGZ"
  • "KHM"
  • "KIR"
  • "KNA"
  • "KOR"
  • "KWT"
  • "LAO"
  • "LBN"
  • "LBR"
  • "LBY"
  • "LCA"
  • "LIE"
  • "LKA"
  • "LSO"
  • "LTU"
  • "LUX"
  • "LVA"
  • "MAC"
  • "MAF"
  • "MAR"
  • "MCO"
  • "MDA"
  • "MDG"
  • "MDV"
  • "MEX"
  • "MHL"
  • "MKD"
  • "MLI"
  • "MLT"
  • "MMR"
  • "MNE"
  • "MNG"
  • "MNP"
  • "MOZ"
  • "MRT"
  • "MSR"
  • "MTQ"
  • "MUS"
  • "MWI"
  • "MYS"
  • "MYT"
  • "NAM"
  • "NCL"
  • "NER"
  • "NFK"
  • "NGA"
  • "NIC"
  • "NIU"
  • "NLD"
  • "NOR"
  • "NPL"
  • "NRU"
  • "NZL"
  • "OMN"
  • "PAK"
  • "PAN"
  • "PCN"
  • "PER"
  • "PHL"
  • "PLW"
  • "PNG"
  • "POL"
  • "PRI"
  • "PRK"
  • "PRT"
  • "PRY"
  • "PSE"
  • "PYF"
  • "QAT"
  • "REU"
  • "ROU"
  • "RUS"
  • "RWA"
  • "SAU"
  • "SDN"
  • "SEN"
  • "SGP"
  • "SGS"
  • "SHN"
  • "SJM"
  • "SLB"
  • "SLE"
  • "SLV"
  • "SMR"
  • "SOM"
  • "SPM"
  • "SRB"
  • "SSD"
  • "STP"
  • "SUR"
  • "SVK"
  • "SVN"
  • "SWE"
  • "SWZ"
  • "SXM"
  • "SYC"
  • "SYR"
  • "TCA"
  • "TCD"
  • "TGO"
  • "THA"
  • "TJK"
  • "TKL"
  • "TKM"
  • "TLS"
  • "TON"
  • "TTO"
  • "TUN"
  • "TUR"
  • "TUV"
  • "TWN"
  • "TZA"
  • "UGA"
  • "UKR"
  • "UMI"
  • "URY"
  • "USA"
  • "UZB"
  • "VAT"
  • "VCT"
  • "VEN"
  • "VGB"
  • "VIR"
  • "VNM"
  • "VUT"
  • "WLF"
  • "WSM"
  • "XXK"
  • "YEM"
  • "ZAF"
  • "ZMB"
  • "ZWE"
phone?string

The phone number associated with this Login. This field is stored as a text string and must be between 10 and 15 characters long.

fax?string

The fax number associated with this Login. This field is stored as a text string and must be between 10 and 15 characters long.

inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1
aggregations?array<>
customers?array<>
billings?array<>
divisions?array<>
entities?array<>
invoiceParameters?array<>
messageThreads?array<>
notes?array<>
orgFlows?array<>
orgFlowsforlogin?array<>
profitShares?array<>
teamLogins?array<>
teams?array<>

Response Body

application/json

application/json

curl -X POST "https://example.com/logins" \  -H "Content-Type: application/json" \  -d '{    "email": "user2118145526@example.com",    "first": "John",    "inactive": 0,    "frozen": 0,    "last": "Doe",    "mfaEnabled": 0,    "partition": "g157713aff9b946",    "division": "t1_div_67c56806728fbbf0bae0b10",    "password": "****",    "portalAccess": 1,    "roles": 64,    "username": "user9287347954",    "login": "g15967a6e0d7cf6",    "parentDivision": "Login belongs to",    "allowedResources": "{\\"create\\":[\\"accounts\\",\\"payouts\\"],\\"read\\":[\\"disbursements\\",\\"disbursementResults\\"],\\"update\\":[\\"accounts\\",\\"payouts\\"],\\"delete\\":[\\"accounts\\",\\"payouts\\"],\\"totals\\":[\\"disbursements\\",\\"disbursementResults\\"]}",    "restrictedResources": "{\\"create\\":[\\"ltxns\\"],\\"read\\":[\\"txnResults\\"],\\"update\\":[\\"txns\\"],\\"delete\\":[\\"txns\\"],\\"totals\\":[\\"txns\\"]}",    "mfaSecret": "****",    "mfaEnrolledDate": "2025-06-16 08:02:53",    "mfaType": "totp",    "address1": "9337 SPRING CYPRESS RD STE A413",    "address2": "Suite 403",    "city": "Spring",    "state": "TX",    "zip": "77379",    "country": "USA",    "phone": "1028106820",    "fax": "1085069293",    "loginAsEnabled": 1,    "mfaSmsCodesCount": 0,    "mfaSmsWindow": 0  }'
{  "response": {    "data": [      {        "id": "t1_log_67c56806038bb4eb85a0000",        "created": "2025-03-03 03:27:50.0511",        "modified": "2025-03-03 03:38:26.1424",        "creator": "g1577139c2304b0",        "modifier": "t1_log_67c56806038bb4eb85a0000",        "login": "g15967a6e0d7cf6",        "lastLogin": "2025-03-03 03:38:26",        "username": "user9287347954",        "password": "myPassword",        "first": "John",        "middle": "",        "last": "Doe",        "email": "user2118145526@example.com",        "fax": "",        "phone": "0028106820",        "country": "USA",        "zip": "77379",        "state": "TX",        "city": "Spring",        "address2": "",        "address1": "9337 SPRING CYPRESS RD STE A413",        "confirmed": 0,        "roles": 64,        "partition": "g157713aff9b946",        "division": "t1_div_67c56806728fbbf0bae0b10",        "inactive": 0,        "frozen": 0,        "allowedResources": "",        "restrictedResources": "",        "parentDivision": "",        "portalAccess": 1,        "ssoId": "",        "mfaEnabled": 1,        "mfaSecret": "",        "mfaEnrolledDate": "2025-06-16 08:02:53",        "mfaType": "",        "mfaSmsCodesCount": 0,        "mfaSmsWindow": 0,        "loginAsEnabled": 1,        "effectiveRoles": 1550314      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}