Click or drag to resize

IAtomiaBillingApi.CreatePartialRefundFromPaymentId Method

Creates the partial refund from payment identifier.

Namespace:  Atomia.Billing.Core.Sdk
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
Refund CreatePartialRefundFromPaymentId(
	Guid paymentId,
	RefundStatusType initialStatus,
	bool createCreditedInvoice,
	string refundOption
)

Parameters

paymentId
Type: System.Guid
The payment identifier.
initialStatus
Type: Atomia.Billing.Core.Sdk.BusinessObjects.RefundStatusType
The initial status.
createCreditedInvoice
Type: System.Boolean
if set to true [create credited invoice].
refundOption
Type: System.String
If refund is to be done partially, refundOption tells whether to refund max possible amount or just invoice amount.

Return Value

Type: Refund
The refund
See Also