Skip to main content
POST
/
v1
/
disputes
/
{id}
/
close
Close a Dispute
curl --request POST \
  --url https://api.leanrails.com/v1/disputes/{id}/close \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Idempotency-Key: <idempotency-key>'
{
  "id": "<string>",
  "object": "dispute",
  "status": "<string>",
  "amount": 123,
  "currency": "<string>",
  "livemode": true,
  "created": 123,
  "charge": "<string>",
  "payment_intent": "<string>",
  "reason": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.fluveo.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use your secret API key as the username with an empty password.

Headers

Idempotency-Key
string
required

Unique key to ensure idempotent requests.

Maximum string length: 255
X-API-Version
string

Override the API version for this request.

Path Parameters

id
string
required

Dispute ID

Response

Success

id
string
required
object
enum<string>
required
Available options:
dispute
status
string
required
amount
integer
required
currency
string
required
livemode
boolean
created
integer
charge
string
payment_intent
string
reason
string