To know how to take card payments, you can see our guide to Accept your first card payment.
You can refund card payments using the Merchant API.
Once you have an order that is in
COMPLETED state, you can use the Refund an order endpoint to start a refund.
If the API call is successful, a refund order will be created and associated with the original order.
You can also refund the amount of a payment partially by sending an amount in the body of the refund API request. See a request body example:
You can do multiple partial refunds as long as the remaining amount in the order (i.e. the money that is still kept from the user) is lower than the amount refunded.
For example, if you have a
COMPLETED order for €100, and you refund €60 in a partial refund operation, you can only refund €40 or less in subsequent partial refund operations.