Operations related to authentication tokens
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
Request
Also available as HTTP POST (endpoint: /api/v3/Payment/Invoice/p)
Invoice Payment Received By Outlet
Required Group Role: "Payment" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Payment/Invoice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Payment/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"From": "2023-01-01",
"To": "2023-01-31"
}'Response
application/json
[ { "Outlet": "Outlet1", "Payments": [ … ] }, { "Outlet": "Outlet2", "Payments": [ … ] } ]
Bodyapplication/json
One of:
Example: [{"Date":"2023-01-01","Amount":100,"Method":"Cash","Note":""},{"Date":"2023-01-01","Amount":100,"Method":"Debit - Outlet Outlet1","Note":""}]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Payment/Invoice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Payment/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "20.04.00019",
"Payments": [
{
"Date": "2023-01-01",
"Amount": 100,
"Method": "Cash",
"Note": ""
},
{
"Date": "2023-01-01",
"Amount": 100,
"Method": "Debit - Outlet Outlet1",
"Note": ""
}
]
}'Response
application/json
{ "Message": "Invoice Number 20.04.00019 has successfully completed a Paid" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/Payment/Invoice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/Payment/Invoice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "21.10.00001"
}'Response
application/json
{ "Message": "Invoice Number .21.10.00001 has successfully deleted" }
Request
StateFilter, will be changed into UnpaidValidation in the upcoming update, the old one will remain works.
This endpoint is a fractions from API/V3/Payment/Invoice. In This endpoint, you will not need to fill the exact payment amount in order to fill the entire payments (fully paid). You will only need to fill the Amount to 0 (zero). Please see the request example attached.
You must have "ADD" role in "Payment" Module OR "EDIT" role in "Global" Module
Security
OAuth2_clientCredentials
One of:
- Production Serverhttps://subdomain.dealpos.net/api/v3/Payment/Invoice/AddPaymentFull
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Payment/Invoice/AddPaymentFull \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Number": "20.04.00019",
"Outlet": "Outlet Name",
"Payments": [
{
"Date": "2020-04-01",
"Amount": 0,
"Method": "Cash",
"Note": ""
}
],
"UnpaidValidation": false
}'Response
application/json
{ "Message": "Invoice Number 20.04.00019 has successfully completed a Paid" }