v1

latestOpenAPI 3.0.02026-07-2691259477.2 KB
Refunds

Refund a Money-In

put/v2/refund/{transactionid}

Path parameters

transactionidinteger required

Headers

Authorizationstring required

Authorization bearer (OAuth 2)

PSU-Accept-Languagestring

Response language accepted by final client (PSU). English by default

PSU-IP-Addressstring required

IP address of the final client (PSU).

PSU-User-Agentstring

User-agent of the final client (PSU).

Request body

amountToRefundinteger

Refund Amount. If empty, the total amount of the payment will be refunded.

commentstring

Comment on the refund. Explain the reason for the refunded amount Note: In the API Response displayed before the comment will appear the refund transaction id. Example: comment": "Refund 2763789 Items not wanted"

Example request

{
  "amountToRefund": 1500,
  "comment": "Never received the PO 12366GG"
}

Response

OK