Accept a Chargeback
PUThttps://chargebacks.sandbox.splitit.com/api/chargebacks/:id/accept
For an open dispute, you can choose not to fight back but rather to accept the chargeback. After this call is performed, you will not be able to add/remove evidence or comments.
Request
Responses
- 200
- 401
- 403
- 404
- 500
Response Headers
Response Headers
Response Headers
Response Headers
Response Headers
Authorization: http
name: bearerAuthtype: httpin: headerscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://chargebacks.sandbox.splitit.com/api/chargebacks/:id/accept");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var content = new StringContent("{\n \"Accept\": true\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear