POST | /api/SalesForce/CreditCardPayment |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SalesForceCreditCardPaymentList | body | List<SalesForceCreditCardPayment> | 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 | string | No | |
AutoPay | form | bool | No | |
CurrencyType | form | string | No | |
Country | form | string | No | |
CardReferenceOrCardNumber | form | string | No | |
StoreCardInfo | form | bool | No | |
Address1 | form | string | No | |
Address2 | form | string | No | |
BillingCity | form | string | No | |
BillingState | form | string | No | |
PreferredEmailAddress | form | string | No | |
Memo | form | string | No | |
OpportunityId | form | string | No | |
ExpMonth | form | int | No | |
ExpYear | form | int | No | |
Cvv | form | string | No | |
PostalCode | form | string | No | |
Location | form | string | No | |
NameOnCard | form | string | No | |
CardType | form | string | No | |
InvoiceList | form | List<SalesForceMemberPaymentInvoiceDetail> | 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 |
---|---|---|---|---|
ClassName | form | string | No | |
UniqueId | form | string | No | |
CreatedDateTime | form | DateTime | No | |
ClientId | form | int | No | |
TransactionId | form | string | No | |
ErrorCode | form | int | No | |
ErrorMessage | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/SalesForce/CreditCardPayment HTTP/1.1
Host: devapi.billhighway.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"SalesForceCreditCardPaymentList":[{"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","ClientId":0,"Invoice":0,"AmountPaid":"String"}]}]}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ClassName":"String","UniqueId":"String","CreatedDateTime":"0001-01-01T00:00:00.0000000","ClientId":0,"TransactionId":"String","ErrorCode":0,"ErrorMessage":"String"}