Make a PayPal Refund
Refunds using the API
Refunds by API are made using the existing refund call Refund a MoneyIn.
Endpoint: PUT /webservice/v2/refund/{transactionid}
To ensure that your refund is valid. Verify the following information in the response:
- status(0 = success)
- SenderAccountId(buyers accountid)
- debitAmount(refund amount)
- methodDetails(35 = PayPal)
Remember to include the required path parameters: v2/refund/{transactionid}
Example:
{
	"amountToRefund": 15000,
	"comment": "Order reference {{reference}}"
}{
  "transaction": {
    "status": 0,
    "senderAccountId": "kawaa90909",
    "debitAmount": 1500,
    "IbanId": 0,
    "originId": 0,
    "id": 255,
    "method": 30,
    "date": 1662929830,
    "commissionAmount": 100,
    "comment": null,
    "executionDate": 0,
    "reference": null
  }
}Refunds using the Lemonway Dashboard
- Login to your account using Lemonway Dashboard.
- Select Transactions>All  from the Dashboard menu. This displays all transactions.
 Use the search or method column to find your specific.
- Click the transaction you require from the displayed list.
 The Transaction details window is displayed. Click Refund to process the refund.
- Ensure that the refund amount is correct. Enter a comment if required.
 Click Submit to process and validate the refund.
- To verify that a refund has been processed. Select Transactions>In/Out
 from the Dashboard menu.
NoteYou can issue a full or partial refund on a PayPal payment within 180 days of the original payment date.
Updated 9 months ago
