POST | /api/v1/authorization/{transactionId}/incremental | [BETA] Increases a previous card authorization by the given transactionAmount. | This increments the original authorization by the given transactionAmount. The transactionId is the value returned by the original authorization. More» |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Configuration | body | TransactionIdRequestConfiguration | No | Applicable configuration values that can be set per request. |
TransactionId | path | string | Yes | The ID of a previous authorization transaction. |
TransactionAmount | body | decimal | No | The amount by which to increase the authorization amount. |
Lodging | body | LodgingIncrementalAuthorization | No | The lodging parameter to be passed in for a lodging transaction. more» |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CardHolderPresentCode | body | CardHolderPresentCode? | No | Defines whether the card holder is present at the transaction. This value is optional, but recommended to be set. If this value is not set in the request, it will be automatically set based on the market code.Allowable Values
|
ClerkNumber | body | string | No | An optional clerk number for reference. |
LaneId | body | int | No | Specifies which lane to use. |
ReferenceNumber | body | string | No | A user defined reference number. This reference number is returned in the response |
ShiftId | body | string | No | An optional shift id for reference. |
TicketNumber | body | string | No | An optional ticket number. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MarketCode | body | MarketCode | No | The market code of the transaction. Allowable Values
|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Duration | body | int | No | The number of hotel stay days. Set to 1 for no show. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TransactionId | body | string | No | The transaction ID from the processor |
TotalAmount | body | decimal | No | The total amount of the transaction. |
AccountNumber | body | string | No | The card account number. |
CardLogo | body | string | No | The card logo. Possible values are: Visa, Mastercard, Discover, Amex, Diners Club, JCB, Carte Blanche, Other. |
TerminalId | body | string | No | The ID of the terminal used during the transaction |
ApprovalNumber | body | string | No | Approval number from the processor. Depending on card type and processor an approval number might not be returned. |
IsApproved | body | bool | No | Set to true if the host approved the transaction. |
Processor | body | Processor | No | Response information from the processor. |
StatusCode | body | TransactionFlowStatus | No | The status code for the transaction.Allowable Values
|
TransactionDateTime | body | string | No | Transaction date/time in ISO8601 format |
MerchantId | body | string | No | The Merchant used to process the transaction. |
ReferenceNumber | body | string | No | The transaction's reference number. |
MarketCode | body | string | No | The transaction's reference number. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Errors | body | List<ApiError> | No | A list of errors that occurred. |
HasErrors | body | bool | No | Indicates if there are errors. |
Links | body | IEnumerable<ApiLink> | No | A list of resource links |
Logs | body | List<string> | No | A list of log entries detailing what happened during the request. Ideally only used during development or troubleshooting as this can be quite verbose. |
Type | body | string | No | The type of object held in the result. |
Warnings | body | List<ApiWarning> | No | A list of warnings that occurred. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProcessorLogs | body | List<string> | No | [DEPRECATED] Use logs. |
ProcessorRawResponse | body | string | No | [DEPRECATED] Use rawResponse. |
ProcessorReferenceNumber | body | string | No | [DEPRECATED] Use the same reference number passed in the request. |
ProcessorRequestFailed | body | bool | No | [DEPRECATED] Use top level properties (e.g. hasErrors). |
ProcessorRequestWasApproved | body | bool | No | [DEPRECATED] Use top level properties (e.g isApproved). |
ProcessorResponseCode | body | ProcessorResponseCode | No | [DEPRECATED] Use expressResponseCode.Allowable Values
|
ProcessorResponseMessage | body | string | No | [DEPRECATED] Use expressResponseMessage. |
ExpressResponseCode | body | string | No | The response code received from Express. |
ExpressResponseMessage | body | string | No | The response message received from Express. |
HostResponseCode | body | string | No | The response code received from the host via Express. NOTE: This value is only populated if Express send the request to the host. |
HostResponseMessage | body | string | No | The response message received from the host via Express. NOTE: This value is only populated if Express send the request to the host. |
Logs | body | List<string> | No | A list of messages pertaining processing the transaction. |
RawResponse | body | string | No | The raw processor response. In the case of Express, this is the raw XML returned by the Express platform. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/IncrementalAuthorizationRequest HTTP/1.1
Host: booking.pufferdayspa.com
Content-Type: application/xml
Content-Length: length
<incrementalAuthorizationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tripos.vantiv.com/2014/09/TriPos.Api">
<cardHolderPresentCode>Default</cardHolderPresentCode>
<clerkNumber>String</clerkNumber>
<laneId>0</laneId>
<referenceNumber>String</referenceNumber>
<shiftId>String</shiftId>
<ticketNumber>String</ticketNumber>
<configuration>
<marketCode>Default</marketCode>
</configuration>
<lodging>
<duration>0</duration>
</lodging>
<transactionAmount>0</transactionAmount>
<transactionId>String</transactionId>
</incrementalAuthorizationRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <incrementalAuthorizationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tripos.vantiv.com/2014/09/TriPos.Api"> <_errors> <error> <developerMessage>String</developerMessage> <errorType>String</errorType> <exceptionMessage>String</exceptionMessage> <exceptionTypeFullName>String</exceptionTypeFullName> <exceptionTypeShortName>String</exceptionTypeShortName> <userMessage>String</userMessage> </error> </_errors> <_hasErrors>true</_hasErrors> <_links /> <_logs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>String</d2p1:string> </_logs> <_type>String</_type> <_warnings> <warning> <developerMessage>String</developerMessage> <userMessage>String</userMessage> </warning> </_warnings> <_processor> <expressResponseCode>String</expressResponseCode> <expressResponseMessage>String</expressResponseMessage> <hostResponseCode>String</hostResponseCode> <hostResponseMessage>String</hostResponseMessage> <logs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>String</d3p1:string> </logs> <processorLogs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>String</d3p1:string> </processorLogs> <processorRawResponse>String</processorRawResponse> <processorReferenceNumber>String</processorReferenceNumber> <processorRequestFailed>false</processorRequestFailed> <processorRequestWasApproved>false</processorRequestWasApproved> <processorResponseCode>Unknown</processorResponseCode> <processorResponseMessage>String</processorResponseMessage> <rawResponse>String</rawResponse> </_processor> <accountNumber>String</accountNumber> <approvalNumber>String</approvalNumber> <cardLogo>String</cardLogo> <isApproved>false</isApproved> <marketCode>String</marketCode> <merchantId>String</merchantId> <referenceNumber>String</referenceNumber> <statusCode>None</statusCode> <terminalId>String</terminalId> <totalAmount>0</totalAmount> <transactionDateTime>String</transactionDateTime> <transactionId>String</transactionId> </incrementalAuthorizationResponse>