Request Information

Method returns payment option by Id.

Example URL:
v2.0/PaymentOptions/{id}
NameDescriptionTypeAdditional information
id

Payment option Id

integer

Required

id

Payment option Id

integer

Required

None.

Response Information

PaymentOptionApiModel
NameDescriptionTypeAdditional information
Code

string

None.

DateLastChange

date

None.

Id

Resource identifier

integer

Readonly

IsAutoPayment

Idicating automatic payment.

boolean

None.

IsDefault

boolean

None.

IsRounded

boolean

None.

Name

string

None.

Sample:
{
  "Code": "sample string 1",
  "DateLastChange": "2024-04-17T15:14:42.0360093+00:00",
  "IsDefault": true,
  "IsRounded": true,
  "Name": "sample string 5",
  "IsAutoPayment": true,
  "Id": 7
}
Sample:
<PaymentOptionApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.ReadOnlyEntites">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">7</Id>
  <Links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Links>
  <Code>sample string 1</Code>
  <DateLastChange>2024-04-17T15:14:42.0360093+00:00</DateLastChange>
  <IsAutoPayment>true</IsAutoPayment>
  <IsDefault>true</IsDefault>
  <IsRounded>true</IsRounded>
  <Name>sample string 5</Name>
</PaymentOptionApiModel>