regis

<back to all web services

BeanstreamInteracPaymentCompletionRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/Beanstream/Payment/Interac/Complete
"use strict";
export class BeanstreamInteracCompletionResponse {
    /** @param {{approved?:number,message?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    approved;
    /** @type {string} */
    message;
}
export class BeanstreamInteracPaymentCompletionRequest {
    /** @param {{payment_method?:string,funded?:number,idebit_merchantdata?:string,idebit_track2?:string,idebit_isslang?:string,idebit_version?:number,idebit_issconf?:string,idebit_issname?:string,idebit_amount?:number,idebit_invoice?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    payment_method;
    /** @type {number} */
    funded;
    /** @type {string} */
    idebit_merchantdata;
    /** @type {string} */
    idebit_track2;
    /** @type {string} */
    idebit_isslang;
    /** @type {number} */
    idebit_version;
    /** @type {string} */
    idebit_issconf;
    /** @type {string} */
    idebit_issname;
    /** @type {number} */
    idebit_amount;
    /** @type {string} */
    idebit_invoice;
}

JavaScript 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

HTTP + JSON

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"}