cURL
curl --request POST \ --url https://api.pocketsflow.com/refunds \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "orderId": "<string>", "amount": 123, "reason": "<string>" } '
Process a refund for an order
Enter your Pocketsflow API key (format: pk_live_... or pk_test_...)
Order ID to refund
Partial refund amount (optional, defaults to full refund)
Refund reason
Refund processed successfully
Was this page helpful?