Skip to main content
GET
/
refund
/
list
List refunds
curl --request GET \
  --url https://api.pushcash.com/refund/list \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "refund_28CJjV7P4Go5PNJvfzghiD",
      "intent_id": "intent_sandbox_dMggQ93ZYH6DH9LBhVeijE",
      "amount": 1450,
      "currency": "USD",
      "status": "approved",
      "created_at": "2023-05-24T20:36:50.694Z"
    }
  ],
  "next_cursor": "vjl8vk3l4o8dhsjlzh=="
}

Authorizations

Authorization
string
header
required

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

Query Parameters

created_at.after
string<date-time>

Return refunds created after this ISO 8601 timestamp.

created_at.before
string<date-time>

Return refunds created before this ISO 8601 timestamp.

status
enum<string>[]

Return refunds which match the provided statuses.

The status of the refund

Available options:
approved,
declined
cursor
string

The cursor for the next page of results to fetch

Example:

"vjl8vk3l4o8dhsjlzh=="

Response

Successful operation

data
object[]
required
next_cursor
string | null
required

Use cursor for paginating list endpoints in conjunction with the cursor request parameter.

In a response, the value is null if there are no more results to fetch.

Example:

"vjl8vk3l4o8dhsjlzh=="