Disputes and refunds
POST/v1/disputes/{id}/refund

Refund dispute

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/disputes/{id}/refund" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"amount_base_units":"50000"}'

The merchant accepts the dispute if it is still open and refunds the disputed payment, in full or in part. Merchant owner with dispute:respond only.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/disputes/{id}/refundBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Path
  • idstringrequired

    Dispute id (dsp_...).

Body

application/json. Fields are listed under Request body below.

Requires permissiondispute:respond
Held by merchant_owner. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

id*Id

Dispute id (dsp_...).

Request Body

application/json
  1. body
amount_base_units?|

Amount in integer base units, carried as a string (USDC and USDT have 6 decimals: "50000" = 0.05).

Response Body

Success.

application/json
  1. response
refund*
intent?|null
dispute?|null
[key: string]?any