Create Payer
service: createPayer
Create a payer for Payment Order.
bizContent Request Parameters
firstName
String
Y
The first name of the payer.
Example: Peter
lastName
String
Y
The last name of the payer.
Example: Pan
areaCode
Integer
Y
The area code of the payer's phone.
Example: 852
phone
String
Y
The payer's phone number.
Example: 98765432
address
String
Y
The address of the payer.
[a-z][A-Z][0-9] and SPACE , length 0-255,
Example: Hong Kong
city
String
Y
The city of the payer.
Example: Hong Kong
province
String
Y
The province or state of the payer.
Example: California
postcode
String
Y
The post or zip code of the payer.
Example: 95001
country
String
Y
The country of the payer.
Example: China
bizContent Request Sample
{
"firstName": "Peter",
"lastName": "pan",
"email": "[email protected]",
"areaCode": 852,
"phone": "98765432",
"address": "Hong Kong",
"city": "Hong Kong",
"province": "Hong Kong",
"postcode": "95001",
"country": "China"
}bizContent Response Parameters
status
Integer
Y
Status of the response: 0 indicates success, -1 indicates failure.
errorCode
String
N
Application specific error code about any error that occurred during processing.
errorMessage
String
N
Error Description
data
Object
N
The actual data payload of the response, which can be of any JSON-compatible type
See Data Payload
Data Payload
firstName
String
Y
The first name of the payer.
lastName
String
Y
The last name of the payer.
String
Y
The email of the payer.
areaCode
Integer
Y
The area code of the payer's phone.
phone
String
Y
The payer's phone number.
address
String
Y
The address of the payer.
city
String
Y
The city of the payer.
province
String
Y
The province or state of the payer.
postcode
String
Y
The post or zip code of the payer.
country
String
Y
The country of the payer.
payerID
Integer
Y
Important:The specific business operation results are subject to status field
bizContent Decrypted Sample
Last updated