Making a Full Refund or Void a Transaction

To make a full refund or void a transaction you may use DELETE /payment/{id}?force=true route. If the payment has not been settled it will void the payment. If the payment is settled, it will create a new transaction and refund the same amount.

  • Refund or Void a payment using DELETE /payment/{id}
  • Do a GET /payment/{id} and check if the payment has been refunded for a settled transaction or voided for an unsettled transaction.
Authorization: Basic c2FuZGJveHBvc3RtxxxxxxxxxxE1NTE1NTE1NQ==

HTTP 204