post https://api.sandbox.primer.io/payments//cancel
Provided the payment has not reached SETTLED
status, Primer will send a "void" request to the payment processor, thereby cancelling the payment and releasing the hold on customer funds.
Upon success, the payment will transition to CANCELLED
.
The payload is optional.