Disputes and refunds
POST/v1/disputes/{id}/messages
Post dispute message
curl -X POST "https://api.52-28-238-205.sslip.io/v1/disputes/{id}/messages" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"body":"string"}'Adds a message to an open dispute and returns the full thread. Callable by the paying organization (dispute:open) or the merchant owner (dispute:respond) with a console session or API key.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/disputes/{id}/messagesBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...agentKeyAuthorization: Bearer agk_test_...
Path
idstringrequiredDispute id (dsp_...).
Body
application/json · required. Fields are listed under Request body below.
cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdDispute id (dsp_...).
application/json- body
body*BodySuccess.
application/json- response
message*messages*array<>[key: string]?anyGETGet dispute
Returns one dispute with evidence, messages, files and timers. Callable by the paying organization or the merchant with a console session or API key; the paying organization also gets the public status link.
POSTAccept dispute
The merchant accepts the dispute and the payment is refunded. Merchant owner with dispute:respond only.