cURL
curl --request GET \ --url https://api.withflex.com/v1/refunds/{refund_id} \ --header 'Authorization: Bearer <token>'
{ "refund": { "refund_id": "<string>", "payment_intent_id": "<string>", "amount": 123, "created_at": "<string>", "reason": "duplicate", "status": "pending", "test_mode": true, "metadata": {} } }
Retrieves the details of an existing refund.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response is of type object.
object