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
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BeanstreamInteracCompletionResponse:
    approved: int = 0
    message: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class BeanstreamInteracPaymentCompletionRequest:
    payment_method: Optional[str] = None
    funded: int = 0
    idebit_merchantdata: Optional[str] = None
    idebit_track2: Optional[str] = None
    idebit_isslang: Optional[str] = None
    idebit_version: int = 0
    idebit_issconf: Optional[str] = None
    idebit_issname: Optional[str] = None
    idebit_amount: float = 0.0
    idebit_invoice: Optional[str] = None

Python BeanstreamInteracPaymentCompletionRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

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