Refund a Pay Now payment
Refunds a Pay Now payment where the authenticated user is the seller.
Note that this API currently only works if the auction closed less than 45 days ago. If you need a refund for an auction that is older than this, please contact cusomter support.
URL: | https://api.trademe.co.nz/v1/mytrademe/PayNowRefund.{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. | ||||
---|---|---|---|---|---|---|
|
POST Data
<PayNowRefundRequest>
ListingId | Integer (optional) |
ListingId
This field is retained for backwards compatibility; please use PurchaseId instead. |
---|---|---|
OfferId | Integer (optional) |
OfferId
This field is retained for backwards compatibility; please use PurchaseId instead. |
RefundAmount | Number (optional) | RefundAmount |
PurchaseId | Integer (optional) | PurchaseId |
Returns
<PayNowRefundResponse>
Details on whether the operation was successful.
Success | Boolean | Success | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description | String or null | Description | |||||||||||||||||||||||||||||||||
StatusCode | Enumeration | StatusCode | |||||||||||||||||||||||||||||||||
|