TABLE: Card Refund Request Data Fields

FieldFormatRequired?MinMaxComments
CardNumberANIf Track1Data and Track2Data are not present, CardNumber is required1319These are the credit card numbers with no spaces or hyphens, which are typically 13-16 digits in length. Acquiring software applications should validate card numbers using the Luhn's algorithm. Additionally, the first digit should match the card type:

  • Visa begins with 4

  • MasterCard begins with 5

  • Discover begins with 6

  • AMEX begins with 34 or 37


Not required if utilizing a previously created Save on File Payment Plan; otherwise, required if Track1Data or Track2Data is not present.
CardExpirationANIf Track1Data and Track2Data are not present, CardExpiration is required 55This is the credit card’s expiration date, and it must be a valid date. Should be one of the following: mm/YY, mm – yy, mm / yy, mm-yy or MM/YY. Not required if utilizing a previously created Save on File Payment Plan.
AmountDECY, must be greater than 0115The amount of money being refunded to a credit or debit card must be greater than 0.
CardVerificationNumberNUMN34
CardHolderNameANN1121Conditionally required based on outlet configuration. Consult your Implementations Manager for specific requirements that may apply.
Track1DataANIf CardPresentStatus is PresentSwipeSign or PresentSwipeNoSign, either Track1Data or Track2Data is required179This is track 1 from the ISO/IEC standard 7811. Not required if utilizing a previously transacted Save on File transaction; otherwise, required if CardPresentStatus is swiped and Track2Data is not set. No more than 76 characters in length.
Track2DataANSee Track1Data140This is track 2 from the ISO/IEC standard 7811. Not required if utilizing a previously transacted Save on File transaction; otherwise, required if CardPresentStatus is swiped and Track2Data is not set. No more than 76 characters in length.
AddressVerificationInfoNComplex element type.
Street1ANN1150The primary street address associated with the card.
Street2ANN1150Secondary street address associated with the card.
Street3ANN1150
CityANN150The city associated with the address of the card.
StateANN12The state associated with the address of the card.
ZipANN115
CountryANN130See Country Codes.
CompanyANN130
CardPresentStatusANY150See Card Present Status Codes. Describes situations where the card data may or may not be present. When using TransactionID use PresentManualKey, NotPresentInternet or NotPresentMailOrFax.
MerchantIDANY150The unique ID associated with your merchant processing account, which will be provided by your Implementations Manager.
StoreIDANY150See MerchantID comments.
TerminalIDANY150See MerchantID comments.
TransactionIDANN150The transaction ID number is only used in the response and is set by InstaMed.
TransactionNumberANN150The transaction number may be passed in or is set by InstaMed.
BatchIDANN120Not currently used.
IsInstallmentANN45N/A for this transaction type.
InstallmentCountNUMN12N/A for this transaction type.
InstallmentSequenceNUMN12N/A for this transaction type.
IsRecurringANN45N/A for this transaction type.
IsSaveOnFileANN45Not currently used.
SaveOnFileTransactionIDANC150Only required if utilizing a previously transacted Save On File transaction.
PaymentMethodIDANC150
PatientNComplex element type.
PatientIDANN150A unique identifier for the patient, which is typically sourced from the Patient Accounting System.
PatientFirstNameANN150
PatientLastNameANN150
PatientMiddleNameANN150
AdditionalInfo1ANN1100User-defined fields to be captured with the payment transaction.
AdditionalInfo2ANN1100See AdditionalInfo1 comments.
AdditionalInfo3ANN1100See AdditionalInfo1 comments.
AdditionalInfo4ANN1100See AdditionalInfo1 comments.
AdditionalInfo5ANN1100See AdditionalInfo1 comments.
AdditionalInfo6ANN1100See AdditionalInfo1 comments.
PurchaseIdentifierNNot currently used.
CardTypeANN135Supported values: "VISA,” "MASTERCARD,” "AMEX,” “DISCOVER."
CardHolderEmailANC1100Conditionally required based on outlet configuration. Consult your Implementations Manager for specific requirements that may apply.
CardHolderFirstNameANC160Conditionally required based on outlet configuration. Consult your Implementations Manager for specific requirements that may apply.
CardHolderLastNameANC160Conditionally required based on outlet configuration. Consult your Implementations Manager for specific requirements that may apply.
encryptedEMVDataAN (Hex)C15000
deviceNameAN & PC1100
deviceSerialNumberAN (Hex)C150
encrypted-cardNumberANC12000Encrypted block from client-side encryption library call on card number.
encrypted-expDateANC12000Encrypted block from client-side encryption library call on expiration date.
encrypted-cvnANC12000Encrypted block from client-side encryption library call on CVN.