Refunding
Vipps and Stripe support the ability to refund charges, either fully or partially. Once issued, a refund cannot be canceled. You can issue multiple refunds for one payment, but you cannot refund a total greater than the original amount.
Refund Object
The properties
will have the following key and value by default:
reason
=>duplicate
,fraudulent
or,requested_by_customer
Refund a Payment
A Payment can be fully or partially refunded and its current_state
will change to refunded
or, partial_refund
.
When a refund process is triggered, on success the Payment current_state
changes to pending_refund
or refund_failed
.
A payment can be refunded multiple times but the total refunded amount can't be higher than the initial Payment amount
.
Example:
Let's assume that you have a Payment for 250 NOK.
First, you refund half the initial amount: 125.
If the refund is successful, the payment current_status
changes to partial_refund
and amount_refunded
will be 125.
Then later, you decide to refund it with the amount set to 125.
The Payment amount_refunded
will be 250 and the current_status
will be refunded
.
It is only callable by an admin user or a service account key.
Last updated