POST api/TouressCreditTransactions/CreditPayment

Request Information

URI Parameters

None.

Body Parameters

PaymentTouressCreditTransactionBindingModel
NameDescriptionTypeAdditional information
CompanyCode

string

Required

String length: inclusive between 0 and 10

DateTime

date

Required

Data type: DateTime

CashFlowType

CashFlowType

None.

CurrencyId

string

Required

Value

decimal number

Required

Reference

string

String length: inclusive between 0 and 35

Description

string

Data type: Text

PaymentMethod

PaymentGatewayChoice

None.

Request Formats

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

Sample:

Sample not available.

Response Information

Resource Description

TouressCreditTransactionLogViewModel
NameDescriptionTypeAdditional information
DateTime

date

None.

Value

decimal number

None.

CashFlowType

string

None.

Description

string

None.

CurrencyId

string

None.

Id

integer

None.

CompanyCode

string

None.

Reference

string

None.

PaymentMethod

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DateTime": "2025-12-14T03:46:45.2256539+00:00",
  "Value": 2.0,
  "CashFlowType": "sample string 3",
  "Description": "sample string 4",
  "CurrencyId": "sample string 5",
  "Id": 6,
  "CompanyCode": "sample string 7",
  "Reference": "sample string 8",
  "PaymentMethod": "sample string 9"
}

application/xml, text/xml

Sample:
<TouressCreditTransactionLogViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <CashFlowType>sample string 3</CashFlowType>
  <CompanyCode>sample string 7</CompanyCode>
  <CurrencyId>sample string 5</CurrencyId>
  <DateTime>2025-12-14T03:46:45.2256539+00:00</DateTime>
  <Description>sample string 4</Description>
  <Id>6</Id>
  <PaymentMethod>sample string 9</PaymentMethod>
  <Reference>sample string 8</Reference>
  <Value>2</Value>
</TouressCreditTransactionLogViewModel>