POST api/Payment/AuthorizeCreditCard

Request Information

URI Parameters

None.

Body Parameters

Collection of Object

None.

Request Formats

application/json, text/json, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreditCardAuthorizationResult
NameDescriptionTypeAdditional information
AuthorizationResult

RequestResult

None.

Message

string

None.

TransactionReference

string

None.

TransactionHistoryId

string

None.

AuthorizationNumber

string

None.

Timestamp

date

None.

AuthorizationMessageType

MessageType

None.

SessionId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AuthorizationResult": 0,
  "Message": "sample string 1",
  "TransactionReference": "sample string 2",
  "TransactionHistoryId": "sample string 3",
  "AuthorizationNumber": "sample string 4",
  "Timestamp": "2024-02-23T02:35:01.1138402-08:00",
  "AuthorizationMessageType": 0,
  "SessionId": "sample string 6"
}

application/xml, text/xml

Sample:
<CreditCardAuthorizationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Univera.Data">
  <AuthorizationMessageType>RiskDecline</AuthorizationMessageType>
  <AuthorizationNumber>sample string 4</AuthorizationNumber>
  <AuthorizationResult>Success</AuthorizationResult>
  <Message>sample string 1</Message>
  <SessionId>sample string 6</SessionId>
  <Timestamp>2024-02-23T02:35:01.1138402-08:00</Timestamp>
  <TransactionHistoryId>sample string 3</TransactionHistoryId>
  <TransactionReference>sample string 2</TransactionReference>
</CreditCardAuthorizationResult>