Website logo

Retrieve your payment instructions template

Retrieves your payment instructions template. The payment instructions template affects the behaviour of listings with the SendPaymentInstructions flag set. Specifically if a listing with that flag sells, the buyer will be sent a payment instructions email that contains the text of your payment instructions template and the buyer can view the payment instructions from the Trade Me website, mobile apps or third-party tools.

URL: https://api.trademe.co.nz/v1/MyTradeMe/PaymentInstructions.{file_format}
HTTP Method: GET
Requires Authentication? Yes
Permission Required: MyTradeMeRead: Read your membership & listing data.
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.

Returns

<PaymentInstructionsTemplate>

The payment instructions template.

Template String or null

The payment instructions template. This should not include a salutation ("Hi John"). If payment instructions haven't been set up then this will be null.

CopySeller Boolean

Indicates whether the seller's preference is to CC payment instructions emails. The default is false.

Example XML Response (switch to JSON)

<PaymentInstructionsTemplate xmlns="http://api.trademe.co.nz/v1">
  <Template>ABC</Template>
  <CopySeller>false</CopySeller>
</PaymentInstructionsTemplate>

Example JSON Response (switch to XML)

{
  "Template": "ABC",
  "CopySeller": false
}