Method SendRefund
SendRefund(OnlineEftposRefundRequest)
Sends a refund for a previous payment to the original payer.
Declaration
public Task<OnlineEftposRefundStatus> SendRefund(OnlineEftposRefundRequest refundRequest)
Parameters
Type | Name | Description |
---|---|---|
OnlineEftposRefundRequest | refundRequest | An instance of the OnlineEftposRefundRequest class that provides details of the refund to issue. |
Returns
Type | Description |
---|---|
Task<OnlineEftposRefundStatus> | A task whose result is an instance of OnlineEftposRefundRequest which describes the result of a successfull submitted refund. |
Exceptions
Type | Condition |
---|---|
OnlineEftposAuthenticationException | Thrown if a token cannot be obtained from the API. Usually this indicates incorrect credentials. |
OnlineEftposException | Thrown if an exception occurs or error information is returned from the API. |
See Also
SendRefund(OnlineEftposRefundRequest)
Sends a refund for a previous payment to the original payer.
Declaration
public Task<OnlineEftposRefundStatus> SendRefund(OnlineEftposRefundRequest refundRequest)
Parameters
Type | Name | Description |
---|---|---|
OnlineEftposRefundRequest | refundRequest | An instance of the OnlineEftposRefundRequest class that provides details of the refund to issue. |
Returns
Type | Description |
---|---|
Task<OnlineEftposRefundStatus> | A task whose result is an instance of OnlineEftposRefundRequest which describes the result of a successfull submitted refund. |
Exceptions
Type | Condition |
---|---|
OnlineEftposAuthenticationException | Thrown if a token cannot be obtained from the API. Usually this indicates incorrect credentials. |
OnlineEftposException | Thrown if an exception occurs or error information is returned from the API. |