Class DisputeManagementClient
DisputeManagement client. Thread-safe.
Inherited Members
Namespace: Worldline.Acquiring.Sdk.V1.Disputemanagement
Assembly: Worldline.Acquiring.Sdk.dll
Syntax
public class DisputeManagementClient : ApiResource
Constructors
DisputeManagementClient(ApiResource, IDictionary<string, string>)
Declaration
public DisputeManagementClient(ApiResource parent, IDictionary<string, string> pathContext)
Parameters
| Type | Name | Description |
|---|---|---|
| ApiResource | parent | |
| IDictionary<string, string> | pathContext |
Methods
AcceptDisputeLiability(string, AcceptDisputeLiabilityRequest, CallContext)
Resource /dispute-management/v1/disputes/{disputeId}/accept
Declaration
public Task<DisputeResponse> AcceptDisputeLiability(string disputeId, AcceptDisputeLiabilityRequest body, CallContext context = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | disputeId | string |
| AcceptDisputeLiabilityRequest | body | AcceptDisputeLiabilityRequest |
| CallContext | context | CallContext |
Returns
| Type | Description |
|---|---|
| Task<DisputeResponse> | DisputeResponse |
Exceptions
| Type | Condition |
|---|---|
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400) |
| AuthorizationException | if the request was not allowed (HTTP status code 403) |
| ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code 404, 409 or 410) |
| PlatformException | if something went wrong at the Worldline Acquiring platform, the Worldline Acquiring platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503) |
| ApiException | if the Worldline Acquiring platform returned any other error |
GetDispute(string, GetDisputeParams, CallContext)
Resource /dispute-management/v1/disputes/{disputeId}
Declaration
public Task<DisputeResponse> GetDispute(string disputeId, GetDisputeParams query, CallContext context = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | disputeId | string |
| GetDisputeParams | query | GetDisputeParams |
| CallContext | context | CallContext |
Returns
| Type | Description |
|---|---|
| Task<DisputeResponse> | DisputeResponse |
Exceptions
| Type | Condition |
|---|---|
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400) |
| AuthorizationException | if the request was not allowed (HTTP status code 403) |
| ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code 404, 409 or 410) |
| PlatformException | if something went wrong at the Worldline Acquiring platform, the Worldline Acquiring platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503) |
| ApiException | if the Worldline Acquiring platform returned any other error |
SearchDisputes(SearchDisputesRequest, CallContext)
Resource /dispute-management/v1/disputes/search
Declaration
public Task<SearchDisputesResponse> SearchDisputes(SearchDisputesRequest body, CallContext context = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchDisputesRequest | body | SearchDisputesRequest |
| CallContext | context | CallContext |
Returns
| Type | Description |
|---|---|
| Task<SearchDisputesResponse> | SearchDisputesResponse |
Exceptions
| Type | Condition |
|---|---|
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400) |
| AuthorizationException | if the request was not allowed (HTTP status code 403) |
| ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code 404, 409 or 410) |
| PlatformException | if something went wrong at the Worldline Acquiring platform, the Worldline Acquiring platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503) |
| ApiException | if the Worldline Acquiring platform returned any other error |
SubmitEvidence(string, SubmitEvidenceRequest, CallContext)
Resource /dispute-management/v1/disputes/{disputeId}/submit-evidence
Declaration
public Task<DisputeResponse> SubmitEvidence(string disputeId, SubmitEvidenceRequest body, CallContext context = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | disputeId | string |
| SubmitEvidenceRequest | body | SubmitEvidenceRequest |
| CallContext | context | CallContext |
Returns
| Type | Description |
|---|---|
| Task<DisputeResponse> | DisputeResponse |
Exceptions
| Type | Condition |
|---|---|
| ValidationException | if the request was not correct and couldn't be processed (HTTP status code 400) |
| AuthorizationException | if the request was not allowed (HTTP status code 403) |
| ReferenceException | if an object was attempted to be referenced that doesn't exist or has been removed, or there was a conflict (HTTP status code 404, 409 or 410) |
| PlatformException | if something went wrong at the Worldline Acquiring platform, the Worldline Acquiring platform was unable to process a message from a downstream partner/acquirer, or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503) |
| ApiException | if the Worldline Acquiring platform returned any other error |