Billhighway Cloud API

<back to all web services

MemberStatusValues

The following routes are available for this service:
GET/members/StatusValues

export class AutoPayInfo
{
    public PaymentMethod?: string;
    public CardType?: string;
    public CardReference?: string;
    public CardNumberLastFour?: string;
    public ExpMonth?: number;
    public ExpYear?: number;
    public AchReference?: string;
    public PayerName?: string;
    public Address1?: string;
    public Address2?: string;
    public BillingCity?: string;
    public BillingState?: string;
    public PostalCode?: string;
    public Country?: string;
    public AccountNumberLastFour?: string;
    public RoutingNumberLastFour?: string;
    public AccountType?: string;
    public LastAutoPayAmount?: string;
    public LastAutoPayDate?: string;

    public constructor(init?: Partial<AutoPayInfo>) { (Object as any).assign(this, init); }
}

export class MemberStatusValuesReply implements IHaveErrorField
{
    public ClientId?: number;
    public GroupId?: string;
    public ErrorCode?: number;
    public ErrorMessage?: string;
    public UserId?: string;
    public BhUserId?: number;
    public BillingTypeId?: number;
    public MemberStatusId?: number;
    public MemberStatusCode?: string;
    public MemberStatusDesc?: string;
    public MemberTypeId?: number;
    public MemberTypeCode?: string;
    public MemberTypeDesc?: string;
    public CurrentBalance?: string;
    public AutoPayStatus?: string;
    public AutoPayInfo?: AutoPayInfo;
    // @ApiMember(ExcludeInSchema=true)
    public IsError?: boolean;

    public constructor(init?: Partial<MemberStatusValuesReply>) { (Object as any).assign(this, init); }
}

export class MemberStatusValues
{
    public ClientId?: number;
    public GroupId?: string;
    public UserId?: string;
    public BhUserId?: number;

    public constructor(init?: Partial<MemberStatusValues>) { (Object as any).assign(this, init); }
}

TypeScript MemberStatusValues DTOs

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

HTTP + JSV

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

GET /members/StatusValues HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ClientId: 0,
	GroupId: String,
	ErrorCode: 0,
	ErrorMessage: String,
	UserId: String,
	BhUserId: 0,
	BillingTypeId: 0,
	MemberStatusId: 0,
	MemberStatusCode: String,
	MemberStatusDesc: String,
	MemberTypeId: 0,
	MemberTypeCode: String,
	MemberTypeDesc: String,
	CurrentBalance: String,
	AutoPayStatus: String,
	AutoPayInfo: 
	{
		PaymentMethod: String,
		CardType: String,
		CardReference: String,
		CardNumberLastFour: String,
		ExpMonth: 0,
		ExpYear: 0,
		AchReference: String,
		PayerName: String,
		Address1: String,
		Address2: String,
		BillingCity: String,
		BillingState: String,
		PostalCode: String,
		Country: String,
		AccountNumberLastFour: String,
		RoutingNumberLastFour: String,
		AccountType: String,
		LastAutoPayAmount: String,
		LastAutoPayDate: String
	},
	IsError: False
}