v1
latestOpenAPI 3.0.02026-07-244074117.0 KBOrders
Cancel a partial amount of an order
Cancel a partial amount of an order.
- The cancelled amount will be posted as a credit toward the order balance once the order is finalized. This will not affect the original total amount.
- This is supported for orders in approved, pending, submitted, open, opening, and finalizing statuses.
- This is not allowed once order is finalized. To update finalized orders, use the adjustments endpoint.
- You may also cancel on merchant dashboard.
post/v4/orders/{id}/partial-cancel
Path parameters
idstring required
The Slope order ID or the partner external order ID
Request body
Example request
{
"amount": 100
}Response
The partially cancelled order
Example response
{
"paymentSchedule": [
{
"date": "2024-01-01"
}
],
"quotes": [
{
"payments": [
{
"number": 1,
"date": "2024-02-15T00:00:00Z",
"principal": 95000,
"customerFee": 500,
"amount": 105000,
"financingFee": 2500
}
]
}
]
}