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

NameTypeDescription

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"

email

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

{
    "result":
    {
       "firstName":"Test",
       "lastName":"Test",
       "customerCode":"test08242021",
       "createdTime":"2021-08-24T17:50:18Z",
       "customerNo":"2000300192493466077324",
       "email":"YuansferTest08242021@gmail.com"
    },
    "ret_msg": "success",
    "ret_code": "000100"
}

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.

email

string

The user's email address.

Last updated