For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pos Payment

Retrieve POS payments by external payment ID and update their status, including processing, success, cancellation, rejection, and error details.

POS payment management.

Update the payment status

put
Path parameters
externalPaymentIdstringRequired
Query parameters
statusstring · enumRequiredPossible values:
errorMessagestringOptional
posPaymentMethodIdinteger · int64Optional

ID of the POS payment method actually used, ignored if not valid for this payment

Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

amountnumberRequired

Payment amount.

currencystringOptional

Currency (ISO Alpha-3).

externalPaymentIdstring · max: 255Optional

External payment identifier from the backend.

externalPaymentStatusstring · enumOptional

External payment status.

Possible values:
externalPaymentErrorMessagestring · max: 1000Optional

Error message from the payment backend.

paymentOperationstring · enumOptional

Payment operation type.

Possible values:
cancelledExternalPaymentIdstring · max: 255Optional

External payment identifier of the payment to cancel.

put/erp/pos/payment/orders/{externalPaymentId}/status
PUT /erp/pos/payment/orders/{externalPaymentId}/status?status=PENDING HTTP/1.1
Host: api.example.com
Accept: */*
200

OK

{
  "version": "text",
  "info": {
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdFrom": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "updatedFrom": "text"
  },
  "id": "text",
  "documentLineRef": {
    "id": 1,
    "documentId": 1,
    "category": "CUSTOMER_OFFER",
    "documentType": "text",
    "documentState": "text",
    "number": "text",
    "articleNumber": "text",
    "position": 1,
    "name": "text",
    "quantity": 1,
    "price": 1,
    "displayName": "text"
  },
  "amount": 1,
  "currency": "text",
  "paymentMethodRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "paymentBackendRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "externalPaymentId": "text",
  "externalPaymentStatus": "PENDING",
  "externalPaymentErrorMessage": "text",
  "paymentOperation": "PAYMENT",
  "cancelledExternalPaymentId": "text",
  "posRegisterRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "salesChannelRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "paymentConsumerRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "ruleResult": {
    "empty": true,
    "array": true,
    "null": true,
    "object": true,
    "float": true,
    "missingNode": true,
    "valueNode": true,
    "container": true,
    "integralNumber": true,
    "binary": true,
    "nodeType": "ARRAY",
    "string": true,
    "pojo": true,
    "short": true,
    "int": true,
    "long": true,
    "double": true,
    "bigDecimal": true,
    "bigInteger": true,
    "boolean": true,
    "floatingPointNumber": true,
    "number": true,
    "embeddedValue": true
  }
}

Read a payment by its external payment identifier

get
Path parameters
externalPaymentIdstringRequired
Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

amountnumberRequired

Payment amount.

currencystringOptional

Currency (ISO Alpha-3).

externalPaymentIdstring · max: 255Optional

External payment identifier from the backend.

externalPaymentStatusstring · enumOptional

External payment status.

Possible values:
externalPaymentErrorMessagestring · max: 1000Optional

Error message from the payment backend.

paymentOperationstring · enumOptional

Payment operation type.

Possible values:
cancelledExternalPaymentIdstring · max: 255Optional

External payment identifier of the payment to cancel.

get/erp/pos/payment/orders/{externalPaymentId}
GET /erp/pos/payment/orders/{externalPaymentId} HTTP/1.1
Host: api.example.com
Accept: */*
200

OK

{
  "version": "text",
  "info": {
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdFrom": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "updatedFrom": "text"
  },
  "id": "text",
  "documentLineRef": {
    "id": 1,
    "documentId": 1,
    "category": "CUSTOMER_OFFER",
    "documentType": "text",
    "documentState": "text",
    "number": "text",
    "articleNumber": "text",
    "position": 1,
    "name": "text",
    "quantity": 1,
    "price": 1,
    "displayName": "text"
  },
  "amount": 1,
  "currency": "text",
  "paymentMethodRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "paymentBackendRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "externalPaymentId": "text",
  "externalPaymentStatus": "PENDING",
  "externalPaymentErrorMessage": "text",
  "paymentOperation": "PAYMENT",
  "cancelledExternalPaymentId": "text",
  "posRegisterRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "salesChannelRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "paymentConsumerRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "ruleResult": {
    "empty": true,
    "array": true,
    "null": true,
    "object": true,
    "float": true,
    "missingNode": true,
    "valueNode": true,
    "container": true,
    "integralNumber": true,
    "binary": true,
    "nodeType": "ARRAY",
    "string": true,
    "pojo": true,
    "short": true,
    "int": true,
    "long": true,
    "double": true,
    "bigDecimal": true,
    "bigInteger": true,
    "boolean": true,
    "floatingPointNumber": true,
    "number": true,
    "embeddedValue": true
  }
}

Last updated

Was this helpful?