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

IsDefault

boolean

None.

IsRounded

boolean

None.

Name

string

None.

Sample:
{
  "Code": "sample string 1",
  "DateLastChange": "2021-05-10T14:34:33.2163366+00:00",
  "IsDefault": true,
  "IsRounded": true,
  "Name": "sample string 5",
  "Id": 6
}
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">6</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>2021-05-10T14:34:33.2163366+00:00</DateLastChange>
  <IsDefault>true</IsDefault>
  <IsRounded>true</IsRounded>
  <Name>sample string 5</Name>
</PaymentOptionApiModel>