regis

<back to all web services

BeanstreamInteracPaymentRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/Beanstream/Payment/{uuid}/Interac/Create
namespace regis.ClassLibrary.Requests

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

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

    [<AllowNullLiteral>]
    type BeanstreamInteracPaymentRequest() = 
        member val uuid:String = null with get,set
        member val department:String = null with get,set
        member val item:String = null with get,set
        member val amount:Decimal = new Decimal() with get,set
        member val name:String = null with get,set
        member val customer_ip:String = null with get,set
        member val email:String = null with get,set
        member val addr1:String = null with get,set
        member val addr2:String = null with get,set
        member val city:String = null with get,set
        member val state:String = null with get,set
        member val country:String = null with get,set
        member val code:String = null with get,set
        member val phone:String = null with get,set

F# BeanstreamInteracPaymentRequest 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

HTTP + JSON

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

POST /Beanstream/Payment/{uuid}/Interac/Create HTTP/1.1 
Host: data.regent-college.edu 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"uuid":"String","department":"String","item":"String","amount":0,"name":"String","customer_ip":"String","email":"String","addr1":"String","addr2":"String","city":"String","state":"String","country":"String","code":"String","phone":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"redirect_form":"String"}