cURL
curl --request GET \ --url https://api.withflex.com/v1/refunds \ --header 'Authorization: Bearer <token>'
{ "refunds": [ { "refund_id": "<string>", "payment_intent_id": "<string>", "amount": 123, "created_at": "<string>", "reason": "duplicate", "status": "pending", "test_mode": true, "metadata": {}, "reference_id": "<string>", "reference_type": "acquirer_reference_number", "reference_status": "available" } ] }
Returns a list of all refunds you’ve previously created.
Use a Bearer token to access this API.
pending
requires_action
succeeded
failed
canceled
The response is of type object.
object