POST api/Pos264/Pay

Request Information

URI Parameters

None.

Body Parameters

Pos264PaymentRequest
NameDescriptionTypeAdditional information
PosCode

integer

Required

Range: inclusive between 0 and 99999999

DocumentCode

string

Required

Max length: 10

TransferAmount

decimal number

Required

TypesOf

TypesOfBulletin

Required

Request Formats

application/json, text/json

Sample:
{
  "PosCode": 1,
  "DocumentCode": "sample string 2",
  "TransferAmount": 3.0,
  "TypesOf": 0
}

application/xml, text/xml

Sample:
<Pos264PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Pos264.Services">
  <DocumentCode>sample string 2</DocumentCode>
  <PosCode>1</PosCode>
  <TransferAmount>3</TransferAmount>
  <TypesOf>Mav</TypesOf>
</Pos264PaymentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Pos264PaymentResponse
NameDescriptionTypeAdditional information
tag

string

None.

accepted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "tag": "sample string 1",
  "accepted": true
}

application/xml, text/xml

Sample:
<Pos264PaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Pos264.Services">
  <Accepted>true</Accepted>
  <Tag>sample string 1</Tag>
</Pos264PaymentResponse>