| POST | /duenable/webhook/notify |
|---|
namespace digitaluapi.ServiceModel
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
type PaymentTypeEnum =
| OneTime = 1
| Recurring = 2
[<AllowNullLiteral>]
type DuEnableNotifyRequest() =
member val PaymentType:PaymentTypeEnum = new PaymentTypeEnum() with get,set
member val TransactionId:String = null with get,set
member val Uuid:String = null with get,set
member val PaymentId:String = null with get,set
member val Result:Int32 = new Int32() with get,set
member val Message:String = null with get,set
member val TotalAmount:Decimal = new Decimal() with get,set
member val AdjustmentAmount:Decimal = new Decimal() with get,set
member val TransactionAmount:Decimal = new Decimal() with get,set
member val FeeAmount:Decimal = new Decimal() with get,set
member val RecurringId:String = null with get,set
member val Signature:String = null with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /duenable/webhook/notify HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"PaymentType":"OneTime","TransactionId":"String","Uuid":"String","PaymentId":"String","Result":0,"Message":"String","TotalAmount":0,"AdjustmentAmount":0,"TransactionAmount":0,"FeeAmount":0,"RecurringId":"String","Signature":"String"}