Disputes and refunds
GET/v1/refunds

List refunds

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/refunds" \  -H "Cookie: <console session cookie>"

Returns refunds for the paying organization or, for a merchant account, refunds on its payments. Console session or API key; max 200 per page.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/refundsBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
Query
  • statusstring

    Comma-separated refund statuses to return, for example requested,settled.

  • intent_idstring

    Only refunds of this payment intent (pi_...).

  • dispute_idstring

    Only refunds of this dispute (dsp_...).

  • limitinteger

    Page size (default 50, max 200).

  • cursorstring

    next_cursor from the previous page.

Authorization

session
cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Query Parameters

status?|

Comma-separated refund statuses to return, for example requested,settled.

intent_id?|

Only refunds of this payment intent (pi_...).

dispute_id?|

Only refunds of this dispute (dsp_...).

limit?Limit

Page size (default 50, max 200).

Range1 <= value <= 200
Default50
cursor?|

next_cursor from the previous page.

Response Body

Success.

application/json
  1. response
data*array<>
next_cursor?|

Cursor for the next page, or null on the last page.

[key: string]?any