v1
latestOpenAPI 3.1.02026-07-2617501.1 MBList all the spend profiles of your company
get/motive_card/v1/spend_profiles
Query parameters
default_firstboolean
Specify this parameter if you want to view the profile that are set as <b>default</b>. Allowed values: <ul><li><b>true</b>: Indicates that the default profiles will be shown first.</li><li><b>false</b>: Denotes that the profiles will be shown as per the existing data. </li></ul>
sort_field'name' | 'created_at' | 'updated_at'
Specify the field using which you want to sort the data. Allowed values are <ul><li><b>name</b></li><li><b>created_at</b></li><li><b>updated_at</b></li></ul>
sort_direction'asc' | 'desc'
Specify the order of the API endpoint response.
page_nointeger
Specify the page number for the API response.
per_pageinteger
Denote the number of entries per page.
Response
200
Example response
{
"spend_control_profiles": [
{
"id": "d6c8b63b-04a6-42a6-8703-8ebcc47693b9",
"name": "Tester",
"is_default": true,
"created_at": "2024-11-15T04:20:14.952Z",
"updated_at": "2024-12-23T13:14:08.578Z",
"spend_limits": {
"daily_limit_in_cents": 550000,
"weekly_limit_in_cents": 550000,
"monthly_limit_in_cents": 5500000,
"transaction_limit_in_cents": 300000,
"billing_cycle_spend_limit_in_cents": 5500,
"daily_withdrawal_limit_in_cents": 30000,
"weekly_withdrawal_limit_in_cents": 50000,
"atm_withdrawal_enabled": true,
"enable_days": [
"sun"
],
"created_by": 5239638
},
"spend_categories": [
"Fuel pump"
]
}
],
"pagination": {
"per_page": 25,
"page_no": 1,
"total": 84
}
}