API to update the state or metadata of a payment


When updating a payment there are different actions that can be executed:

ACCEPTConfirms a pending payment created by the users.
CANCELCancels a pending payment.
CANCEL_OR_REFUNDRequests a payment to be either canceled if still pending or refunded if already accepted.