WAPIsv2.0.2Accounts
Create Account
Create a new WiPay account under the authenticated merchant (MMA). If the email already exists, attempts to link the existing user.
AuthorizationBearer <token>
OAuth2 access token obtained from POST /auth/tokens.
In: header
emailstring
Format
emailLength
length <= 255first_namestring
Match
^[a-zA-Z\-\s]+$Length
2 <= length <= 255last_namestring
Match
^[a-zA-Z\-\s]+$Length
2 <= length <= 255passwordstring
Must pass secure password check in production.
Format
passwordLength
8 <= length <= 30Response Body
curl -X POST "https://tt.wipayfinancial.com/wapi/accounts" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "first_name": "string", "last_name": "string", "password": "pa$$word" }'{
"message": "Created",
"data": {
"account_number": "3255523975"
}
}{
"message": "string"
}{
"message": "string"
}