POST api/Sync/Pay

Request Information

URI Parameters

None.

Body Parameters

PtiObject
NameDescriptionTypeAdditional information
ServiceProviderId

string

None.

ServiceProviderUniqueId

string

None.

GovNumber

string

None.

Amount

decimal number

None.

PaymentDate

date

None.

PayerName

string

None.

Signature

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceProviderId": "sample string 1",
  "ServiceProviderUniqueId": "sample string 2",
  "GovNumber": "sample string 3",
  "Amount": 4.0,
  "PaymentDate": "2024-11-21T13:23:14.6315783+04:00",
  "PayerName": "sample string 6",
  "Signature": "sample string 7"
}

application/xml, text/xml

Sample:
<PtiObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.PaymentService.Model">
  <Amount>4</Amount>
  <GovNumber>sample string 3</GovNumber>
  <PayerName>sample string 6</PayerName>
  <PaymentDate>2024-11-21T13:23:14.6315783+04:00</PaymentDate>
  <ServiceProviderId>sample string 1</ServiceProviderId>
  <ServiceProviderUniqueId>sample string 2</ServiceProviderUniqueId>
  <Signature>sample string 7</Signature>
</PtiObject>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PtiObject'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.