Cancel a payment
POST
/api/payments/{id}/cancel
idstring
acceptstringGenerated from available response content types
Idempotency-Keystring<p>Client-supplied key to safely retry the request without duplicating the operation.</p>
bodyobject
200Payment canceled
400Bad request
401Unauthorized
404Not found
curl --request POST \
--url /api/payments/{id}/cancel \
--header 'accept: application/json' \
--header 'idempotency-key: string'