Register Customer
To register a customer account with Yuansfer, sending a POST request to the Register Customer endpoint and include customer's detail in a JSON format in the request body.
Register
POST
https://mapi.yuansfer.com/v1/customers/create
Request Body
Name | Type | Description |
---|---|---|
profileType | string | Default value is "INDIVIDUAL" |
lang | string | Language customer speak |
timestamp | string | Current UTC time, correct format should be "yyyy-MM-ddTHH:mm:ssZ" |
merchantNo | string | Merchant ID |
storeNo | string | Store ID |
verifySign | string | The parameter signature |
city | string | The user's city |
company | string | The company name |
country | string | The user's country |
countryCode | string | The user's country code |
customerCode | string | The user's ID |
dateOfBirth | string | The user's date of birth, correct format should be "yyyy-MM-dd" |
string | The user's email address | |
firstName | string | The user's first name |
lastName | string | The user's last name |
mobileNumber | string | The user's cell phone number |
phone | string | The user's phone number |
state | string | The user's state |
street | string | The user's street address |
street2 | string | The user's address, second line |
zip | string | The user's zip code |
Response
Parameter | Type | Description |
customer | object | The customer object. |
ret_msg | string | The response return message. |
ret_code | string | The response return code. For more details, see here. |
Customer Object
Parameter | Type | Description |
firstName | string | The user's first name. |
lastName | string | The user's last name. |
customerCode | string | The user-defined user's ID in Yuansfer's system. |
createdTime | string | The time when user registered account. |
customerNo | string | The auto-generated user's ID in Yuansfer's system. |
string | The user's email address. |
Last updated