List refunds
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.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>
Query
statusstringComma-separated refund statuses to return, for example requested,settled.
intent_idstringOnly refunds of this payment intent (pi_...).
dispute_idstringOnly refunds of this dispute (dsp_...).
limitintegerPage size (default 50, max 200).
cursorstringnext_cursor from the previous page.
sessionuapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
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?LimitPage size (default 50, max 200).
1 <= value <= 20050cursor?|next_cursor from the previous page.
Success.
application/json- response
data*array<>next_cursor?|Cursor for the next page, or null on the last page.
[key: string]?anyPOSTWithdraw dispute
The paying organization withdraws its dispute. Requires dispute:open; merchant accounts cannot withdraw.
POSTCreate refund
The merchant refunds a payment, in full or in part, by intent_id or dispute_id; the rail sends it back to the payer and a refund receipt is issued. Merchant owner with dispute:respond only; a failed send answers 503.