POST api/b2c/paymentTransaction/confirm

Updates transaction's status and reference.

Request Information

URI Parameters

None.

Body Parameters

An instance of the ConfirmPaymentTransactionRequestDTO.

Cyberlogic.eTourism.Mappings.Web.Dto.Excursions.ConfirmPaymentTransactionRequestDTO
NameDescriptionTypeAdditional information
TransactionId

integer

None.

Reference

string

None.

TransactionTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionId": 1,
  "Reference": "sample string 2",
  "TransactionTypeId": 3
}

text/html

Sample:
{"TransactionId":1,"Reference":"sample string 2","TransactionTypeId":3}

application/xml, text/xml

Sample:
<ConfirmPaymentTransactionRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Web.Dto.Excursions">
  <Reference>sample string 2</Reference>
  <TransactionId>1</TransactionId>
  <TransactionTypeId>3</TransactionTypeId>
</ConfirmPaymentTransactionRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

An object with empty errormessage

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />