PaySecure Pinless Web Services 2023:07:03:07

<back to all web services

POSCardlessRefundRequest

The following routes are available for this service:
POST/POSCardlessRefund
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    @DataContract
    public static class POSCardlessRefundRequest
    {
        @DataMember
        public RequestorCredentials Credentials = null;

        @DataMember
        public String ReferenceKey = null;

        @DataMember
        public String OriginalReferenceKey = null;

        @DataMember
        public Integer Amount = null;

        @DataMember
        public String TID = null;

        @DataMember
        public String MID = null;

        @DataMember
        public NetworkRequestData NetworkRequestData = null;

        /**
        * Local Date Format mmddyyyy. For Example:- 01202017
        */
        @DataMember
        public String LocalDate = null;

        /**
        * Local Time Format HHmmss. For Example :- 012322
        */
        @DataMember
        public String LocalTime = null;

        @DataMember
        public MerchantDescriptor MerchantDetails = null;

        @DataMember
        public String Custom1 = null;

        @DataMember
        public String Custom2 = null;

        @DataMember
        public String Custom3 = null;

        @DataMember
        public String Custom4 = null;

        @DataMember
        public String Custom5 = null;

        @DataMember
        public String SignatureHash = null;

        @DataMember
        public ExtendedData ExtendedData = null;
        
        public RequestorCredentials getCredentials() { return Credentials; }
        public POSCardlessRefundRequest setCredentials(RequestorCredentials value) { this.Credentials = value; return this; }
        public String getReferenceKey() { return ReferenceKey; }
        public POSCardlessRefundRequest setReferenceKey(String value) { this.ReferenceKey = value; return this; }
        public String getOriginalReferenceKey() { return OriginalReferenceKey; }
        public POSCardlessRefundRequest setOriginalReferenceKey(String value) { this.OriginalReferenceKey = value; return this; }
        public Integer getAmount() { return Amount; }
        public POSCardlessRefundRequest setAmount(Integer value) { this.Amount = value; return this; }
        public String getTid() { return TID; }
        public POSCardlessRefundRequest setTid(String value) { this.TID = value; return this; }
        public String getMid() { return MID; }
        public POSCardlessRefundRequest setMid(String value) { this.MID = value; return this; }
        public NetworkRequestData getNetworkRequestData() { return NetworkRequestData; }
        public POSCardlessRefundRequest setNetworkRequestData(NetworkRequestData value) { this.NetworkRequestData = value; return this; }
        public String getLocalDate() { return LocalDate; }
        public POSCardlessRefundRequest setLocalDate(String value) { this.LocalDate = value; return this; }
        public String getLocalTime() { return LocalTime; }
        public POSCardlessRefundRequest setLocalTime(String value) { this.LocalTime = value; return this; }
        public MerchantDescriptor getMerchantDetails() { return MerchantDetails; }
        public POSCardlessRefundRequest setMerchantDetails(MerchantDescriptor value) { this.MerchantDetails = value; return this; }
        public String getCustom1() { return Custom1; }
        public POSCardlessRefundRequest setCustom1(String value) { this.Custom1 = value; return this; }
        public String getCustom2() { return Custom2; }
        public POSCardlessRefundRequest setCustom2(String value) { this.Custom2 = value; return this; }
        public String getCustom3() { return Custom3; }
        public POSCardlessRefundRequest setCustom3(String value) { this.Custom3 = value; return this; }
        public String getCustom4() { return Custom4; }
        public POSCardlessRefundRequest setCustom4(String value) { this.Custom4 = value; return this; }
        public String getCustom5() { return Custom5; }
        public POSCardlessRefundRequest setCustom5(String value) { this.Custom5 = value; return this; }
        public String getSignatureHash() { return SignatureHash; }
        public POSCardlessRefundRequest setSignatureHash(String value) { this.SignatureHash = value; return this; }
        public ExtendedData getExtendedData() { return ExtendedData; }
        public POSCardlessRefundRequest setExtendedData(ExtendedData value) { this.ExtendedData = value; return this; }
    }

    public static class RequestorCredentials
    {
        @Required()
        public String MerchantId = null;

        @Required()
        public String UserName = null;

        @Required()
        public String Password = null;

        @Required()
        public String Version = null;
        
        public String getMerchantId() { return MerchantId; }
        public RequestorCredentials setMerchantId(String value) { this.MerchantId = value; return this; }
        public String getUserName() { return UserName; }
        public RequestorCredentials setUserName(String value) { this.UserName = value; return this; }
        public String getPassword() { return Password; }
        public RequestorCredentials setPassword(String value) { this.Password = value; return this; }
        public String getVersion() { return Version; }
        public RequestorCredentials setVersion(String value) { this.Version = value; return this; }
    }

    public static class NetworkRequestData
    {
        public String AliPayPartnerId = null;
        public String WebHookURL = null;
        public String OrderTitle = null;
        public String OrderDetail = null;
        public String TerminalIP = null;
        public String OrderNumber = null;
        
        public String getAliPayPartnerId() { return AliPayPartnerId; }
        public NetworkRequestData setAliPayPartnerId(String value) { this.AliPayPartnerId = value; return this; }
        public String getWebHookURL() { return WebHookURL; }
        public NetworkRequestData setWebHookURL(String value) { this.WebHookURL = value; return this; }
        public String getOrderTitle() { return OrderTitle; }
        public NetworkRequestData setOrderTitle(String value) { this.OrderTitle = value; return this; }
        public String getOrderDetail() { return OrderDetail; }
        public NetworkRequestData setOrderDetail(String value) { this.OrderDetail = value; return this; }
        public String getTerminalIP() { return TerminalIP; }
        public NetworkRequestData setTerminalIP(String value) { this.TerminalIP = value; return this; }
        public String getOrderNumber() { return OrderNumber; }
        public NetworkRequestData setOrderNumber(String value) { this.OrderNumber = value; return this; }
    }

    public static class MerchantDescriptor extends MerchantDescriptorBase
    {
        public String Name = null;
        public String Address = null;
        public String City = null;
        public String State = null;
        public String Zip = null;
        public String Country = null;
        public String CustomerServiceNumber = null;
        public String MCC = null;
        public String FNSnum = null;
        public String Email = null;
        
        public String getName() { return Name; }
        public MerchantDescriptor setName(String value) { this.Name = value; return this; }
        public String getAddress() { return Address; }
        public MerchantDescriptor setAddress(String value) { this.Address = value; return this; }
        public String getCity() { return City; }
        public MerchantDescriptor setCity(String value) { this.City = value; return this; }
        public String getState() { return State; }
        public MerchantDescriptor setState(String value) { this.State = value; return this; }
        public String getZip() { return Zip; }
        public MerchantDescriptor setZip(String value) { this.Zip = value; return this; }
        public String getCountry() { return Country; }
        public MerchantDescriptor setCountry(String value) { this.Country = value; return this; }
        public String getCustomerServiceNumber() { return CustomerServiceNumber; }
        public MerchantDescriptor setCustomerServiceNumber(String value) { this.CustomerServiceNumber = value; return this; }
        public String getMcc() { return MCC; }
        public MerchantDescriptor setMcc(String value) { this.MCC = value; return this; }
        public String getFnSnum() { return FNSnum; }
        public MerchantDescriptor setFnSnum(String value) { this.FNSnum = value; return this; }
        public String getEmail() { return Email; }
        public MerchantDescriptor setEmail(String value) { this.Email = value; return this; }
    }

    public static class MerchantDescriptorBase
    {
        public MerchantDataElements DataElements = null;
        
        public MerchantDataElements getDataElements() { return DataElements; }
        public MerchantDescriptorBase setDataElements(MerchantDataElements value) { this.DataElements = value; return this; }
    }

    public static class MerchantDataElements
    {
        public Integer RefundSettlementTypeDetails = null;
        public Boolean SendRecurringPOSEntryModeFeature = null;
        public Boolean UseOrgPOSCode = null;
        
        public Integer getRefundSettlementTypeDetails() { return RefundSettlementTypeDetails; }
        public MerchantDataElements setRefundSettlementTypeDetails(Integer value) { this.RefundSettlementTypeDetails = value; return this; }
        public Boolean isSendRecurringPOSEntryModeFeature() { return SendRecurringPOSEntryModeFeature; }
        public MerchantDataElements setSendRecurringPOSEntryModeFeature(Boolean value) { this.SendRecurringPOSEntryModeFeature = value; return this; }
        public Boolean isUseOrgPOSCode() { return UseOrgPOSCode; }
        public MerchantDataElements setUseOrgPOSCode(Boolean value) { this.UseOrgPOSCode = value; return this; }
    }

    @DataContract
    public static class ExtendedData
    {
        @DataMember
        public String Track2DataForEMVTransaction = null;

        @DataMember
        public SenderInfo SenderInfo = null;

        @DataMember
        public Integer CashbackAmount = null;

        @DataMember
        public NetworkName Network = null;

        @DataMember
        public ReceiverInfo ReceiverInfo = null;

        @DataMember
        public BillPayGroup BillPayGroup = null;

        @DataMember
        public WalletDescriptor WalletData = null;

        @DataMember
        public SecureDescriptor SecureData = null;

        @DataMember
        public Level2Descriptor Level2Data = null;

        @DataMember
        public PaymentFacilitatorDescriptor PaymentFacilitatorData = null;

        @DataMember
        public TokenDescriptor TokenData = null;

        @DataMember
        public String OTPTranId = null;

        @DataMember
        public Integer CurrentShipment = null;

        @DataMember
        public Integer TotalShipments = null;

        @DataMember
        public Boolean IsTokenRequested = null;

        @DataMember
        public CardonFileIndicatorDescriptor CardonFileIndicator = null;

        @DataMember
        public CardAccountUpdaterInfo CardAccountUpdater = null;

        @DataMember
        public Integer RetryAttemptCount = null;

        @DataMember
        public Integer TotalAuthAmount = null;

        @DataMember
        public String SignatureHashVersion = null;

        @DataMember
        public OrderTypeInfo OrderTypeDetail = null;

        @DataMember
        public BillPayGroupIndicator BillPayGroupIndicator = null;

        @DataMember
        public ChargeTypeInfo ChargeTypeDetail = null;

        @DataMember
        public SAFEligibleFlag SAFEligible = null;
        
        public String getTrack2DataForEMVTransaction() { return Track2DataForEMVTransaction; }
        public ExtendedData setTrack2DataForEMVTransaction(String value) { this.Track2DataForEMVTransaction = value; return this; }
        public SenderInfo getSenderInfo() { return SenderInfo; }
        public ExtendedData setSenderInfo(SenderInfo value) { this.SenderInfo = value; return this; }
        public Integer getCashbackAmount() { return CashbackAmount; }
        public ExtendedData setCashbackAmount(Integer value) { this.CashbackAmount = value; return this; }
        public NetworkName getNetwork() { return Network; }
        public ExtendedData setNetwork(NetworkName value) { this.Network = value; return this; }
        public ReceiverInfo getReceiverInfo() { return ReceiverInfo; }
        public ExtendedData setReceiverInfo(ReceiverInfo value) { this.ReceiverInfo = value; return this; }
        public BillPayGroup getBillPayGroup() { return BillPayGroup; }
        public ExtendedData setBillPayGroup(BillPayGroup value) { this.BillPayGroup = value; return this; }
        public WalletDescriptor getWalletData() { return WalletData; }
        public ExtendedData setWalletData(WalletDescriptor value) { this.WalletData = value; return this; }
        public SecureDescriptor getSecureData() { return SecureData; }
        public ExtendedData setSecureData(SecureDescriptor value) { this.SecureData = value; return this; }
        public Level2Descriptor getLevel2Data() { return Level2Data; }
        public ExtendedData setLevel2Data(Level2Descriptor value) { this.Level2Data = value; return this; }
        public PaymentFacilitatorDescriptor getPaymentFacilitatorData() { return PaymentFacilitatorData; }
        public ExtendedData setPaymentFacilitatorData(PaymentFacilitatorDescriptor value) { this.PaymentFacilitatorData = value; return this; }
        public TokenDescriptor getTokenData() { return TokenData; }
        public ExtendedData setTokenData(TokenDescriptor value) { this.TokenData = value; return this; }
        public String getOtpTranId() { return OTPTranId; }
        public ExtendedData setOtpTranId(String value) { this.OTPTranId = value; return this; }
        public Integer getCurrentShipment() { return CurrentShipment; }
        public ExtendedData setCurrentShipment(Integer value) { this.CurrentShipment = value; return this; }
        public Integer getTotalShipments() { return TotalShipments; }
        public ExtendedData setTotalShipments(Integer value) { this.TotalShipments = value; return this; }
        public Boolean getIsTokenRequested() { return IsTokenRequested; }
        public ExtendedData setIsTokenRequested(Boolean value) { this.IsTokenRequested = value; return this; }
        public CardonFileIndicatorDescriptor getCardonFileIndicator() { return CardonFileIndicator; }
        public ExtendedData setCardonFileIndicator(CardonFileIndicatorDescriptor value) { this.CardonFileIndicator = value; return this; }
        public CardAccountUpdaterInfo getCardAccountUpdater() { return CardAccountUpdater; }
        public ExtendedData setCardAccountUpdater(CardAccountUpdaterInfo value) { this.CardAccountUpdater = value; return this; }
        public Integer getRetryAttemptCount() { return RetryAttemptCount; }
        public ExtendedData setRetryAttemptCount(Integer value) { this.RetryAttemptCount = value; return this; }
        public Integer getTotalAuthAmount() { return TotalAuthAmount; }
        public ExtendedData setTotalAuthAmount(Integer value) { this.TotalAuthAmount = value; return this; }
        public String getSignatureHashVersion() { return SignatureHashVersion; }
        public ExtendedData setSignatureHashVersion(String value) { this.SignatureHashVersion = value; return this; }
        public OrderTypeInfo getOrderTypeDetail() { return OrderTypeDetail; }
        public ExtendedData setOrderTypeDetail(OrderTypeInfo value) { this.OrderTypeDetail = value; return this; }
        public BillPayGroupIndicator getBillPayGroupIndicator() { return BillPayGroupIndicator; }
        public ExtendedData setBillPayGroupIndicator(BillPayGroupIndicator value) { this.BillPayGroupIndicator = value; return this; }
        public ChargeTypeInfo getChargeTypeDetail() { return ChargeTypeDetail; }
        public ExtendedData setChargeTypeDetail(ChargeTypeInfo value) { this.ChargeTypeDetail = value; return this; }
        public SAFEligibleFlag getSafEligible() { return SAFEligible; }
        public ExtendedData setSafEligible(SAFEligibleFlag value) { this.SAFEligible = value; return this; }
    }

    public static class SenderInfo
    {
        public String ReferenceNumber = null;
        public String AccountNumber = null;
        /**
        * Name Format FirstName{Space}LastName. For Example :- Alvaro Morata
        */
        public String Name = null;
        public String Address = null;
        public String City = null;
        public String State = null;
        public String Country = null;
        /**
        * DateOfBirth Format MMDDYYYY. For Example :- 05051960
        */
        public String DateOfBirth = null;
        public String Zip = null;
        public String PhoneNumber = null;
        public FundingSourceType FundingSource = null;
        
        public String getReferenceNumber() { return ReferenceNumber; }
        public SenderInfo setReferenceNumber(String value) { this.ReferenceNumber = value; return this; }
        public String getAccountNumber() { return AccountNumber; }
        public SenderInfo setAccountNumber(String value) { this.AccountNumber = value; return this; }
        public String getName() { return Name; }
        public SenderInfo setName(String value) { this.Name = value; return this; }
        public String getAddress() { return Address; }
        public SenderInfo setAddress(String value) { this.Address = value; return this; }
        public String getCity() { return City; }
        public SenderInfo setCity(String value) { this.City = value; return this; }
        public String getState() { return State; }
        public SenderInfo setState(String value) { this.State = value; return this; }
        public String getCountry() { return Country; }
        public SenderInfo setCountry(String value) { this.Country = value; return this; }
        public String getDateOfBirth() { return DateOfBirth; }
        public SenderInfo setDateOfBirth(String value) { this.DateOfBirth = value; return this; }
        public String getZip() { return Zip; }
        public SenderInfo setZip(String value) { this.Zip = value; return this; }
        public String getPhoneNumber() { return PhoneNumber; }
        public SenderInfo setPhoneNumber(String value) { this.PhoneNumber = value; return this; }
        public FundingSourceType getFundingSource() { return FundingSource; }
        public SenderInfo setFundingSource(FundingSourceType value) { this.FundingSource = value; return this; }
    }

    public static enum FundingSourceType
    {
        DepositAccount,
        Credit,
        Debit,
        Prepaid;
    }

    public static enum NetworkName
    {
        Default,
        Nyce,
        CU24,
        Xcel,
        Star,
        Puls,
        Shzm,
        Visa,
        Mast,
        Disc,
        Amex,
        Alip,
        Upin,
        Stac,
        Stne,
        Maes,
        Intl;
    }

    public static class ReceiverInfo
    {
        public String ReferenceNumber = null;
        public String AccountNumber = null;
        /**
        * Name Format FirstName{Space}LastName. For Example :- Alvaro Morata
        */
        public String Name = null;
        public String Address = null;
        public String City = null;
        public String State = null;
        public String Country = null;
        public String Zip = null;
        public String PhoneNumber = null;
        
        public String getReferenceNumber() { return ReferenceNumber; }
        public ReceiverInfo setReferenceNumber(String value) { this.ReferenceNumber = value; return this; }
        public String getAccountNumber() { return AccountNumber; }
        public ReceiverInfo setAccountNumber(String value) { this.AccountNumber = value; return this; }
        public String getName() { return Name; }
        public ReceiverInfo setName(String value) { this.Name = value; return this; }
        public String getAddress() { return Address; }
        public ReceiverInfo setAddress(String value) { this.Address = value; return this; }
        public String getCity() { return City; }
        public ReceiverInfo setCity(String value) { this.City = value; return this; }
        public String getState() { return State; }
        public ReceiverInfo setState(String value) { this.State = value; return this; }
        public String getCountry() { return Country; }
        public ReceiverInfo setCountry(String value) { this.Country = value; return this; }
        public String getZip() { return Zip; }
        public ReceiverInfo setZip(String value) { this.Zip = value; return this; }
        public String getPhoneNumber() { return PhoneNumber; }
        public ReceiverInfo setPhoneNumber(String value) { this.PhoneNumber = value; return this; }
    }

    public static enum BillPayGroup
    {
        Default,
        Single,
        Recurring,
        Installment,
        Deferred;
    }

    public static class WalletDescriptor
    {
        public String Type = null;
        public String EncryptedData = null;
        public String ApplicationDataHash = null;
        public String EphemeralPublicKey = null;
        public String PublicKeyHash = null;
        public String TransactionId = null;
        public String Signature = null;
        public String Version = null;
        public String ApplicationData = null;
        public String MerchantIdentifier = null;
        public String SpecialPayment = null;
        public DigitalWalletInfo DigitalWalletIndicator = null;
        
        public String getType() { return Type; }
        public WalletDescriptor setType(String value) { this.Type = value; return this; }
        public String getEncryptedData() { return EncryptedData; }
        public WalletDescriptor setEncryptedData(String value) { this.EncryptedData = value; return this; }
        public String getApplicationDataHash() { return ApplicationDataHash; }
        public WalletDescriptor setApplicationDataHash(String value) { this.ApplicationDataHash = value; return this; }
        public String getEphemeralPublicKey() { return EphemeralPublicKey; }
        public WalletDescriptor setEphemeralPublicKey(String value) { this.EphemeralPublicKey = value; return this; }
        public String getPublicKeyHash() { return PublicKeyHash; }
        public WalletDescriptor setPublicKeyHash(String value) { this.PublicKeyHash = value; return this; }
        public String getTransactionId() { return TransactionId; }
        public WalletDescriptor setTransactionId(String value) { this.TransactionId = value; return this; }
        public String getSignature() { return Signature; }
        public WalletDescriptor setSignature(String value) { this.Signature = value; return this; }
        public String getVersion() { return Version; }
        public WalletDescriptor setVersion(String value) { this.Version = value; return this; }
        public String getApplicationData() { return ApplicationData; }
        public WalletDescriptor setApplicationData(String value) { this.ApplicationData = value; return this; }
        public String getMerchantIdentifier() { return MerchantIdentifier; }
        public WalletDescriptor setMerchantIdentifier(String value) { this.MerchantIdentifier = value; return this; }
        public String getSpecialPayment() { return SpecialPayment; }
        public WalletDescriptor setSpecialPayment(String value) { this.SpecialPayment = value; return this; }
        public DigitalWalletInfo getDigitalWalletIndicator() { return DigitalWalletIndicator; }
        public WalletDescriptor setDigitalWalletIndicator(DigitalWalletInfo value) { this.DigitalWalletIndicator = value; return this; }
    }

    public static enum DigitalWalletInfo
    {
        Default,
        Staged,
        Passthrough;
    }

    public static class SecureDescriptor
    {
        public String CAVV = null;
        public String SecureTransactionId = null;
        
        public String getCavv() { return CAVV; }
        public SecureDescriptor setCavv(String value) { this.CAVV = value; return this; }
        public String getSecureTransactionId() { return SecureTransactionId; }
        public SecureDescriptor setSecureTransactionId(String value) { this.SecureTransactionId = value; return this; }
    }

    public static class Level2Descriptor
    {
        public TaxIndicator TaxDetails = null;
        public String MerchantReferenceNumber = null;
        public String MerchantTaxId = null;
        public String OrderNumber = null;
        public Integer TaxAmount = null;
        public String DestinationPostalCode = null;
        public String ProductDescription = null;
        
        public TaxIndicator getTaxDetails() { return TaxDetails; }
        public Level2Descriptor setTaxDetails(TaxIndicator value) { this.TaxDetails = value; return this; }
        public String getMerchantReferenceNumber() { return MerchantReferenceNumber; }
        public Level2Descriptor setMerchantReferenceNumber(String value) { this.MerchantReferenceNumber = value; return this; }
        public String getMerchantTaxId() { return MerchantTaxId; }
        public Level2Descriptor setMerchantTaxId(String value) { this.MerchantTaxId = value; return this; }
        public String getOrderNumber() { return OrderNumber; }
        public Level2Descriptor setOrderNumber(String value) { this.OrderNumber = value; return this; }
        public Integer getTaxAmount() { return TaxAmount; }
        public Level2Descriptor setTaxAmount(Integer value) { this.TaxAmount = value; return this; }
        public String getDestinationPostalCode() { return DestinationPostalCode; }
        public Level2Descriptor setDestinationPostalCode(String value) { this.DestinationPostalCode = value; return this; }
        public String getProductDescription() { return ProductDescription; }
        public Level2Descriptor setProductDescription(String value) { this.ProductDescription = value; return this; }
    }

    public static enum TaxIndicator
    {
        Default,
        NoTaxInfoProvided,
        TaxInfoProvided,
        TaxExemptItem;
    }

    public static class PaymentFacilitatorDescriptor
    {
        public String PaymentFacilitatorIndicator = null;
        public String PFPhoneNumber = null;
        public String SubMerchID = null;
        public String SellerID = null;
        
        public String getPaymentFacilitatorIndicator() { return PaymentFacilitatorIndicator; }
        public PaymentFacilitatorDescriptor setPaymentFacilitatorIndicator(String value) { this.PaymentFacilitatorIndicator = value; return this; }
        public String getPfPhoneNumber() { return PFPhoneNumber; }
        public PaymentFacilitatorDescriptor setPfPhoneNumber(String value) { this.PFPhoneNumber = value; return this; }
        public String getSubMerchID() { return SubMerchID; }
        public PaymentFacilitatorDescriptor setSubMerchID(String value) { this.SubMerchID = value; return this; }
        public String getSellerID() { return SellerID; }
        public PaymentFacilitatorDescriptor setSellerID(String value) { this.SellerID = value; return this; }
    }

    public static class TokenDescriptor
    {
        public TokenTypes TokenType = null;
        public String TokenCryptogramData1 = null;
        public String TokenCryptogramData2 = null;
        
        public TokenTypes getTokenType() { return TokenType; }
        public TokenDescriptor setTokenType(TokenTypes value) { this.TokenType = value; return this; }
        public String getTokenCryptogramData1() { return TokenCryptogramData1; }
        public TokenDescriptor setTokenCryptogramData1(String value) { this.TokenCryptogramData1 = value; return this; }
        public String getTokenCryptogramData2() { return TokenCryptogramData2; }
        public TokenDescriptor setTokenCryptogramData2(String value) { this.TokenCryptogramData2 = value; return this; }
    }

    public static enum TokenTypes
    {
        Default,
        Ucaf,
        Dsrp,
        Ucafdsrp,
        VisaVerified,
        DigitalWallet,
        VisaVerifiedDigitalWallet;
    }

    public static class CardonFileIndicatorDescriptor
    {
        public CardonFileInfo CardonFile = null;
        public StoredCredentialIndicatorInfo StoredCredentialIndicator = null;
        public TransactionInitiateInfo TransactionInitiate = null;
        public ScheduleIndicatorInfo ScheduleIndicator = null;
        public String NetworkTransactionId = null;
        
        public CardonFileInfo getCardonFile() { return CardonFile; }
        public CardonFileIndicatorDescriptor setCardonFile(CardonFileInfo value) { this.CardonFile = value; return this; }
        public StoredCredentialIndicatorInfo getStoredCredentialIndicator() { return StoredCredentialIndicator; }
        public CardonFileIndicatorDescriptor setStoredCredentialIndicator(StoredCredentialIndicatorInfo value) { this.StoredCredentialIndicator = value; return this; }
        public TransactionInitiateInfo getTransactionInitiate() { return TransactionInitiate; }
        public CardonFileIndicatorDescriptor setTransactionInitiate(TransactionInitiateInfo value) { this.TransactionInitiate = value; return this; }
        public ScheduleIndicatorInfo getScheduleIndicator() { return ScheduleIndicator; }
        public CardonFileIndicatorDescriptor setScheduleIndicator(ScheduleIndicatorInfo value) { this.ScheduleIndicator = value; return this; }
        public String getNetworkTransactionId() { return NetworkTransactionId; }
        public CardonFileIndicatorDescriptor setNetworkTransactionId(String value) { this.NetworkTransactionId = value; return this; }
    }

    public static enum CardonFileInfo
    {
        Default,
        Supported,
        NotSupported;
    }

    public static enum StoredCredentialIndicatorInfo
    {
        Default,
        Initial,
        Subsequent;
    }

    public static enum TransactionInitiateInfo
    {
        Default,
        Merchant,
        Terminal,
        Customer;
    }

    public static enum ScheduleIndicatorInfo
    {
        Default,
        Scheduled,
        Unscheduled;
    }

    public static enum CardAccountUpdaterInfo
    {
        Default,
        Supported,
        NotSupported;
    }

    public static enum OrderTypeInfo
    {
        Default,
        Standing,
        Subscription;
    }

    public static class BillPayGroupIndicator
    {
        public String MITTotalPaymentCount = null;
        public String MITAmountType = null;
        public String MITAmount = null;
        public String MITUniqueID = null;
        public String MITFrequency = null;
        public String MITValidationFlag = null;
        public String MITValidationReference = null;
        public String MITSequenceIndicator = null;
        
        public String getMitTotalPaymentCount() { return MITTotalPaymentCount; }
        public BillPayGroupIndicator setMitTotalPaymentCount(String value) { this.MITTotalPaymentCount = value; return this; }
        public String getMitAmountType() { return MITAmountType; }
        public BillPayGroupIndicator setMitAmountType(String value) { this.MITAmountType = value; return this; }
        public String getMitAmount() { return MITAmount; }
        public BillPayGroupIndicator setMitAmount(String value) { this.MITAmount = value; return this; }
        public String getMitUniqueID() { return MITUniqueID; }
        public BillPayGroupIndicator setMitUniqueID(String value) { this.MITUniqueID = value; return this; }
        public String getMitFrequency() { return MITFrequency; }
        public BillPayGroupIndicator setMitFrequency(String value) { this.MITFrequency = value; return this; }
        public String getMitValidationFlag() { return MITValidationFlag; }
        public BillPayGroupIndicator setMitValidationFlag(String value) { this.MITValidationFlag = value; return this; }
        public String getMitValidationReference() { return MITValidationReference; }
        public BillPayGroupIndicator setMitValidationReference(String value) { this.MITValidationReference = value; return this; }
        public String getMitSequenceIndicator() { return MITSequenceIndicator; }
        public BillPayGroupIndicator setMitSequenceIndicator(String value) { this.MITSequenceIndicator = value; return this; }
    }

    public static enum ChargeTypeInfo
    {
        Default,
        PartialShipment,
        Delayed,
        NoShow,
        Resubmission;
    }

    public static enum SAFEligibleFlag
    {
        Default,
        True,
        False;
    }

    @DataContract
    public static class POSCardlessRefund extends PaysecureResponseInternal
    {
        @DataMember
        public String ErrorMessage = null;

        @DataMember
        public String ErrorCode = null;

        @DataMember
        public String TranId = null;

        @DataMember
        public String Network = null;

        @DataMember
        public String ResponseCode = null;

        @DataMember
        public NetworkResponseData NetworkResponseData = null;
        
        public String getErrorMessage() { return ErrorMessage; }
        public POSCardlessRefund setErrorMessage(String value) { this.ErrorMessage = value; return this; }
        public String getErrorCode() { return ErrorCode; }
        public POSCardlessRefund setErrorCode(String value) { this.ErrorCode = value; return this; }
        public String getTranId() { return TranId; }
        public POSCardlessRefund setTranId(String value) { this.TranId = value; return this; }
        public String getNetwork() { return Network; }
        public POSCardlessRefund setNetwork(String value) { this.Network = value; return this; }
        public String getResponseCode() { return ResponseCode; }
        public POSCardlessRefund setResponseCode(String value) { this.ResponseCode = value; return this; }
        public NetworkResponseData getNetworkResponseData() { return NetworkResponseData; }
        public POSCardlessRefund setNetworkResponseData(NetworkResponseData value) { this.NetworkResponseData = value; return this; }
    }

    @DataContract
    public static class PaysecureResponseInternal
    {
        @DataMember(EmitDefaultValue=false)
        public RequestTimestamps Timestamps = null;
        
        public RequestTimestamps getTimestamps() { return Timestamps; }
        public PaysecureResponseInternal setTimestamps(RequestTimestamps value) { this.Timestamps = value; return this; }
    }

    @DataContract
    public static class RequestTimestamps
    {
        @DataMember(EmitDefaultValue=false)
        public InOutTimes AppLayer = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes ParentLookup = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes RetryLookup = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes GetCardData = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes CardTokenize = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes CardEncrypt = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes DBInsert = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes BackendProcess = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes DBUpdate = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes ParentUpdate = null;

        @DataMember(EmitDefaultValue=false)
        public InOutTimes Network = null;
        
        public InOutTimes getAppLayer() { return AppLayer; }
        public RequestTimestamps setAppLayer(InOutTimes value) { this.AppLayer = value; return this; }
        public InOutTimes getParentLookup() { return ParentLookup; }
        public RequestTimestamps setParentLookup(InOutTimes value) { this.ParentLookup = value; return this; }
        public InOutTimes getRetryLookup() { return RetryLookup; }
        public RequestTimestamps setRetryLookup(InOutTimes value) { this.RetryLookup = value; return this; }
        public InOutTimes getGetCardData() { return GetCardData; }
        public RequestTimestamps setGetCardData(InOutTimes value) { this.GetCardData = value; return this; }
        public InOutTimes getCardTokenize() { return CardTokenize; }
        public RequestTimestamps setCardTokenize(InOutTimes value) { this.CardTokenize = value; return this; }
        public InOutTimes getCardEncrypt() { return CardEncrypt; }
        public RequestTimestamps setCardEncrypt(InOutTimes value) { this.CardEncrypt = value; return this; }
        public InOutTimes getDbInsert() { return DBInsert; }
        public RequestTimestamps setDbInsert(InOutTimes value) { this.DBInsert = value; return this; }
        public InOutTimes getBackendProcess() { return BackendProcess; }
        public RequestTimestamps setBackendProcess(InOutTimes value) { this.BackendProcess = value; return this; }
        public InOutTimes getDbUpdate() { return DBUpdate; }
        public RequestTimestamps setDbUpdate(InOutTimes value) { this.DBUpdate = value; return this; }
        public InOutTimes getParentUpdate() { return ParentUpdate; }
        public RequestTimestamps setParentUpdate(InOutTimes value) { this.ParentUpdate = value; return this; }
        public InOutTimes getNetwork() { return Network; }
        public RequestTimestamps setNetwork(InOutTimes value) { this.Network = value; return this; }
    }

    @DataContract
    public static class InOutTimes
    {
        
    }

    public static class NetworkResponseData
    {
        public String AliPayTransId = null;
        public String AliPayTransactionTime = null;
        public String ResponseCode = null;
        public String WeChatPayTransId = null;
        public String WeChatPayTransactionTime = null;
        public String WeChatPayOpenId = null;
        
        public String getAliPayTransId() { return AliPayTransId; }
        public NetworkResponseData setAliPayTransId(String value) { this.AliPayTransId = value; return this; }
        public String getAliPayTransactionTime() { return AliPayTransactionTime; }
        public NetworkResponseData setAliPayTransactionTime(String value) { this.AliPayTransactionTime = value; return this; }
        public String getResponseCode() { return ResponseCode; }
        public NetworkResponseData setResponseCode(String value) { this.ResponseCode = value; return this; }
        public String getWeChatPayTransId() { return WeChatPayTransId; }
        public NetworkResponseData setWeChatPayTransId(String value) { this.WeChatPayTransId = value; return this; }
        public String getWeChatPayTransactionTime() { return WeChatPayTransactionTime; }
        public NetworkResponseData setWeChatPayTransactionTime(String value) { this.WeChatPayTransactionTime = value; return this; }
        public String getWeChatPayOpenId() { return WeChatPayOpenId; }
        public NetworkResponseData setWeChatPayOpenId(String value) { this.WeChatPayOpenId = value; return this; }
    }

}

