degmo
7 years agoVisitor
Help with API call to refund a transaction
Hello,
I am using Postman to refund a transaction. I keep getting the error: The server encountered an error processing the request. The exception message is 'Unable to deserialize XML body with root name 'cancel'. Anyone knows why that is?
Sending a POST request to:
https://apipub.roku.com/listen/transaction-service.svc/refund-subscription[/size]
Body of request is:
I am using Postman to refund a transaction. I keep getting the error: The server encountered an error processing the request. The exception message is 'Unable to deserialize XML body with root name 'cancel'. Anyone knows why that is?
Sending a POST request to:
https://apipub.roku.com/listen/transaction-service.svc/refund-subscription[/size]
Body of request is:
<cancel>
<partnerAPIKey>xxxxxxxxxxxxxxxxxxxxx</partnerAPIKey>
<transactionId>xxxxxxxxxxxxxxx</transactionId>
<amount>9.99</amount>
<partnerReferenceId></partnerReferenceId>
<comments>Refund due to error</comments>
</cancel>