Adding permission to refund charges
Use case
A SaaS application website is functioning well, and it’s time for the company to hire their first customer support staff. The administrator of the site wishes to give the new staff the ability to provide customer refunds during a support call, without granting full administrator-level control.
Implementation
By default, contributors cannot refund charges made through DjaoDjin’s hosted checkout and payment pages. The manager of this SaaS application website can override this default behavior by creating a rule that enable contributors to also click on a “Refund” button and trigger the refund API endpoint.