digitaluapi

<back to all web services

PayFastRequestCheckoutSession2

The following routes are available for this service:
All Verbs/payfast-checkout-session-2
namespace digitaluapi.ServiceModel

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type PayFastCheckoutSessionResponse() = 
        member val Url:String = null with get,set

    [<AllowNullLiteral>]
    type PayFastRequestCheckoutSession2() = 
        member val SuccessUrl:String = null with get,set
        member val CancelUrl:String = null with get,set
        member val Description:String = null with get,set
        member val Email:String = null with get,set
        member val CommsGuid:Guid = new Guid() with get,set
        member val CampaignActionsRequestsId:Int64 = new Int64() with get,set

F# PayFastRequestCheckoutSession2 DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /payfast-checkout-session-2 HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	SuccessUrl: String,
	CancelUrl: String,
	Description: String,
	Email: String,
	CommsGuid: 00000000000000000000000000000000,
	CampaignActionsRequestsId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Url: String
}