Get information on a specific refund |
Task<ApiResult<ApiRefundResponse>> GetRefundAsync(long paymentId, int refundId, CancellationToken cancellationToken); |
Yes |
No |
Task<ApiResult<ApiRefundResponse>> GetRefundAsync(long paymentId, int refundId); |
No |
No |
Get a list of refunds of a specific payment |
Task<ApiResult<ApiRefundListResponse>> GetRefundListAsync(long paymentId, CancellationToken cancellationToken); |
Yes |
No |
Task<ApiResult<ApiRefundListResponse>> GetRefundListAsync(long paymentId); |
No |
No |
Get the status of a refund for a card payment |
Task<ApiResult<ApiCardRefundStatusResponse>> GetRefundStatusAsync(long paymentId, int refundId, CancellationToken cancellationToken); |
Yes |
No |
Task<ApiResult<ApiCardRefundStatusResponse>> GetRefundStatusAsync(long paymentId, int refundId); |
No |
No |
Create a Refund |
Task<ApiResult<ApiRefundResponse>> CreateRefundAsync(long paymentId, ApiRefundRequest refundRequest, CancellationToken cancellationToken); |
Yes |
No |
Task<ApiResult<ApiRefundResponse>> CreateRefundAsync(long paymentId, ApiRefundRequest refundRequest); |
No |
No |
Task<ApiResult<ApiRefundResponse>> CreateRefundAsync(long paymentId, ApiRefundRequest refundRequest, string idempotencyToken, CancellationToken cancellationToken); |
Yes |
Yes |
Task<ApiResult<ApiRefundResponse>> CreateRefundAsync(long paymentId, ApiRefundRequest refundRequest, string idempotencyToken); |
No |
Yes |
Get refund types for a certain payment |
Task<ApiResult<ApiRefundTypeListResponse>> GetRefundTypesAsync(long paymentId, CancellationToken cancellationToken); |
Yes |
No |
Task<ApiResult<ApiRefundTypeListResponse>> GetRefundTypesAsync(long paymentId); |
No |
No |
Get refund types (filtered) |
Task<ApiResult<ApiRefundTypeListResponse>> GetRefundTypesAsync(short paymentMethodId, string countryCode, string currency, CancellationToken cancellationToken); |
Yes |
No |
Task<ApiResult<ApiRefundTypeListResponse>> GetRefundTypesAsync(short paymentMethodId, string countryCode, string currency); |
No |
No |