OrderSettlement
OrderSettlement
List all settlements for an order.
Accesstoken recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+Reference to an Order.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
Example response
Example response
Create a new order settlement
Create a new settlement for an order.
Accesstoken recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+Reference to an Order.
^[A-Za-z0-9-_]+Create a new settlement
in cents, e.g. 1,50 as 150
External reference for the settlement
^[A-Za-z0-9-_]*^[A-Za-z0-9-_]+Example response
Example response
Get order settlement details
Get details for a specific settlement on an order.
Accesstoken recevied after user login with a deviceToken
Reference to a Store.
^[A-Za-z0-9-_]+Reference to an Order.
^[A-Za-z0-9-_]+Reference to a settlement on an order.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+Check external payment gateways and fetch status
Include display messages in the response
Example response
Example response
Delete an order settlement
Delete a settlement on an order.
Accesstoken recevied after user login with a deviceToken
Reference to a Store.
^[A-Za-z0-9-_]+Reference to an Order.
^[A-Za-z0-9-_]+Reference to a settlement on an order.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+Force Delete on a settlement
No Content
Forbidden
No content
List payments for settlement
A payment belongs to an order settlement with payment method INVOICE.
Normally invoices are paid via bank and the payments imported or also registered by hand.
But if a customer pays the invoice by another method in the store (e.g. cash or card),
it is made as a settlement on a new order without any lines, and then shown as paymentSettlement.
Accesstoken recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an Order.
^[A-Za-z0-9-_]+Reference to a settlement on an order.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+Example response
Example response
Add payment for settlement
Add a payment for a settlement.
amount is in cents.
If paidAt is nil, it is set to now.
Accesstoken recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an Order.
^[A-Za-z0-9-_]+Reference to a settlement on an order.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+^[A-Za-z0-9-_]*Example response
Example response
Create new payment-settlement
A payment belongs to an order settlement with payment method INVOICE.
Normally invoices are paid via bank and the payments imported or also registered by hand.
But if a customer pays the invoice by another method in store (e.g. cash or card)
it is made as a settlement on a new order without any lines, and this is what we do here,
meaning the path parameters must refer to the order and settlement for which this is a payment.
Accesstoken recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+Reference to an Order.
^[A-Za-z0-9-_]+Reference to a settlement on an order.
^[A-Za-z0-9-_]+Create a new settlement
in cents, e.g. 1,50 as 150
External reference for the settlement
^[A-Za-z0-9-_]*^[A-Za-z0-9-_]+Example response
Example response
Retrieves a filtered list of settlements for the organization.
Results are sorted by createdAt in descending order when no sorting parameter is specified.
The spreadsheet response is a report containing only key settlement fields
(pagination does not apply to spreadsheet responses).
Accesstoken recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to an organization.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
EHF = "Elektronisk handelsformat"
Example response
Example response
Last updated
Was this helpful?

