v1
latestOpenAPI 3.0.02026-07-244074117.0 KBOrders
Create an order
Creates a new order for checkout. Returns both a code for Slope.JS widget and full URL for redirect flow
post/v4/orders
Headers
Slope-Access-Tokenstring required
The access token returned from exchanging the short lived authorizationCode /v4/auth/token endpoint.
Request body
Example request
{
"billingAddress": {
"line1": "123 Main St",
"city": "San Francisco",
"country": "US",
"state": "CA",
"postalCode": "94107"
}
}Response
The created order. Returns either a standard order or a composable order depending on the uiType.
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
}
]
}
]
}