Billhighway Cloud API

<back to all web services

HeldPaymentChargeRefundRq

The following routes are available for this service:
POST/integrations/api/{integrationType}/heldpayment/chargerefund
HeldPaymentChargeRefundRq Parameters:
NameParameterData TypeRequiredDescription
integrationTypepathstringNo
NationalIdbodyintNo
ChapterIdbodyintNo
UserIdbodyintNo
ContextIntegrationPartnerIdbodyintNo
CallerIntegrationPartnerIdbodyintNo
AuthenticationIdbodyintNo
AmountbodydecimalNo
DescriptionbodystringNo
GatewayConfirmationbodystringNo
CardInfobodyHeldPaymentCreditCardChargeRefundDetailsNo
HeldPaymentCreditCardChargeRefundDetails Parameters:
NameParameterData TypeRequiredDescription
CardRefformstringNo
ExpMonthformintNo
ExpYearformintNo
CVVformstringNo
CardTypeformstringNo
NameOnCardformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
PostalCodeformstringNo
CountryformstringNo
HeldPaymentChargeRefundRs Parameters:
NameParameterData TypeRequiredDescription
NationalIdformintNo
ChapterIdformintNo
IntegrationTypeformstringNo
ContextIntegrationPartnerIdformintNo
CallerIntegrationPartnerIdformintNo
GatewayResponseformHeldPaymentGatewaySaleResponseNo
ChargeDetailsformHeldPaymentChargeDetailsNo
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 .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.

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

{
	integrationType: String,
	NationalId: 0,
	ChapterId: 0,
	UserId: 0,
	ContextIntegrationPartnerId: 0,
	CallerIntegrationPartnerId: 0,
	AuthenticationId: 0,
	Amount: 0,
	Description: String,
	GatewayConfirmation: String,
	CardInfo: 
	{
		CardRef: String,
		ExpMonth: 0,
		ExpYear: 0,
		CVV: String,
		CardType: String,
		NameOnCard: String,
		Address1: String,
		Address2: String,
		City: String,
		State: String,
		PostalCode: String,
		Country: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	NationalId: 0,
	ChapterId: 0,
	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
			}
		}
	}
}