| GET | /v1.1/transactions/listpaymentactivity | ||
|---|---|---|---|
| GET | /v1.2/transactions/listpaymentactivity |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using BH.CloudAPI.Common4.DTO;
using BH.CloudAPI.Common.Models;
namespace BH.CloudAPI.Common.Models
{
public partial class PaymentActivity
{
public virtual int TransactionId { get; set; }
public virtual string TransactionType { get; set; }
public virtual DateTime TransactionDate { get; set; }
public virtual decimal Amount { get; set; }
public virtual string Notes { get; set; }
public virtual decimal FeeAmount { get; set; }
public virtual string Reason { get; set; }
public virtual string PayerName { get; set; }
public virtual string PayerAddress { get; set; }
public virtual string PayerEmail { get; set; }
public virtual string GroupName { get; set; }
}
}
namespace BH.CloudAPI.Common4.DTO
{
public partial class ListPaymentActivity
: ListPaymentActivity, IReturnLegacyException
{
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1.1/transactions/listpaymentactivity HTTP/1.1 Host: devapi.billhighway.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <PaymentActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common.Models"> <Amount>0</Amount> <FeeAmount>0</FeeAmount> <GroupName>String</GroupName> <Notes>String</Notes> <PayerAddress>String</PayerAddress> <PayerEmail>String</PayerEmail> <PayerName>String</PayerName> <Reason>String</Reason> <TransactionDate>0001-01-01T00:00:00</TransactionDate> <TransactionId>0</TransactionId> <TransactionType>String</TransactionType> </PaymentActivity>