Skip to main content
POST
/
payments
/
{payment_id}
/
cancel_post_capture
curl --request POST \
--url https://sandbox.hyperswitch.io/payments/{payment_id}/cancel_post_capture \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"cancellation_reason": "requested_by_customer"
}'
This response does not have an example.

Authorizations

api-key
string
header
required

Path Parameters

payment_id
string
required

Body

application/json
cancellation_reason
string | null

Response