Response Codes and Statuses

This topic provides information about the response codes and statuses you would receive when executing the Subaccount APIs.

Response Codes and Statuses for Creating Subaccounts

CodeMessageHTTP Status
RBC103Request executed successfully.201
RBC2316Parent Allowed Usage is less than Initial Credit.400
RBC2317Parent Balance is less than Initial Credit.400
RBC2318Request body cannot be empty.400
RBC2319Low Balance Alert Limit and Low Balance Alert Emails are required to use Low Balance Alert.400
RBC2320Error Occured in Rbac Register Wrapper API.400
RBC2321Invalid Customer Type ID for Subaccount.400
RBC2322Subaccount must have your same email domain.400
RBC2323Parent Balance not available from Billing API.400
RBC2326Invalid customer_type_id for Parent account.400
RBC2328Incorrect country. If your Subaccount’s country is in Europe/America region, please contact support.400
RBC2329Incorrect country.400
RBC2330Subaccount country is mandatory.400
RBC2331Monthly limit cannot be zero.400
RBC2332Monthly limit should be a valid number and cannot be decimal.400
RBC2333Low balance alert limit should be a number.400
RBC2334Initial credit amount should be a number.400
RBC2335Please enter valid low balance alert emails.400
RBC2336Low balance alert emails should be an array of strings only.400
RBC2337Channels have to be an array of strings only.400
RBC2338Please enter valid channels only.400
RBC2340You can only have a maximum of 10 low balance email ids.400
RBC2341You cannot have duplicate low balance email ids.400
RBC2345Initial credit amount has to be specified when credit type is Assigned.400
RBC2346Please use valid subaccount_credit_type.400
RBC2348Parent cannot have shared usage type subaccount.400
RBC2352Low balance fields is not applicable for Shared Usage subaccounts.400
RBC2353Monthly limit is not applicable for Assigned Usage subaccounts.400
RBC2354Credit amount is not applicable for Shared Usage subaccounts.400
RBC2355Account name cannot have special characters.400
RBC2358Please enter a valid Country ISO code.400
RBC2360Monthly limit field is not present.400
RBC2362Parent cannot have a subaccount with monthly limit.400
RBC2364Subaccount with the same name already exists.400
RBC2365Parent cannot share IP configuration with subaccount.400
RBC2366IP config name cannot be empty.400
RBC2367IP config name does not exist under the parent.400
RBC2368Credit Amount / Monthly Usage Limit cannot be higher than Max. Usable Amount by Parent.400
RBC2369Parent cannot have assigned budget type subaccounts.400
RBC422Access Denied! Unauthorized action!401
RBC500Error in fetching properties.500
RBC500Internal Server Error.500

Response Codes and Statuses for Getting All Subaccounts Detail

CodeMessageHTTP Status
RBC103Request successfully executed!200
RBC302Error Occured in getting subaccounts via API!400
RBC422Access Denied! Unauthorized action!401

Response Codes and Statuses for Getting Subaccount Details

CodeMessageHTTP Status
RBC103Request successfully executed!200
RBC528Parent company ID is a mandatory field.400
RBC302Error Occured in getting subaccounts via API!400
RBC422Access Denied! Unauthorized action!401

Response Codes and Statuses for Editing and Updating Subaccount Details and Subaccount Status

CodeMessageHTTP Status
RBC011Subaccount status already updated!200
RBC103Subaccount Edited Successfully.200
RBC002Your account has been suspended or deleted.400
RBC2318Request body cannot be empty.400
RBC2319Low Balance Alert Limit and Low Balance Alert Emails are required to use Low Balance Alert.400
RBC2327API Key and SID do not belong to parent company.400
RBC2331Monthly limit cannot be zero.400
RBC2332Monthly limit should be a valid number and cannot be decimal.400
RBC2333Low balance alert limit should be a number.400
RBC2334Credit amount should be a number.400
RBC2335Please enter valid low balance alert emails.400
RBC2336Low balance alert emails should be an array of strings only.400
RBC2337Channels have to be an array of strings only.400
RBC2338Please enter valid channels only.400
RBC2339Invalid status!400
RBC2340You can only have a maximum of 10 low balance email ids.400
RBC2341You cannot have duplicate low balance email ids.400
RBC2352Low balance fields is not applicable for Shared Usage subaccounts.400
RBC2353Monthly limit is not applicable for Assigned Usage subaccounts.400
RBC2354Credit amount is not applicable for Shared Usage subaccounts.400
RBC2355Account name cannot have special characters.400
RBC2357One or more fields cannot be edited.400
RBC2359Credit amount cannot be negative.400
RBC2361Return budget is not applicable when the account is active.400
RBC2362Parent cannot have a subaccount with monthly limit.400
RBC2363Credit amount should be a number.400
RBC2364Subaccount with the same name already exists.400
RBC2368Credit Amount / Monthly Usage Limit cannot be higher than Max. Usable Amount by Parent.400
RBC2327API Key and SID do not belong to parent company.401
RBC302Error Occured in Edit Subaccount API!500

Response Codes and Statuses for Deleting Subaccounts

CodeMessageHTTP Status
RBC011Subaccount status already updated.200
RBC2347Account deleted successfully!200
RBC302Some Error Occurred.400
RBC2344Invalid SID.400
RBC422Access Denied! Unauthorized action!401
RBC500Internal Server Error.500

Response Codes and Statuses for Recharging Subaccounts

CodeMessageHTTP Status
RBC2349Account recharged successfully!200
RBC002Your account has been suspended or deleted.400
RBC302The Subaccount has insufficient balance.400
RBC401ID field is mandatory.400
RBC2342Amount has to be a numeric value.400
RBC2343Amount is required.400
RBC2356Shared usage type subaccount cannot be recharged.400
RBC422Access Denied! Unauthorized action!401