OrderSettlement
Was this helpful?
Was this helpful?
OrderSettlement
Get details for a specific settlement on an order.
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
Delete a settlement on an order.
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
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
.
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
List all settlements for an order.
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
Create a new settlement for an order.
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
Refer to each payment type's options for available parameters, e.g. 'mobile' for VIPPS.
^[A-Za-z0-9-_]*
^[A-Za-z0-9-_]+
Example response
Add a payment for a settlement.
amount
is in cents.
If paidAt
is nil, it is set to now
.
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
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.
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
Refer to each payment type's options for available parameters, e.g. 'mobile' for VIPPS.
^[A-Za-z0-9-_]*
^[A-Za-z0-9-_]+
Use invoiceAddress only if an order has a different invoice than orderAddress.
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).
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