PaySecure Pinless Web Services 2023:07:03:07

<back to all web services

AchRefundRequest

The following routes are available for this service:
POST/ACHRefund
AchRefundRequest Parameters:
NameParameterData TypeRequiredDescription
CredentialsbodyRequestorCredentialsNo
TranIdbodystringNo
AmountbodyintNo
ReferenceKeybodystringNo
MerchantDetailsbodyMerchantDescriptorNo
Custom1bodystringNo
Custom2bodystringNo
Custom3bodystringNo
Custom4bodystringNo
Custom5bodystringNo
SignatureHashbodystringNo
AVSbodyAvsNo
ExtendedDatabodyACHExtendedDataNo
RequestorCredentials Parameters:
NameParameterData TypeRequiredDescription
MerchantIdformstringYes
UserNameformstringYes
PasswordformstringYes
VersionformstringYes
MerchantDescriptor Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
AddressformstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
CountryformstringNo
CustomerServiceNumberformstringNo
MCCformstringNo
FNSnumformstringNo
EmailformstringNo
MerchantDescriptorBase Parameters:
NameParameterData TypeRequiredDescription
DataElementsformMerchantDataElementsNo
MerchantDataElements Parameters:
NameParameterData TypeRequiredDescription
RefundSettlementTypeDetailsformintNo
SendRecurringPOSEntryModeFeatureformboolNo
UseOrgPOSCodeformboolNo
Avs Parameters:
NameParameterData TypeRequiredDescription
AddressformstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
CountryformstringNo
EmailformstringNo
IPAddressformstringNo
TelephoneNumberformstringNo
TelephoneTypeformTelephoneTypeNo
DeliveryMethodformintNo
FirstNameformstringNo
MiddleNameformstringNo
LastNameformstringNo
TelephoneType Enum:
D
H
N
W
ACHExtendedData Parameters:
NameParameterData TypeRequiredDescription
CashbackAmountformintNo
ConnectPaySubScriberIdformstringNo
OrganizationIdformstringNo
DeviceFingerPrintformstringNo
MerchantSessionIdformstringNo
CurrencyCodeformstringNo
PaymentTypeformstringNo
VerifyCustomerformboolNo
CustomerExternalIdformstringNo
DescriptionformstringNo
CustomerNameformstringNo
AddressLine1formstringNo
AddressLine2formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
CountryformstringNo
EmailformstringNo
TelephoneNumberformstringNo
ReturnUrlformstringNo
CancelUrlformstringNo
EstablishDataformstringNo
RedirectUrlformstringNo
RetryAttemptCountformintNo
SignatureHashVersionformstringNo
DeadlineHashDateformDateTime?No
Refund Parameters:
NameParameterData TypeRequiredDescription
TranIdformstringNo
ApprovalCodeformstringNo
ResponseCodeformstringNo
NetworkformstringNo
ErrorMessageformstringNo
ErrorCodeformstringNo
PaysecureVersion Parameters:
NameParameterData TypeRequiredDescription
LocalDateTimeformstringNo
TokenformstringNo
ExtendedDataformExtendedResponseNo
PaysecureResponseInternal Parameters:
NameParameterData TypeRequiredDescription
TimestampsformRequestTimestampsNo
RequestTimestamps Parameters:
NameParameterData TypeRequiredDescription
AppLayerformInOutTimesNo
ParentLookupformInOutTimesNo
RetryLookupformInOutTimesNo
GetCardDataformInOutTimesNo
CardTokenizeformInOutTimesNo
CardEncryptformInOutTimesNo
DBInsertformInOutTimesNo
BackendProcessformInOutTimesNo
DBUpdateformInOutTimesNo
ParentUpdateformInOutTimesNo
NetworkformInOutTimesNo
ExtendedResponse Parameters:
NameParameterData TypeRequiredDescription
CardAccountUpdaterformCardAccountUpdaterDescriptorNo
ProductIdformstringNo
NetworkResponseCodeformstringNo
NetworkTransactionIdformstringNo
CardAccountUpdaterDescriptor Parameters:
NameParameterData TypeRequiredDescription
CardDataTypeformCardInfoTypeNo
CardNumberInfoformstringNo
ExpiryDateformstringNo
StatusformstringNo
ErrorCodeformstringNo
CardTokenformstringNo
CardInfoType Enum:
CardNumber
Token
Track
EMV
Encrypted
DPAN
ApplePay
GooglePay
SamsungPay
CPToken
EncryptedEnhanced
EncryptedJWE

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

HTTP + XML

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

