POST api/Payment/AuthorizeCard

Request Information

URI Parameters

None.

Body Parameters

AuthorizeRequest
NameDescriptionTypeAdditional information
AccountNumber

string

None.

ExpirationDate

date

None.

Amount

decimal number

None.

FirstName

string

None.

LastName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountNumber": "sample string 1",
  "ExpirationDate": "2025-01-22T01:43:48.1009732-06:00",
  "Amount": 3.0,
  "FirstName": "sample string 4",
  "LastName": "sample string 5"
}

application/xml, text/xml

Sample:
<AuthorizeRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AccountNumber>sample string 1</AccountNumber>
  <ExpirationDate>2025-01-22T01:43:48.1009732-06:00</ExpirationDate>
  <Amount>3</Amount>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
</AuthorizeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
StatusCode

ResponseStatus_Enum

None.

Status

string

None.

Message

string

None.

ActionStatus

ActionStatus_Enum

None.

Source

string

None.

ApprovalCode

string

None.

TransactionId

integer

None.

ServiceTransactionId

string

None.

OrderId

string

None.

MiscData

string

None.

RawData

string

None.

Amount

decimal number

None.

CardProcessed

boolean

None.

RequestURL

string

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "Status": "sample string 1",
  "Message": "sample string 2",
  "ActionStatus": 0,
  "Source": "sample string 3",
  "ApprovalCode": "sample string 4",
  "TransactionId": 5,
  "ServiceTransactionId": "sample string 6",
  "OrderId": "sample string 7",
  "MiscData": "sample string 8",
  "RawData": "sample string 9",
  "Amount": 10.0,
  "CardProcessed": true,
  "RequestURL": "sample string 12"
}

application/xml, text/xml

Sample:
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <StatusCode>Approved</StatusCode>
  <Status>sample string 1</Status>
  <Message>sample string 2</Message>
  <ActionStatus>NotApplicable</ActionStatus>
  <Source>sample string 3</Source>
  <ApprovalCode>sample string 4</ApprovalCode>
  <TransactionId>5</TransactionId>
  <ServiceTransactionId>sample string 6</ServiceTransactionId>
  <OrderId>sample string 7</OrderId>
  <MiscData>sample string 8</MiscData>
  <RawData>sample string 9</RawData>
  <Amount>10</Amount>
  <CardProcessed>true</CardProcessed>
  <RequestURL>sample string 12</RequestURL>
</Response>