提额请求
列出支出限额提额请求
client.Beta.Organization.SpendLimits.IncreaseRequests.List(ctx, query) (*PageCursor[BetaSpendLimitIncreaseRequest], error)GET/v1/organizations/spend_limit_increase_requests
列出支出限额提额请求,最新的在前。
获取支出限额提额请求
client.Beta.Organization.SpendLimits.IncreaseRequests.Get(ctx, spendLimitIncreaseRequestID) (*BetaSpendLimitIncreaseRequest, error)GET/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}
检索支出限额提额请求。
批准支出限额提额请求
client.Beta.Organization.SpendLimits.IncreaseRequests.Approve(ctx, spendLimitIncreaseRequestID, body) (*BetaOrganizationSpendLimitIncreaseRequestApproveResponse, error)POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/approve
批准待处理的支出限额提额请求。
拒绝支出限额提额请求
client.Beta.Organization.SpendLimits.IncreaseRequests.Deny(ctx, spendLimitIncreaseRequestID, body) (*BetaSpendLimitIncreaseRequest, error)POST/v1/organizations/spend_limit_increase_requests/{spend_limit_increase_request_id}/deny
拒绝待处理的支出限额提额请求。