Secure Payments API Post Users

General

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

POST users

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 7 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.

Request:

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

Response:

{
"id": 18,
"username": "sample@email.com",
"created": "2016-03-22T21:17:09.000Z",
"updated": "2016-03-22T21:17:09.000Z"
}


How did we do?


Powered by HelpDocs (opens in a new tab)