POST /ACHRefund HTTP/1.1 
Host: api.paysecure.acculynk.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AchRefundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <AVS>
    <Address>String</Address>
    <City>String</City>
    <Country>String</Country>
    <DeliveryMethod>0</DeliveryMethod>
    <Email>String</Email>
    <FirstName>String</FirstName>
    <IPAddress>String</IPAddress>
    <LastName>String</LastName>
    <MiddleName>String</MiddleName>
    <State>String</State>
    <TelephoneNumber>String</TelephoneNumber>
    <TelephoneType>D</TelephoneType>
    <Zip>String</Zip>
  </AVS>
  <Amount>0</Amount>
  <Credentials>
    <MerchantId>String</MerchantId>
    <Password>String</Password>
    <UserName>String</UserName>
    <Version>String</Version>
  </Credentials>
  <Custom1>String</Custom1>
  <Custom2>String</Custom2>
  <Custom3>String</Custom3>
  <Custom4>String</Custom4>
  <Custom5>String</Custom5>
  <ExtendedData>
    <AddressLine1>String</AddressLine1>
    <AddressLine2>String</AddressLine2>
    <CancelUrl>String</CancelUrl>
    <CashbackAmount>0</CashbackAmount>
    <City>String</City>
    <ConnectPaySubScriberId>String</ConnectPaySubScriberId>
    <Country>String</Country>
    <CurrencyCode>String</CurrencyCode>
    <CustomerExternalId>String</CustomerExternalId>
    <CustomerName>String</CustomerName>
    <DeadlineHashDate>0001-01-01T00:00:00</DeadlineHashDate>
    <Description>String</Description>
    <DeviceFingerPrint>String</DeviceFingerPrint>
    <Email>String</Email>
    <EstablishData>String</EstablishData>
    <MerchantSessionId>String</MerchantSessionId>
    <OrganizationId>String</OrganizationId>
    <PaymentType>String</PaymentType>
    <RedirectUrl>String</RedirectUrl>
    <RetryAttemptCount>0</RetryAttemptCount>
    <ReturnUrl>String</ReturnUrl>
    <SignatureHashVersion>String</SignatureHashVersion>
    <State>String</State>
    <TelephoneNumber>String</TelephoneNumber>
    <VerifyCustomer>false</VerifyCustomer>
    <Zip>String</Zip>
  </ExtendedData>
  <MerchantDetails>
    <DataElements>
      <RefundSettlementTypeDetails>0</RefundSettlementTypeDetails>
      <SendRecurringPOSEntryModeFeature>false</SendRecurringPOSEntryModeFeature>
      <UseOrgPOSCode>false</UseOrgPOSCode>
    </DataElements>
    <Address>String</Address>
    <City>String</City>
    <Country>String</Country>
    <CustomerServiceNumber>String</CustomerServiceNumber>
    <Email>String</Email>
    <FNSnum>String</FNSnum>
    <MCC>String</MCC>
    <Name>String</Name>
    <State>String</State>
    <Zip>String</Zip>
  </MerchantDetails>
  <ReferenceKey>String</ReferenceKey>
  <SignatureHash>String</SignatureHash>
  <TranId>String</TranId>
</AchRefundRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<Refund xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Timestamps>
    <AppLayer>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </AppLayer>
    <BackendProcess>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </BackendProcess>
    <CardEncrypt>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </CardEncrypt>
    <CardTokenize>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </CardTokenize>
    <DBInsert>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </DBInsert>
    <DBUpdate>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </DBUpdate>
    <GetCardData>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </GetCardData>
    <Network>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </Network>
    <ParentLookup>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </ParentLookup>
    <ParentUpdate>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </ParentUpdate>
    <RetryLookup>
      <InTime>0001-01-01T00:00:00</InTime>
      <OutTime>0001-01-01T00:00:00</OutTime>
    </RetryLookup>
  </Timestamps>
  <ExtendedData>
    <CardAccountUpdater>
      <CardDataType>CardNumber</CardDataType>
      <CardNumberInfo>String</CardNumberInfo>
      <CardToken>String</CardToken>
      <ErrorCode>String</ErrorCode>
      <ExpiryDate>String</ExpiryDate>
      <Status>String</Status>
    </CardAccountUpdater>
    <NetworkResponseCode>String</NetworkResponseCode>
    <NetworkTransactionId>String</NetworkTransactionId>
    <ProductId>String</ProductId>
  </ExtendedData>
  <LocalDateTime>String</LocalDateTime>
  <Token>String</Token>
  <ApprovalCode>String</ApprovalCode>
  <ErrorCode>String</ErrorCode>
  <ErrorMessage>String</ErrorMessage>
  <Network>String</Network>
  <ResponseCode>String</ResponseCode>
  <TranId>String</TranId>
</Refund>