POST | /SMP |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UniqueId | body | string | No | |
CreatedDateTime | body | DateTime | No | |
ClientId | body | int | No | |
GroupId | body | string | No | |
UserId | body | int | No | |
AdminId | body | int | No | |
MemberInfo | body | Member | No | |
CcPaymentInfo | body | CreditCardPayment | No | |
AchPaymentInfo | body | AchPayment | No | |
Subscription | body | Subscription | No | |
BillMeLaterInfo | body | BillMeLaterInformation | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClassName | form | string | No | |
UniqueId | form | string | No | |
CreatedDateTime | form | DateTime | No | |
ClientId | form | int | No | |
GroupId | form | string | No | |
UserId | form | string | No | |
AlternateUserId | form | string | No | |
BhUserId | form | int | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
MiddleName | form | string | No | |
PreferredEmailAddress | form | string | No | |
OtherEmailAddress | form | string | No | |
PreferredPhoneNumber | form | string | No | |
PreferredAddress1 | form | string | No | |
PreferredAddress2 | form | string | No | |
PreferredCity | form | string | No | |
PreferredState | form | string | No | |
PreferredZip | form | string | No | |
PreferredCountry | form | string | No | |
AccessLevel | form | string | No | |
MemberStatus | form | string | No | |
MemberTypeClient | form | string | No | |
BillingType | form | string | No | |
FiscalYear | form | int | No | |
WorkLocation | form | string | No | |
DOB | form | DateTime | No | |
Paperless | form | string | No | |
DisplayName | form | string | No | |
DisableLogin | form | string | No | |
RecurringInvoiceSettings | form | RecurringInvoiceSettings | No | |
FormFields | form | List<SubscriberFormField> | No | |
Attributes | form | List<AttributeItem> | No | |
GroupList | form | List<Chapter> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DonationAmount | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
Value | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
Value | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GroupId | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SubscriptionInfo | form | SubscriptionParameters | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FormTemplateID | form | int | No | |
SubscriptionInvoiceID | form | int | No | |
ClientSubscriberId | form | string | No | |
SignupTypeID | form | int | No | |
FrequencyID | form | int | No | |
AutoRenew | form | bool | No | |
CompanyID | form | long | No | |
UserID | form | int | No | |
ChapMemPayID | form | long | No | |
MemberSubscriptionInvID | form | long | No | |
Fields | form | List<SubscriberFormField> | No | |
CreatedBy | form | int | No | |
UpdatedBy | form | int | No | |
AptifyUpdateType | form | int | No | |
RenewedMemberSubscriptionInvID | form | long | No | |
ChapId | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClassName | form | string | No | |
UniqueId | form | string | No | |
CreatedDateTime | form | DateTime | No | |
ClientId | form | int | No | |
GroupId | form | string | No | |
UserId | form | string | No | |
BhUserId | form | int | No | |
Amount | form | decimal | No | |
CurrencyType | form | string | No | |
Country | form | string | No | |
RoutingNumber | form | string | No | |
AccountNumber | form | string | No | |
AchReference | form | string | No | |
AccountType | form | string | No | |
IsSavingsAccount | form | bool | No | |
PayerName | form | string | No | |
CheckNumber | form | string | No | |
PreferredEmailAddress | form | string | No | |
Memo | form | string | No | |
InvoiceList | form | List<SalesForceMemberPaymentInvoiceDetail> | No | |
AutoPay | form | bool | No | |
StoreAchInfo | form | bool | No | |
EncryptionTypeId | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClassName | form | string | No | |
UniqueId | form | string | No | |
CreatedDateTime | form | DateTime | No | |
ClientId | form | int | No | |
Invoice | form | int | No | |
AmountPaid | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UniqueId | form | string | No | |
FormTemplateID | form | int | No | |
SubscriptionInvoiceID | form | int | No | |
ClientSubscriberId | form | string | No | |
SignupTypeID | form | int | No | |
FrequencyID | form | int | No | |
AutoRenew | form | bool | No | |
UserID | form | int | No | |
ChapMemPayID | form | long | No | |
Fields | form | List<SubscriberFormField> | No | |
CreatedBy | form | int | No | |
UpdatedBy | form | int | No | |
RenewedMemberSubscriptionInvID | form | long | No | |
SubscriptionTypeId | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IsBillMeLaterPayment | form | bool | No | |
IsBillMeLaterSubscription | form | bool | No | |
MemberSubscriptionInvId | form | int | No | |
Campaigns | form | List<CampaignInformation> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CampaignId | form | int | No | |
CampaignName | form | string | No | |
Amount | form | decimal | No | |
ChapPayID | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UniqueId | form | string | No | |
CreatedDateTime | form | DateTime | No | |
ClientId | form | int | No | |
BillhighwayUserId | form | int | No | |
ConfirmationNumber | form | string | No | |
PaymentConfirmationNumber | form | long | No | |
SubscriptionConfirmationNumber | form | long | No | |
ErrorCode | form | int | No | |
ErrorMessage | form | string | No | |
IsError | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SMP HTTP/1.1
Host: devapi.billhighway.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
UniqueId: String,
CreatedDateTime: 0001-01-01,
ClientId: 0,
GroupId: String,
UserId: 0,
AdminId: 0,
MemberInfo:
{
ClassName: String,
UniqueId: String,
CreatedDateTime: 0001-01-01,
ClientId: 0,
GroupId: String,
UserId: String,
AlternateUserId: String,
BhUserId: 0,
FirstName: String,
LastName: String,
MiddleName: String,
PreferredEmailAddress: String,
OtherEmailAddress: String,
PreferredPhoneNumber: String,
PreferredAddress1: String,
PreferredAddress2: String,
PreferredCity: String,
PreferredState: String,
PreferredZip: String,
PreferredCountry: String,
AccessLevel: String,
MemberStatus: String,
MemberTypeClient: String,
BillingType: String,
FiscalYear: 0,
WorkLocation: String,
DOB: 0001-01-01,
Paperless: String,
DisplayName: String,
DisableLogin: String,
RecurringInvoiceSettings:
{
DonationAmount: String
},
FormFields:
[
{
Name: String,
Value: String
}
],
Attributes:
[
{
Name: String,
Value: String
}
],
GroupList:
[
{
GroupId: String
}
]
},
CcPaymentInfo:
{
ClassName: String,
UniqueId: String,
CreatedDateTime: 0001-01-01,
ClientId: 0,
GroupId: String,
UserId: String,
BhUserId: 0,
Amount: String,
AutoPay: False,
CurrencyType: String,
Country: String,
CardReferenceOrCardNumber: String,
StoreCardInfo: False,
Address1: String,
Address2: String,
BillingCity: String,
BillingState: String,
PreferredEmailAddress: String,
Memo: String,
OpportunityId: String,
ExpMonth: 0,
ExpYear: 0,
Cvv: String,
PostalCode: String,
Location: String,
NameOnCard: String,
CardType: String,
InvoiceList:
[
{
ClassName: String,
UniqueId: String,
CreatedDateTime: 0001-01-01,
ClientId: 0,
Invoice: 0,
AmountPaid: String
}
]
},
AchPaymentInfo:
{
ClassName: String,
UniqueId: String,
CreatedDateTime: 0001-01-01,
ClientId: 0,
GroupId: String,
UserId: String,
BhUserId: 0,
Amount: 0,
CurrencyType: String,
Country: String,
RoutingNumber: String,
AccountNumber: String,
AchReference: String,
AccountType: String,
IsSavingsAccount: False,
PayerName: String,
CheckNumber: String,
PreferredEmailAddress: String,
Memo: String,
InvoiceList:
[
{
ClassName: String,
UniqueId: String,
CreatedDateTime: 0001-01-01,
ClientId: 0,
Invoice: 0,
AmountPaid: String
}
],
AutoPay: False,
StoreAchInfo: False,
EncryptionTypeId: 0
},
Subscription:
{
UniqueId: String,
FormTemplateID: 0,
SubscriptionInvoiceID: 0,
ClientSubscriberId: String,
SignupTypeID: 0,
FrequencyID: 0,
AutoRenew: False,
UserID: 0,
ChapMemPayID: 0,
Fields:
[
{
Name: String,
Value: String
}
],
CreatedBy: 0,
UpdatedBy: 0,
RenewedMemberSubscriptionInvID: 0,
SubscriptionTypeId: String
},
BillMeLaterInfo:
{
IsBillMeLaterPayment: False,
IsBillMeLaterSubscription: False,
MemberSubscriptionInvId: 0,
Campaigns:
[
{
CampaignId: 0,
CampaignName: String,
Amount: 0,
ChapPayID: String
}
]
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { UniqueId: String, CreatedDateTime: 0001-01-01, ClientId: 0, BillhighwayUserId: 0, ConfirmationNumber: String, PaymentConfirmationNumber: 0, SubscriptionConfirmationNumber: 0, ErrorCode: 0, ErrorMessage: String, IsError: False }