| Required role: | REGISUserRole | 
| POST | /Beanstream/Payment/{uuid}/Interac/Create | 
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class BeanstreamInteracRedirectResponse implements IConvertible
{
    String? redirect_form;
    BeanstreamInteracRedirectResponse({this.redirect_form});
    BeanstreamInteracRedirectResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        redirect_form = json['redirect_form'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'redirect_form': redirect_form
    };
    getTypeName() => "BeanstreamInteracRedirectResponse";
    TypeContext? context = _ctx;
}
class BeanstreamInteracPaymentRequest implements IConvertible
{
    String? uuid;
    String? department;
    String? item;
    double? amount;
    String? name;
    String? customer_ip;
    String? email;
    String? addr1;
    String? addr2;
    String? city;
    String? state;
    String? country;
    String? code;
    String? phone;
    BeanstreamInteracPaymentRequest({this.uuid,this.department,this.item,this.amount,this.name,this.customer_ip,this.email,this.addr1,this.addr2,this.city,this.state,this.country,this.code,this.phone});
    BeanstreamInteracPaymentRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        uuid = json['uuid'];
        department = json['department'];
        item = json['item'];
        amount = JsonConverters.toDouble(json['amount']);
        name = json['name'];
        customer_ip = json['customer_ip'];
        email = json['email'];
        addr1 = json['addr1'];
        addr2 = json['addr2'];
        city = json['city'];
        state = json['state'];
        country = json['country'];
        code = json['code'];
        phone = json['phone'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'uuid': uuid,
        'department': department,
        'item': item,
        'amount': amount,
        'name': name,
        'customer_ip': customer_ip,
        'email': email,
        'addr1': addr1,
        'addr2': addr2,
        'city': city,
        'state': state,
        'country': country,
        'code': code,
        'phone': phone
    };
    getTypeName() => "BeanstreamInteracPaymentRequest";
    TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
    'BeanstreamInteracRedirectResponse': TypeInfo(TypeOf.Class, create:() => BeanstreamInteracRedirectResponse()),
    'BeanstreamInteracPaymentRequest': TypeInfo(TypeOf.Class, create:() => BeanstreamInteracPaymentRequest()),
});
Dart BeanstreamInteracPaymentRequest 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/{uuid}/Interac/Create HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
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: text/jsonl
Content-Length: length
{"redirect_form":"String"}