get https://sandbox.sa.leantech.me/data/v2/accounts//standing-orders
Get the standing orders for a specific account given an accountId. The accountId can be found by making a call to the /accounts endpoint.
Response
Get the standing orders for a specific account given an accountId. The accountId can be found by making a call to the /accounts endpoint.
xxxxxxxxxx
curl --request GET \
--url 'https://sandbox.sa.leantech.me/data/v2/accounts/account_id/standing-orders?async=false&page=0&size=50&force_refresh=false&verbose=false' \
--header 'accept: */*'
xxxxxxxxxx
111}
{
"data": {
"type": "string",
"page": {
"number": 0,
"size": 0,
"total_elements": 0,
"total_pages": 0
},
"standing_orders": [
{
"account_id": "string",
"standing_order_id": "string",
"standing_order_status_code": "ACTIVE",
"first_payment_date_time": "2025-03-16T12:55:03.629Z",
"last_payment_date_time": "2025-03-16T12:55:03.629Z",
"next_payment_date_time": "2025-03-16T12:55:03.629Z",
"final_payment_date_time": "2025-03-16T12:55:03.629Z",
"frequency": {
"frequency_type": "NOT_KNOWN",
"interval": "string"
},
"number_of_payments": 0,
"reference": "string",
"first_payment_amount": {