post
https://api.paynearme-sandbox.com/json-api/cancel_order
Use either the pnm_order_identifier or the site_order_identifier to find the active order you want to cancel immediately. Consumers cannot make payments against cancelled orders. After cancelling, the order_status will display as closed and the order_closed_reason displays as canceled.