User
Create a user
This POST endpoint is used to create a new user in MassPay. <br> You can use this endpoint to create a new user with the specified user details in JSON format in the request Body. <br> To use this endpoint, you need to provide the internal_user_id, country, first_name, last_name, and email as required parameters in the Request Body. <br> The response will include details about the newly created user.
post/payout/user
Request body
Example request
{
"internal_user_id": "4324-rOzk",
"address1": "2000 main st",
"address2": "apt D",
"city": "Santa Monica",
"state_province": "CA",
"postal_code": "90405",
"country": "USA",
"first_name": "John",
"last_name": "Doe",
"email": "jdoe@gmail.com",
"language": "en",
"mobile_number": "16502000226",
"business_name": "ABC Company",
"date_of_birth": "1975-03-24",
"metadata": {
"group_id": 541
}
}Response
Successfully created.
Example response
{
"user_token": "123e4567-e89b-12d3-a456-426614174000",
"created_on": "2019-07-07T23:03:05",
"internal_user_id": "4324-rOzk",
"address1": "2000 main st",
"address2": "apt D",
"city": "Santa Monica",
"state_province": "CA",
"postal_code": "90405",
"country": "USA",
"first_name": "John",
"last_name": "Doe",
"email": "jdoe@gmail.com",
"language": "en",
"mobile_number": "16502000226",
"business_name": "ABC Company",
"timezone": "America/Los_Angeles",
"date_of_birth": "1975-03-24",
"metadata": {
"group_id": 541
}
}