curl --request POST \
--url https://api.example.com/payments/{id}/refund \
--header 'Content-Type: application/json' \
--data '{}'{}curl --request POST \
--url https://api.example.com/payments/{id}/refund \
--header 'Content-Type: application/json' \
--data '{}'{}Payment ID
Initiate a payment refund params
The body is of type object.
Refund details
The response is of type object.