GET
/
v1
/
refunds
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": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

status
enum<string>
Available options:
pending,
requires_action,
succeeded,
failed,
canceled
payment_intent
string | null

Response

200
application/json

The response is of type object.