Class ServicesClient
Services client. Thread-safe.
Inherited Members
Namespace: Worldline.Connect.Sdk.V1.Merchant.Services
Assembly: Worldline.Connect.Sdk.dll
Syntax
public class ServicesClient : ApiResource
Constructors
ServicesClient(ApiResource, IDictionary<string, string>)
Declaration
public ServicesClient(ApiResource parent, IDictionary<string, string> pathContext)
Parameters
Type | Name | Description |
---|---|---|
ApiResource | parent | |
IDictionary<string, string> | pathContext |
Methods
Bankaccount(BankDetailsRequest, CallContext)
Resource /{merchantId}/services/convert/bankaccount
Declaration
public Task<BankDetailsResponse> Bankaccount(BankDetailsRequest body, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
BankDetailsRequest | body | BankDetailsRequest |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<BankDetailsResponse> | BankDetailsResponse |
Exceptions
Type | Condition |
---|---|
IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409) |
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 Global Collect platform, the Worldline Global Collect 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 Global Collect platform returned any other error |
ConvertAmount(ConvertAmountParams, CallContext)
Resource /{merchantId}/services/convert/amount
Declaration
public Task<ConvertAmount> ConvertAmount(ConvertAmountParams query, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
ConvertAmountParams | query | ConvertAmountParams |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<ConvertAmount> | ConvertAmount |
Exceptions
Type | Condition |
---|---|
IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409) |
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 Global Collect platform, the Worldline Global Collect 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 Global Collect platform returned any other error |
GetIINdetails(GetIINDetailsRequest, CallContext)
Resource /{merchantId}/services/getIINdetails
Declaration
public Task<GetIINDetailsResponse> GetIINdetails(GetIINDetailsRequest body, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
GetIINDetailsRequest | body | GetIINDetailsRequest |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<GetIINDetailsResponse> | GetIINDetailsResponse |
Exceptions
Type | Condition |
---|---|
IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409) |
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 Global Collect platform, the Worldline Global Collect 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 Global Collect platform returned any other error |
Privacypolicy(PrivacypolicyParams, CallContext)
Resource /{merchantId}/services/privacypolicy
Declaration
public Task<GetPrivacyPolicyResponse> Privacypolicy(PrivacypolicyParams query, CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
PrivacypolicyParams | query | PrivacypolicyParams |
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<GetPrivacyPolicyResponse> | GetPrivacyPolicyResponse |
Exceptions
Type | Condition |
---|---|
IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409) |
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 Global Collect platform, the Worldline Global Collect 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 Global Collect platform returned any other error |
Testconnection(CallContext)
Resource /{merchantId}/services/testconnection
Declaration
public Task<TestConnection> Testconnection(CallContext context = null)
Parameters
Type | Name | Description |
---|---|---|
CallContext | context | CallContext |
Returns
Type | Description |
---|---|
Task<TestConnection> | TestConnection |
Exceptions
Type | Condition |
---|---|
IdempotenceException | if an idempotent request caused a conflict (HTTP status code 409) |
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 Global Collect platform, the Worldline Global Collect 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 Global Collect platform returned any other error |