Delete an unreleased claim
import requests
url = "https://api.paywise.de/v1/claims/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/v1/claims/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.delete("https://api.paywise.de/v1/claims/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v1/claims/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request DELETE \
--url https://api.paywise.de/v1/claims/{id}/ \
--header 'Authorization: Bearer <token>'claims
Delete an unreleased claim
Delete a claim that has not been released for processing. Claims can only be deleted if their submission_state is “created”. Once a claim has been released (submission_state is “released”), it cannot be deleted.
Access Mode Support: This endpoint works for both test and production claims. When using a production token, you can delete unreleased production claims. When using a test token, you can delete unreleased test claims. The token’s access mode determines which claims you can access and delete.
DELETE
/
v1
/
claims
/
{id}
/
Delete an unreleased claim
import requests
url = "https://api.paywise.de/v1/claims/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/v1/claims/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.delete("https://api.paywise.de/v1/claims/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v1/claims/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request DELETE \
--url https://api.paywise.de/v1/claims/{id}/ \
--header 'Authorization: Bearer <token>'