Class AfterPayApiError
Represents an error response from the AfterPay API.
Inheritance
System.Object
AfterPayApiError
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Yort.AfterPay.InStore
Assembly: cs.temp.dll.dll
Syntax
public class AfterPayApiError
Remarks
See the AfterPay documentation for more information; https://docs.afterpay.com.au/instore-api-v1.html#errors
Properties
Name | Description |
---|---|
ErrorCode | A string representing the type of error returned, e.g. invalid_object, transaction_error, or server_error. |
ErrorId | A string containing a unique error ID. |
HttpStatusCode | The HTTP status code that was sent in the response that contained this data. |
Message | A string containing a human-readable message giving more details about the error. For card errors, these messages can be shown to your users. |