Create a new set of credits.Copy Pagepost https://app.officernd.com/api/v2/organizations/{orgSlug}/creditsCreate a new set of credits. Required scopes: flex.space.credits.createPath ParamsorgSlugstringrequiredorganization slugBody ParamsCredits data to add.countnumberrequiredThe number of credits granted.validForstringenumThe type of the credits and what they're valid for.allratesresourceTypesallAllowed:ratesresourceTypesallresourceTypesarray of stringsThe resource types for which the credits are applied.resourceTypesADD stringcompanystringThe _id of the company with which the credits are associated.memberstringThe _id of the member with which the credits are associated.resourceRatesarray of stringsAn array that contains the _ids of the resource rates for which the credits will be valid. If left empty the credits will be valid for all rates.resourceRatesADD stringintervalLengthstringenumDetermines the recurrence of the credits. Can be either "month" or "once". If unspecified the set of credits issued will be set as "once".monthmonthonceAllowed:monthoncestartDatestringThe start date of the monthly recurring credits. Should be used only for credits with "intervalLength" set to "month".endDatestringThe end date of the monthly recurring credits. Should be used only for credits with "intervalLength" set to "month".Response 201Updated 3 months ago Retrieve all credits.Retrieve single set of credits.Did this page help you?YesNo