Skip to main content

3rdPartyUnbind

Function

Unbind 3rdParty Members

Endpoint

  • /v1/thirdparty/unbind

HTTP Method

  • POST

Request Headers

  • Authorization: Bearer {token}
  • X-App-Key: {appKey}

Request Payload

  • app unbind kdp member number
{
"memberId": "memberId",
"thirdPartyType": "kdp",
"thirdPartyId": "kdp member number",
"thirdPartyConfirmed": "0",
"reasonType": "OTHER",
"reasonDescription": "description"
}
  • kdp callback unbind
{
"memberId": "memberId",
"thirdPartyType": "kdp",
"thirdPartyId": "kdp member number",
"thirdPartyConfirmed": "1",
"reasonType": "OTHER",
"reasonDescription": ""
}

Request Parameters

FieldRequiredTypeRemarkSample
memberIdYesstringmemberId
thirdPartyTypeYesstring3rd party type: kdpkdp
thirdPartyIdYesstring3rd party id
thirdPartyConfirmedNostringThe 3rd party has confirmed? 1:Yes , 0:No1
reasonTypeNostringreasonType: UPDATE_MOBILE、MERGE_ACCOUNT、TERMINATE_MEMBERSHIP、OTHER
reasonDescriptionNostringdescription

Response Payload

{
"status": 1,
"errorCode": 0,
"message": "success",
"memberId": "memberId",
"thirdPartyType": "kdp",
"thirdPartyId": "00000000001"
}

Error Codes

Status CodeStatus Description
1Internal Error
3Missing Parameter
4Invalid Input
4100Member Not Found
TBC3rdParty Id Not Found