Required role: | REGISUserRole |
POST | /Beanstream/Payment/Interac/Complete |
---|
import Foundation
import ServiceStack
public class BeanstreamInteracPaymentCompletionRequest : Codable
{
public var payment_method:String
public var funded:Int
public var idebit_merchantdata:String
public var idebit_track2:String
public var idebit_isslang:String
public var idebit_version:Int
public var idebit_issconf:String
public var idebit_issname:String
public var idebit_amount:Double
public var idebit_invoice:String
required public init(){}
}
public class BeanstreamInteracCompletionResponse : Codable
{
public var approved:Int
public var message:String
required public init(){}
}
Swift BeanstreamInteracPaymentCompletionRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Beanstream/Payment/Interac/Complete HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"payment_method":"String","funded":0,"idebit_merchantdata":"String","idebit_track2":"String","idebit_isslang":"String","idebit_version":0,"idebit_issconf":"String","idebit_issname":"String","idebit_amount":0,"idebit_invoice":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"approved":0,"message":"String"}