Required role: | REGISUserRole |
POST | /Beanstream/Payment/Interac/Complete |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports regis.ClassLibrary.Requests
Imports regis.ClassLibrary.Responses
Namespace Global
Namespace regis.ClassLibrary.Requests
Public Partial Class BeanstreamInteracPaymentCompletionRequest
Public Overridable Property payment_method As String
Public Overridable Property funded As Integer
Public Overridable Property idebit_merchantdata As String
Public Overridable Property idebit_track2 As String
Public Overridable Property idebit_isslang As String
Public Overridable Property idebit_version As Integer
Public Overridable Property idebit_issconf As String
Public Overridable Property idebit_issname As String
Public Overridable Property idebit_amount As Double
Public Overridable Property idebit_invoice As String
End Class
End Namespace
Namespace regis.ClassLibrary.Responses
Public Partial Class BeanstreamInteracCompletionResponse
Public Overridable Property approved As Integer
Public Overridable Property message As String
End Class
End Namespace
End Namespace
VB.NET BeanstreamInteracPaymentCompletionRequest DTOs
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 /Beanstream/Payment/Interac/Complete HTTP/1.1
Host: data.regent-college.edu
Accept: application/json
Content-Type: application/json
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: application/json Content-Length: length {"approved":0,"message":"String"}