POST AuthorizeNet/PostTransaction

Request Information

URI Parameters

None.

Body Parameters

AuthorizeNet
NameDescriptionTypeAdditional information
LoginKey

integer

None.

Dues

CM527DuesInformation

None.

Initiation

CM527InitiationFees

None.

TransactionAmount

decimal number

None.

FeesAmount

decimal number

None.

CreditCardNumber

string

Required

Matching regular expression pattern: \b(?:(?:\d[ -]*?){17,}|((?:\d[ -]*?){13,16}))\b

CreditCardExpiration

string

None.

NameOnCard

string

Required

CVCNumber

string

Required

Matching regular expression pattern: ^[0-9]{3,4}$

ZipCode

string

Required

Matching regular expression pattern: ^\d{5}(-\d{4})?$

Response

AuthorizeNetReponse

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginKey": 1,
  "Dues": {
    "PaidThruDate": "2025-01-09T12:52:49.755804-06:00",
    "LateFeeApplies": true,
    "NoDuesDocuments": true,
    "LateFee": 4.0,
    "PastDueAmount": 5.0,
    "PaymentAmount": 6.0,
    "MonthlyDuesAmount": 7.0,
    "MaxDuesDate": "2025-01-09T12:52:49.755804-06:00",
    "MaxDuesPayment": 9.0
  },
  "Initiation": {
    "LastPaymentDate": "2025-01-09T12:52:49.755804-06:00",
    "IsPaid": true,
    "DocumentAmount": 3.0,
    "AppliedAmount": 4.0,
    "DocumentBalance": 5.0,
    "NoInitiationDocuments": true,
    "PaymentAmount": 7.0
  },
  "TransactionAmount": 2.0,
  "FeesAmount": 3.0,
  "CreditCardNumber": "sample string 4",
  "CreditCardExpiration": "sample string 5",
  "NameOnCard": "sample string 6",
  "CVCNumber": "sample string 7",
  "ZipCode": "sample string 8",
  "Response": {
    "TransactionId": "sample string 1",
    "ResponseCode": "sample string 2",
    "MessageCode": "sample string 3",
    "Description": "sample string 4",
    "AuthCode": "sample string 5",
    "TransactionAmount": "sample string 6",
    "ErrorCode": "sample string 7",
    "ErrorMessage": "sample string 8",
    "FailedTransaction": true
  }
}

application/xml, text/xml

Sample:
<AuthorizeNet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models">
  <CVCNumber>sample string 7</CVCNumber>
  <CreditCardExpiration>sample string 5</CreditCardExpiration>
  <CreditCardNumber>sample string 4</CreditCardNumber>
  <Dues>
    <LateFee>4</LateFee>
    <LateFeeApplies>true</LateFeeApplies>
    <MaxDuesDate>2025-01-09T12:52:49.755804-06:00</MaxDuesDate>
    <MaxDuesPayment>9</MaxDuesPayment>
    <MonthlyDuesAmount>7</MonthlyDuesAmount>
    <NoDuesDocuments>true</NoDuesDocuments>
    <PaidThruDate>2025-01-09T12:52:49.755804-06:00</PaidThruDate>
    <PastDueAmount>5</PastDueAmount>
    <PaymentAmount>6</PaymentAmount>
  </Dues>
  <FeesAmount>3</FeesAmount>
  <Initiation>
    <AppliedAmount>4</AppliedAmount>
    <DocumentAmount>3</DocumentAmount>
    <DocumentBalance>5</DocumentBalance>
    <IsPaid>true</IsPaid>
    <LastPaymentDate>2025-01-09T12:52:49.755804-06:00</LastPaymentDate>
    <NoInitiationDocuments>true</NoInitiationDocuments>
    <PaymentAmount>7</PaymentAmount>
  </Initiation>
  <LoginKey>1</LoginKey>
  <NameOnCard>sample string 6</NameOnCard>
  <Response>
    <AuthCode>sample string 5</AuthCode>
    <Description>sample string 4</Description>
    <ErrorCode>sample string 7</ErrorCode>
    <ErrorMessage>sample string 8</ErrorMessage>
    <FailedTransaction>true</FailedTransaction>
    <MessageCode>sample string 3</MessageCode>
    <ResponseCode>sample string 2</ResponseCode>
    <TransactionAmount>sample string 6</TransactionAmount>
    <TransactionId>sample string 1</TransactionId>
  </Response>
  <TransactionAmount>2</TransactionAmount>
  <ZipCode>sample string 8</ZipCode>
</AuthorizeNet>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AuthorizeNet'.

Response Information

Resource Description

AuthorizeNetReponse
NameDescriptionTypeAdditional information
TransactionId

string

None.

ResponseCode

string

None.

MessageCode

string

None.

Description

string

None.

AuthCode

string

None.

TransactionAmount

string

None.

ErrorCode

string

None.

ErrorMessage

string

None.

FailedTransaction

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "TransactionId": "sample string 1",
  "ResponseCode": "sample string 2",
  "MessageCode": "sample string 3",
  "Description": "sample string 4",
  "AuthCode": "sample string 5",
  "TransactionAmount": "sample string 6",
  "ErrorCode": "sample string 7",
  "ErrorMessage": "sample string 8",
  "FailedTransaction": true
}

application/xml, text/xml

Sample:
<AuthorizeNetReponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models">
  <AuthCode>sample string 5</AuthCode>
  <Description>sample string 4</Description>
  <ErrorCode>sample string 7</ErrorCode>
  <ErrorMessage>sample string 8</ErrorMessage>
  <FailedTransaction>true</FailedTransaction>
  <MessageCode>sample string 3</MessageCode>
  <ResponseCode>sample string 2</ResponseCode>
  <TransactionAmount>sample string 6</TransactionAmount>
  <TransactionId>sample string 1</TransactionId>
</AuthorizeNetReponse>