Add a new POS payment
Add a new payment. For a payment use must provide the products sold via articles and the payment transactions via paymenttypes
Request
- Base URLhttps://api.c1st.com/api
- URLhttps://api.c1st.com/api/pospayments
- AuthHTTP bearer
Request body
A global unique payment id
a sequential autoincremented payment no
The id of the user who created the payment
The id of the customer if any was attached to the payment
The date of the payment
the total number of payment articles sold
The sum of the payment materials
the sum of all discounts in the purchase
The amount left to pay for the payment
The id of the cash register used for the payment. Provide null if you don't use cash regiters
Deprecated. Refer to cashregister.title
Timestamp for when the last time the payment is updated.
1 if payment is a invoice payment. For example if the payment is paid via an invoice in economic.
1 if payment is a customer payment
Number of receipt copies printed (requires Efsta)
An optional list of ticket id attached to the payment. Not provided with GET payments
The id of the sales order if any was attached to the payment Not provided with GET payments
The sum of payment types considered cash payments.
The surcharge amount that was applied to the payment, if any.
Included when partner store payments are included
Total payment sum for customer, only set if customerid and customerPaymentSum query parameters are set
Deprecated. To be removed soon
Set to 1 i f the return of the payment has secondhand products (only necessary to set if you want statistics of secondhand sales)
A reference ID to the POSPayment being returned. Only relevant for return sales.
ID of the user who last modified the payment by changing the status from in_progress to complete/cancelled
A piece of text attached to the payment.
Source of the payment. Can either be 'assisted-checkout' or 'pos'
Response
Ok
A global unique payment id
a sequential autoincremented payment no
The id of the user who created the payment
The id of the customer if any was attached to the payment
The date of the payment
the total number of payment articles sold
The sum of the payment materials
the sum of all discounts in the purchase
The amount left to pay for the payment
The id of the cash register used for the payment. Provide null if you don't use cash regiters
Deprecated. Refer to cashregister.title
Timestamp for when the last time the payment is updated.
1 if payment is a invoice payment. For example if the payment is paid via an invoice in economic.
1 if payment is a customer payment
Number of receipt copies printed (requires Efsta)
An optional list of ticket id attached to the payment. Not provided with GET payments
The id of the sales order if any was attached to the payment Not provided with GET payments
The sum of payment types considered cash payments.
The surcharge amount that was applied to the payment, if any.
Included when partner store payments are included
Total payment sum for customer, only set if customerid and customerPaymentSum query parameters are set
Deprecated. To be removed soon
Set to 1 i f the return of the payment has secondhand products (only necessary to set if you want statistics of secondhand sales)
A reference ID to the POSPayment being returned. Only relevant for return sales.
ID of the user who last modified the payment by changing the status from in_progress to complete/cancelled
A piece of text attached to the payment.
Source of the payment. Can either be 'assisted-checkout' or 'pos'
Changes
No recorded changes to this operation across all 1 revision of this API.