Required role: | REGISUserRole |
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 .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
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/csv Content-Length: length {"approved":0,"message":"String"}