Java POSCardlessRefundRequest DTOs

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 /POSCardlessRefund HTTP/1.1 
Host: api.paysecure.acculynk.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<POSCardlessRefundRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <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>
    <BillPayGroup>Default</BillPayGroup>
    <BillPayGroupIndicator>
      <MITAmount>String</MITAmount>
      <MITAmountType>String</MITAmountType>
      <MITFrequency>String</MITFrequency>
      <MITSequenceIndicator>String</MITSequenceIndicator>
      <MITTotalPaymentCount>String</MITTotalPaymentCount>
      <MITUniqueID>String</MITUniqueID>
      <MITValidationFlag>String</MITValidationFlag>
      <MITValidationReference>String</MITValidationReference>
    </BillPayGroupIndicator>
    <CardAccountUpdater>Default</CardAccountUpdater>
    <CardonFileIndicator>
      <CardonFile>Default</CardonFile>
      <NetworkTransactionId>String</NetworkTransactionId>
      <ScheduleIndicator>Default</ScheduleIndicator>
      <StoredCredentialIndicator>Default</StoredCredentialIndicator>
      <TransactionInitiate>Default</TransactionInitiate>
    </CardonFileIndicator>
    <CashbackAmount>0</CashbackAmount>
    <ChargeTypeDetail>Default</ChargeTypeDetail>
    <CurrentShipment>0</CurrentShipment>
    <IsTokenRequested>false</IsTokenRequested>
    <Level2Data>
      <DestinationPostalCode>String</DestinationPostalCode>
      <MerchantReferenceNumber>String</MerchantReferenceNumber>
      <MerchantTaxId>String</MerchantTaxId>
      <OrderNumber>String</OrderNumber>
      <ProductDescription>String</ProductDescription>
      <TaxAmount>0</TaxAmount>
      <TaxDetails>Default</TaxDetails>
    </Level2Data>
    <Network>Default</Network>
    <OTPTranId>String</OTPTranId>
    <OrderTypeDetail>Default</OrderTypeDetail>
    <PaymentFacilitatorData>
      <PFPhoneNumber>String</PFPhoneNumber>
      <PaymentFacilitatorIndicator>String</PaymentFacilitatorIndicator>
      <SellerID>String</SellerID>
      <SubMerchID>String</SubMerchID>
    </PaymentFacilitatorData>
    <ReceiverInfo>
      <AccountNumber>String</AccountNumber>
      <Address>String</Address>
      <City>String</City>
      <Country>String</Country>
      <Name>String</Name>
      <PhoneNumber>String</PhoneNumber>
      <ReferenceNumber>String</ReferenceNumber>
      <State>String</State>
      <Zip>String</Zip>
    </ReceiverInfo>
    <RetryAttemptCount>0</RetryAttemptCount>
    <SAFEligible>Default</SAFEligible>
    <SecureData>
      <CAVV>String</CAVV>
      <SecureTransactionId>String</SecureTransactionId>
    </SecureData>
    <SenderInfo>
      <AccountNumber>String</AccountNumber>
      <Address>String</Address>
      <City>String</City>
      <Country>String</Country>
      <DateOfBirth>String</DateOfBirth>
      <FundingSource>DepositAccount</FundingSource>
      <Name>String</Name>
      <PhoneNumber>String</PhoneNumber>
      <ReferenceNumber>String</ReferenceNumber>
      <State>String</State>
      <Zip>String</Zip>
    </SenderInfo>
    <SignatureHashVersion>String</SignatureHashVersion>
    <TokenData>
      <TokenCryptogramData1>String</TokenCryptogramData1>
      <TokenCryptogramData2>String</TokenCryptogramData2>
      <TokenType>Default</TokenType>
    </TokenData>
    <TotalAuthAmount>0</TotalAuthAmount>
    <TotalShipments>0</TotalShipments>
    <Track2DataForEMVTransaction>String</Track2DataForEMVTransaction>
    <WalletData>
      <ApplicationData>String</ApplicationData>
      <ApplicationDataHash>String</ApplicationDataHash>
      <DigitalWalletIndicator>Default</DigitalWalletIndicator>
      <EncryptedData>String</EncryptedData>
      <EphemeralPublicKey>String</EphemeralPublicKey>
      <MerchantIdentifier>String</MerchantIdentifier>
      <PublicKeyHash>String</PublicKeyHash>
      <Signature>String</Signature>
      <SpecialPayment>String</SpecialPayment>
      <TransactionId>String</TransactionId>
      <Type>String</Type>
      <Version>String</Version>
    </WalletData>
  </ExtendedData>
  <LocalDate>String</LocalDate>
  <LocalTime>String</LocalTime>
  <MID>String</MID>
  <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>
  <NetworkRequestData>
    <AliPayPartnerId>String</AliPayPartnerId>
    <OrderDetail>String</OrderDetail>
    <OrderNumber>String</OrderNumber>
    <OrderTitle>String</OrderTitle>
    <TerminalIP>String</TerminalIP>
    <WebHookURL>String</WebHookURL>
  </NetworkRequestData>
  <OriginalReferenceKey>String</OriginalReferenceKey>
  <ReferenceKey>String</ReferenceKey>
  <SignatureHash>String</SignatureHash>
  <TID>String</TID>
</POSCardlessRefundRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<POSCardlessRefund 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>
  <ErrorCode>String</ErrorCode>
  <ErrorMessage>String</ErrorMessage>
  <Network>String</Network>
  <NetworkResponseData>
    <AliPayTransId>String</AliPayTransId>
    <AliPayTransactionTime>String</AliPayTransactionTime>
    <ResponseCode>String</ResponseCode>
    <WeChatPayOpenId>String</WeChatPayOpenId>
    <WeChatPayTransId>String</WeChatPayTransId>
    <WeChatPayTransactionTime>String</WeChatPayTransactionTime>
  </NetworkResponseData>
  <ResponseCode>String</ResponseCode>
  <TranId>String</TranId>
</POSCardlessRefund>