Secure Payments API – Create User

General

WARNING: Unlike LoanPro, where multiple users can access the same account, Secure Payments only allows a single user per account. This ensures a far greater level of security and protects your customers' private information. The API request to Create Users does not create additional agent users like in the LoanPro API, but instead either replaces your current user or creates a new account altogether.

Creating a new user is one of the account management options available through the Secure Payments (formerly PCI wallet) API. Each Secure Payments account can have only one user, so creating a new user will create a new Secure Payments account.

How To

Send a POST request to this endpoint:

POST https://securepayments.loanpro.io/api/users

This creates a new user with the specified username and password. Username must be a valid email address. Passwords must implement the following rules:

  • Must be at least 8 characters long (max 255)
  • Must have at least one uppercase letter
  • Must have at least one lowercase letter
  • Must have at least one digit
  • Must have at least one of the following special characters: #, ª, ?, ^, @, -, _, $, &
  • Must not contain the username
  • Must be different from ANY previous passwords

Additionally, passwords expire every 90 days.

Here's a sample request:

{
"password": "q2d5ad$V<G53gMQ6",
"username": "stephenmalkmus@email.com"
}

And a sample cURL payload:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{
"password": "AGood-Password-01",
"username": "sample@email.com"
}' 'https://securepayments.loanpro.io/api/users'

The response should look something like this:

{
"role": "user",
"nacha_settled_days_type": "banking",
"amount": 500.0,
"nacha_action": true,
"sftp_nacha_price": 0.09,
"nacha_settled_days": 3,
"updated": "2021-05-04T14:44:18Z",
"username": "stephenmalkmus@email.com",
"nacha_settled_enabled": false,
"created": "2021-05-04T14:44:18Z",
"routing_action": true,
"card_lookup_price": 0.05,
"echeck_price": 0.25,
"balance": 25.0,
"anet_price": 0.25,
"anet_action": true,
"address_verify_price": 0.09,
"id": 2697,
"last_recharge": null,
"minimum_balance": 50.0,
"address_action": true,
"echeck_action": true,
"lookup_action": true,
"bank_name_lookup_price": 0.01,
"contact": "stephenmalkmus@email.com",
"country": "usa",
"metadata": null
}


How did we do?


Powered by HelpDocs (opens in a new tab)