Resolve a payment exception
Returns the updated PaymentException. refund initiates a captured-payment refund; approve_refund releases a held refund without creating one here. adjusted resolves and dismiss dismisses the exception; both require nonblank remarks. recover requires nonblank remarks and the full due NACH amount, records a successful manual payment, and safely replays a completed recovery without another payment. Other decisions require an open exception. Missing exceptions and refused decisions return 400, as does a refund of a payment held for an admin in another payment exception, or of more than is left of it; while refunds are briefly unavailable, a decision that refunds returns 409 and changes nothing. Any decision releases the money the exception held for review, and makes the refunds shoppers’ cancels owe of that money. refund on a held_refund exception makes the refund the cancel owes, for what is left of it, or returns 400 while another payment exception still holds the money. The optional refund fragment is returned only when a refund is created; recovered_payment_id is present only for a recovered exception with a linked payment. Requires store-scoped admin authentication and the runtime orders:payments permission for this operation.
Authorizations
Body
Resolve a payment exception. Optional fields cannot be null. Amount, method and reference are unused for adjusted, dismiss and approve_refund.
Up to 15 digits, including two decimal places; numeric strings are also accepted by the backend. Defaults to the unrefunded capture remainder for refund or the entire due NACH amount for recover. A supplied recover amount must equal the full due amount. Not used for a held_refund: its refund is what is left of what the cancel owes.
0.01 <= x <= 9999999999999.99Must be a multiple of 0.01