Payer Edit
API Information
- Path:
/api/v1/acct/editPayer - Method: POST
- Content-Type: application/json
Business Description
- Update payer information. ID is required, include the field information that needs to be updated
Request Parameters
Headers
Request Headers
| Parameter | Value | Required | Description |
|---|---|---|---|
| Content-Type | application/json | Yes | Request body type |
Request Body
Main Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| id | integer | Payer ID | M |
| merchantNo | integer | Merchant Number | M |
| companyNameEn | string | Company English Name (Required for Corporate) | M |
| companyName | string | Company Name (Required for Corporate) | M |
| country | string | Country | M |
| addressEn1 | string | Address | M |
| addressEn2 | string | Registration Address 2 | M |
| addressEn3 | string | Registration Address 3 | M |
| registerNo | string | Registration Number | M |
| registerDate | string | Registration Date | M |
| postcode | string | Postal Code | M |
| string | M | ||
| areaCode | string | Area Code | M |
| phoneNumber | string | Phone Number | M |
| state | string | State/Province | M |
| city | string | City | M |
| subEntityType | string | Type: "0" Company "1" Individual | C |
| firstName | string | First Name (Required for Individual) | M |
| lastName | string | Last Name (Required for Individual) | M |
| idType | string | ID Type: 0: NRIC, 1: PASSPORT, 2: CORPORATE_REGISTRATION_NUMBER | M |
| idNumber | string | ID Number | M |
| birthDate | string | Date of Birth | M |
| idValidDateFrom | string | ID Valid From Date | M |
| idValidDateTo | string | ID Valid To Date | M |
| sign | string | Signature | M |
Request Example
json
{
"id": 1953842106012663808,
"merchantNo": "800149",
"country": "CN",
"addressEn1": "Nanshan Science & Technology Park, Shenzhen",
"addressEn2": "adres2",
"addressEn3": "ad3",
"postcode": "518057",
"status": 0,
"email": "1@qq.com",
"areaCode": "+86",
"phoneNumber": "15072871023",
"state": "shandong",
"city": "linzhe",
"subEntityType": "1",
"firstName": "zhang",
"lastName": "san",
"idType": "0",
"idNumber": "371328198410044019",
"birthDate": "1984-10-04",
"idValidDateFrom": "2016-08-04",
"idValidDateTo": "2026-08-04",
"sign" : "AD121231231231231231"
}Response
Response Headers
| Parameter | Value | Required | Description |
|---|---|---|---|
| content-type | application/json;charset=UTF-8 | Yes | Response body type |
Response Parameters
Response Fields
| Parameter | Type | Description |
|---|---|---|
| respCode | string | Response Code |
| respMsg | string | Response Message |
| data | object | Response Data |
| └─merchantNo | integer | Merchant Number |
| └─payoutId | integer | Payout Transaction ID |
| └─status | string | Status |
| └─requestId | string | Request ID |
Response Example
json
{
"respCode": "",
"respMsg": "",
"data": {
"merchantNo": 0,
"payoutId": 0,
"status": "",
"requestId": ""
}
}