Billhighway Cloud API

<back to all web services

AnywhereInPersonPaymentRq

The following routes are available for this service:
POST/anywhere/inperson/payment
import 'package:servicestack/servicestack.dart';

class AnywherePaymentRs extends AnywherePaymentRs implements IConvertible
{
    AnywherePaymentRs();
    AnywherePaymentRs.fromJson(Map<String, dynamic> json) : super.fromJson(json);
    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson();
    getTypeName() => "AnywherePaymentRs";
    TypeContext? context = _ctx;
}

class AnywhereInPersonPaymentRq extends AnywhereInPersonPaymentRq implements IConvertible
{
    AnywhereInPersonPaymentRq();
    AnywhereInPersonPaymentRq.fromJson(Map<String, dynamic> json) : super.fromJson(json);
    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson();
    getTypeName() => "AnywhereInPersonPaymentRq";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: <String, TypeInfo> {
    'AnywherePaymentRs': TypeInfo(TypeOf.Class, create:() => AnywherePaymentRs()),
    'AnywhereInPersonPaymentRq': TypeInfo(TypeOf.Class, create:() => AnywhereInPersonPaymentRq()),
});

Dart AnywhereInPersonPaymentRq DTOs

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

HTTP + XML

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

POST /anywhere/inperson/payment HTTP/1.1 
Host: devapi.billhighway.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AnywhereInPersonPaymentRq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.Anywhere">
  <Amount xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">0</Amount>
  <ChapId xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">0</ChapId>
  <DonorInfo xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">
    <AddressLine1>String</AddressLine1>
    <AddressLine2>String</AddressLine2>
    <City>String</City>
    <Email>String</Email>
    <Name>String</Name>
    <PostalCode>String</PostalCode>
    <State>String</State>
  </DonorInfo>
  <LoggedInUserId xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">0</LoggedInUserId>
  <Memo xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">String</Memo>
  <ReceiptEmail xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">String</ReceiptEmail>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">0</UserId>
  <EncryptedPaymentData xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">String</EncryptedPaymentData>
  <Invoices xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">
    <InvoicePayment>
      <Amount>0</Amount>
      <InvNo>String</InvNo>
    </InvoicePayment>
  </Invoices>
</AnywhereInPersonPaymentRq>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AnywherePaymentRs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.Anywhere">
  <Amount xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">0</Amount>
  <CardType xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">String</CardType>
  <ConfirmationNumber xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">String</ConfirmationNumber>
  <IsDuplicate xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">false</IsDuplicate>
  <LastFour xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">String</LastFour>
  <Message xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">String</Message>
  <NameOnCard xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">String</NameOnCard>
  <Notes xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">String</Notes>
  <PaymentConfirmationNumber xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">0</PaymentConfirmationNumber>
  <Success xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.DTO.Anywhere">false</Success>
</AnywherePaymentRs>