Click or drag to resize

IAtomiaBillingApiCreatePartialRefundFromPaymentId 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: SystemGuid
The payment identifier.
initialStatus
Type: Atomia.Billing.Core.Sdk.BusinessObjectsRefundStatusType
The initial status.
createCreditedInvoice
Type: SystemBoolean
if set to true [create credited invoice].
refundOption
Type: SystemString
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