cURL
curl --request POST \ --url http://localhost:6900/v1/refunds/payment/{paymentId} \ --header 'Content-Type: application/json' \ --data ' { "amount": 1, "reason": "<string>", "idempotencyKey": "<string>" } '
null
Creates a refund for a previously processed payment. Supports idempotency keys.
Documentation IndexFetch the complete documentation index at: https://docs.revstack.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.revstack.dev/llms.txt
Use this file to discover all available pages before exploring further.
"pay_abc123"
x > 0
Refund created
The response is of type unknown.
unknown