Website logo

Confirm address verification by applying the code that has been physically mailed to the member

Confirm address verification by applying the code that has been physically mailed to the member

URL: https://api.trademe.co.nz/v1/mytrademe/ApplyAddressVerificationCode.{file_format}
HTTP Method: POST
Requires Authentication? Yes
Permission Required: MyTradeMeWrite: Maintain your watchlist, answer questions and post comments.
Supported Formats: XML, JSON
Rate Limited? Yes

URL parameters

file_format Enumeration (required) The format of the response.
xml Serialize responses into XML.
json Serialize responses into JSON.

POST Data

<ApplyAddressVerificationCodeRequest>

AddressVerificationCode String (optional) AddressVerificationCode

Returns

<ApplyAddressVerificationCodeResponse>

A response that indicates whether the operation succeeded.

Success Boolean Success
Description String or null Description

Example XML Request (switch to JSON)

<ApplyAddressVerificationCodeRequest xmlns="http://api.trademe.co.nz/v1">
  <AddressVerificationCode>ABC</AddressVerificationCode>
</ApplyAddressVerificationCodeRequest>

Example JSON Request (switch to XML)

{
  "AddressVerificationCode": "ABC"
}

Example XML Response (switch to JSON)

<ApplyAddressVerificationCodeResponse xmlns="http://api.trademe.co.nz/v1">
  <Success>false</Success>
  <Description>ABC</Description>
</ApplyAddressVerificationCodeResponse>

Example JSON Response (switch to XML)

{
  "Success": false,
  "Description": "ABC"
}