GetPaymentSystemId
[POST] .../v1/pos/chequepaymentoperation/getpaymentsystemid
Returns the payment system ID for a POS cheque payment type. Use this method to determine which external payment system is configured for a payment type on the cash register of a POS cheque. The request filters by document_uuid and payment_type_id, requires the cheque to be in Paying status and returns result.payment_system_id for the resolved integration. The method uses the current request user and language context while reading cheque and cash register settings; missing fields, missing paying cheque, unlinked payment system and storage errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| filters | Array of Filter | Optional | Optional filters by fields available for this API method. |
Filterable Fields
| Field | Type | Description |
|---|---|---|
| document_uuid | string | Cash register cheque UUID. |
| payment_type_id | int | Payment method ID. |
Request Example
{
"filters": [
{
"Field": "document_uuid",
"Operator": "Equal",
"Value": "string"
}
]
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | PosPaymentSystemID | Result object. |
Response Example
{
"ok": true,
"result": {
"payment_system_id": 1
}
}