Billhighway Cloud API

<back to all web services

HeldPaymentChargeRq

The following routes are available for this service:
POST/integrations/api/{integrationType}/heldpayment/charge
HeldPaymentChargeRq Parameters:
NameParameterData TypeRequiredDescription
integrationTypepathstringNo
NationalIdbodyintNo
ChapterIdbodyintNo
StoredAccountIdbodylongNo
ContextIntegrationPartnerIdbodyintNo
CallerIntegrationPartnerIdbodyintNo
AuthenticationIdbodyintNo
ChargeTypebodystringNo
TokenbodystringNo
AmountbodydecimalNo
DescriptionbodystringNo
CreatedByIdbodyintNo
TransactionIdbodylongNo
StoreChargeAccountbodyboolNo
ChargeItemsbodyList<HeldPaymentChargeItem>No
CreatedBybodyintNo
HeldPaymentChargeItem Parameters:
NameParameterData TypeRequiredDescription
TypeformstringNo
DescriptionformstringNo
AmountformdecimalNo
ClientInvoiceIdformstringNo
ClientInvoiceOwnerTypeIdformintNo
HeldPaymentChargeRs Parameters:
NameParameterData TypeRequiredDescription
TransactionIdformstringNo
StoredAccountIdformlongNo
NationalIdformintNo
ChapterIdformintNo
ChargeTypeformstringNo
IntegrationTypeformstringNo
ContextIntegrationPartnerIdformintNo
CallerIntegrationPartnerIdformintNo
GatewayResponseformHeldPaymentGatewaySaleResponseNo
ChargeDetailsformHeldPaymentChargeDetailsNo
ChargeItemsformList<HeldPaymentChargeItem>No
HeldPaymentGatewaySaleResponse Parameters:
NameParameterData TypeRequiredDescription
FailureTypeformstringNo
IsDuplicateformboolNo
IsSuccessfulformboolNo
ErrorCodeformstringNo
MessageformstringNo
GatewayIdformintNo
ConfirmationNumberformstringNo
NetworkTransactionIdformstringNo
HeldPaymentChargeDetails Parameters:
NameParameterData TypeRequiredDescription
PaymentTypeformstringNo
AmountformdecimalNo
IntegrationTypeformstringNo
CurrencyformstringNo
CardDetailsformHeldPaymentCreditCardChargeDetailsNo
AchDetailsformHeldPaymentAchChargeDetailsNo
HeldPaymentCreditCardChargeDetails Parameters:
NameParameterData TypeRequiredDescription
CardTypeformstringNo
ExpMonthformintNo
ExpYearformintNo
Last4formstringNo
AddressformCreditCardBillingAddressItemNo
VerificationResultformCreditCardChargeVerificationResultNo
CreditCardBillingAddressItem Parameters:
NameParameterData TypeRequiredDescription
Address1formstringNo
Address2formstringNo
CityformstringNo
PostalCodeformstringNo
RegionformstringNo
CountryformstringNo
AttributesformList<AttributeItem>No
AttributeItem Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ValueformstringNo
CreditCardChargeVerificationResult Parameters:
NameParameterData TypeRequiredDescription
NetworkVerificationAttemptedformboolNo
CvvVerificationResultformstringNo
AddressVerificationResultformstringNo
PostalCodeVerificationResultformstringNo
HeldPaymentAchChargeDetails Parameters:
NameParameterData TypeRequiredDescription
AccountTypeformstringNo
RoutingNumberformstringNo
AccountNumberLast4formstringNo
BankNameformstringNo
VerificationResultformAchChargeVerificationResultNo
AchChargeVerificationResult Parameters:
NameParameterData TypeRequiredDescription
NetworkVerificationAttemptedformboolNo
ResultformstringNo

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

HTTP + CSV

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

POST /integrations/api/{integrationType}/heldpayment/charge HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"integrationType":"String","NationalId":0,"ChapterId":0,"StoredAccountId":0,"ContextIntegrationPartnerId":0,"CallerIntegrationPartnerId":0,"AuthenticationId":0,"ChargeType":"String","Token":"String","Amount":0,"Description":"String","CreatedById":0,"TransactionId":0,"StoreChargeAccount":false,"ChargeItems":[{"Type":"String","Description":"String","Amount":0,"ClientInvoiceId":"String","ClientInvoiceOwnerTypeId":0}],"CreatedBy":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"TransactionId":"String","StoredAccountId":0,"NationalId":0,"ChapterId":0,"ChargeType":"String","IntegrationType":"String","ContextIntegrationPartnerId":0,"CallerIntegrationPartnerId":0,"GatewayResponse":{"FailureType":"String","IsDuplicate":false,"IsSuccessful":false,"ErrorCode":"String","Message":"String","GatewayId":0,"ConfirmationNumber":"String","NetworkTransactionId":"String"},"ChargeDetails":{"PaymentType":"String","Amount":0,"IntegrationType":"String","Currency":"String","CardDetails":{"CardType":"String","ExpMonth":0,"ExpYear":0,"Last4":"String","Address":{"Address1":"String","Address2":"String","City":"String","PostalCode":"String","Region":"String","Country":"String","Attributes":[{"Name":"String","Value":"String"}]},"VerificationResult":{"NetworkVerificationAttempted":false,"CvvVerificationResult":"String","AddressVerificationResult":"String","PostalCodeVerificationResult":"String"}},"AchDetails":{"AccountType":"String","RoutingNumber":"String","AccountNumberLast4":"String","BankName":"String","VerificationResult":{"NetworkVerificationAttempted":false,"Result":"String"}}},"ChargeItems":[{"Type":"String","Description":"String","Amount":0,"ClientInvoiceId":"String","ClientInvoiceOwnerTypeId":0}]}