| POST | /integrations/api/{integrationType}/heldpayment/chargerefund |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| integrationType | path | string | No | |
| NationalId | body | int | No | |
| ChapterId | body | int | No | |
| UserId | body | int | No | |
| ContextIntegrationPartnerId | body | int | No | |
| CallerIntegrationPartnerId | body | int | No | |
| AuthenticationId | body | int | No | |
| Amount | body | decimal | No | |
| Description | body | string | No | |
| GatewayConfirmation | body | string | No | |
| CardInfo | body | HeldPaymentCreditCardChargeRefundDetails | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CardRef | form | string | No | |
| ExpMonth | form | int | No | |
| ExpYear | form | int | No | |
| CVV | form | string | No | |
| CardType | form | string | No | |
| NameOnCard | form | string | No | |
| Address1 | form | string | No | |
| Address2 | form | string | No | |
| City | form | string | No | |
| State | form | string | No | |
| PostalCode | form | string | No | |
| Country | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| NationalId | form | int | No | |
| ChapterId | form | int | No | |
| IntegrationType | form | string | No | |
| ContextIntegrationPartnerId | form | int | No | |
| CallerIntegrationPartnerId | form | int | No | |
| GatewayResponse | form | HeldPaymentGatewaySaleResponse | No | |
| ChargeDetails | form | HeldPaymentChargeDetails | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FailureType | form | string | No | |
| IsDuplicate | form | bool | No | |
| IsSuccessful | form | bool | No | |
| ErrorCode | form | string | No | |
| Message | form | string | No | |
| GatewayId | form | int | No | |
| ConfirmationNumber | form | string | No | |
| NetworkTransactionId | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PaymentType | form | string | No | |
| Amount | form | decimal | No | |
| IntegrationType | form | string | No | |
| Currency | form | string | No | |
| CardDetails | form | HeldPaymentCreditCardChargeDetails | No | |
| AchDetails | form | HeldPaymentAchChargeDetails | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CardType | form | string | No | |
| ExpMonth | form | int | No | |
| ExpYear | form | int | No | |
| Last4 | form | string | No | |
| Address | form | CreditCardBillingAddressItem | No | |
| VerificationResult | form | CreditCardChargeVerificationResult | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Address1 | form | string | No | |
| Address2 | form | string | No | |
| City | form | string | No | |
| PostalCode | form | string | No | |
| Region | form | string | No | |
| Country | form | string | No | |
| Attributes | form | List<AttributeItem> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| Value | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| NetworkVerificationAttempted | form | bool | No | |
| CvvVerificationResult | form | string | No | |
| AddressVerificationResult | form | string | No | |
| PostalCodeVerificationResult | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AccountType | form | string | No | |
| RoutingNumber | form | string | No | |
| AccountNumberLast4 | form | string | No | |
| BankName | form | string | No | |
| VerificationResult | form | AchChargeVerificationResult | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| NetworkVerificationAttempted | form | bool | No | |
| Result | form | string | 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 /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
}
}
}
}