Click or drag to resize

IAtomiaBillingApiCreateRefundFromPaymentIdChangeStatus Method

Refund payment and optionally create a credit invoice.

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

Parameters

paymentId
Type: SystemGuid
The payment identifier.
initialStatus
Type: Atomia.Billing.Core.Sdk.BusinessObjectsRefundStatusType
The initial refund status.
createCreditedInvoice
Type: SystemBoolean
If a credited invoice should be created or not.
updateInvoiceChangeStatusToSent
Type: SystemBoolean
If set to false then don't update status of the invoice connected to payment, if set to true then update it

Return Value

Type: Refund
The refund
See Also