支出限额
Models
支出限额生效
列出生效的支出限额
$client->organization->spendLimits->effective->list(?int limit, ?string page, ?list<SpendLimitPeriod> period, ?list<string> userIDs): PageCursor<SpendSummary>GET/v1/organizations/spend_limits/effective
列出每位成员的生效支出限额及本周期至今的支出。
支出限额提额请求
列出支出限额提额请求
$client->organization->spendLimits->increaseRequests->list(?list<string> actorIDs, ?int limit, ?string page, ?list<SpendLimitIncreaseRequestStatus> status): PageCursor<SpendLimitIncreaseRequest>GET/v1/organizations/spend_limit_increase_requests
列出支出限额提额请求,最新的在前。
获取支出限额提额请求
$client->organization->spendLimits->increaseRequests->retrieve(string spendLimitIncreaseRequestID): SpendLimitIncreaseRequestGET/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}
检索支出限额提额请求。
批准支出限额提额请求
$client->organization->spendLimits->increaseRequests->approve(string spendLimitIncreaseRequestID, string amount, ?SpendLimitPeriod period, ?bool suppressNotification): IncreaseRequestApproveResponsePOST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve
批准待处理的支出限额提额请求。
拒绝支出限额提额请求
$client->organization->spendLimits->increaseRequests->deny(string spendLimitIncreaseRequestID, ?bool suppressNotification): SpendLimitIncreaseRequestPOST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny
拒绝待处理的支出限额提额请求。