Class AfterPayCreateRefundRequest
Represents a request to refund part or all of a previously placed order.
Inheritance
Inherited Members
Namespace: Yort.AfterPay.InStore
Assembly: cs.temp.dll.dll
Syntax
public class AfterPayCreateRefundRequest
Remarks
For more information see; https://docs.afterpay.com.au/instore-api-v1.html#create-refund
Properties
Name | Description |
---|---|
Amount | The refund amount. The refund amount can not exceed the outstanding amount of the associated order, or an error will be returned. |
MerchantReference | An id linking this refund to an object in the point of sale system, e.g. the POS docket or receipt number the return/refund is being done on. |
OrderId | The unique AfterPay id for the order to refund against (from OrderId. |
OrderMerchantReference | An optional value specifying the merchant reference used to create the original order (from MerchantReference). |
RequestedAt | The date and time this request was created. Defaults to the now property of SystemClock. |
RequestId | A unique id for this request. Defaults to a new GUID value. |