---
name: "Accounts"
last_updated: 2026-12-04T23:21:52Z
type: feature
api_base_url: "https://apis--roblox--com.github.com"
endpoints: 20
legacy_endpoints: 179
auth: [api-key, oauth2, cookie]
description: "Access and manage Roblox account information, including Service Efficiency billing accounts"
---

# Accounts

Access and manage Roblox account information, including Service Efficiency billing accounts. [Retrieve](#ServiceEfficiencyApi_GetAccountForUser) and [update](#ServiceEfficiencyApi_UpdateAccountForUser) user accounts, or [retrieve](#ServiceEfficiencyApi_GetAccountForGroup) and [update](#ServiceEfficiencyApi_UpdateAccountForGroup) group accounts.

**Base URL:** `https://apis--roblox--com.github.com`

## Authentication

Each endpoint requires one of the following authentication methods:

- **API Key**: Pass your key in the `x-api-key` HTTP header. Create keys at [Creator Dashboard](https://create--roblox--com.github.com/dashboard/credentials).
- **OAuth 2.0**: Use Bearer token in the `Authorization` header. Authorization URL: `https://apis--roblox--com.github.com/oauth/v1/authorize`, Token URL: `https://apis--roblox--com.github.com/oauth/v1/token`
- **Cookie** *(not recommended)*: `.ROBLOSECURITY` cookie. Do not use in production.

```
# API Key example
curl -H "x-api-key: YOUR_API_KEY" https://apis--roblox--com.github.com/...

# OAuth 2.0 example
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://apis--roblox--com.github.com/...
```

## Endpoint index

Every endpoint in this feature. Endpoints marked *(legacy page)* are deprecated, have a recommended replacement, are served from a legacy domain instead of the base URL, or accept only cookie authentication. They are documented on [Accounts (legacy)](/docs/cloud/reference/features/accounts-legacy.md).

- GET /service-efficiency-api/v1/accounts/groups/{groupId} — Operation to Get an Account for a Group.
- PUT /service-efficiency-api/v1/accounts/groups/{groupId} — Operation to Update an Account for a Group.
- GET /service-efficiency-api/v1/accounts/users/{userId} — Operation to Get an Account for a User.
- PUT /service-efficiency-api/v1/accounts/users/{userId} — Operation to Update an Account for a User.
- GET /service-efficiency-api/v1/billing_activities/groups/{groupId} — Operation to Get Billing Activities
- GET /service-efficiency-api/v1/billing_activities/users/{userId} — Operation to Get Billing Activities
- GET /service-efficiency-api/v1/bills/groups/{groupId} — Operation to Get Billing Statement for group owned account.
- GET /service-efficiency-api/v1/bills/users/{userId} — Operation to Get Billing Statement for user owned account.
- GET /service-efficiency-api/v1/eligibility/groups/{groupId} — Operation to Check the Eligibility of a Group.
- GET /service-efficiency-api/v1/eligibility/users/{userId} — Operation to Check the Eligibility of a User.
- GET /service-efficiency-api/v1/is_allowed — Endpoint to return whether the current user can access the features in this API, optionally with a universe ID.
- GET /service-efficiency-api/v1/payment_profiles/groups/{groupId}/service_efficiency — Operation to Get the Service Efficiency Payment Method for a Group.
- PUT /service-efficiency-api/v1/payment_profiles/groups/{groupId}/service_efficiency — Operation to Set the Service Efficiency Payment Method for a Group.
- GET /service-efficiency-api/v1/payment_profiles/users/{userId} — Operation to List Payment Profiles of a User.
- POST /service-efficiency-api/v1/payment_profiles/users/{userId} — Operation to Create Payment Profile for a User.
- DELETE /service-efficiency-api/v1/payment_profiles/users/{userId} — Operation to Delete a Payment Profile for a User.
- GET /service-efficiency-api/v1/payment_profiles/users/{userId}/service_efficiency — Operation to Get the Service Efficiency Payment Method for a User.
- PUT /service-efficiency-api/v1/payment_profiles/users/{userId}/service_efficiency — Operation to Set the Service Efficiency Payment Method for a User.
- POST /service-efficiency-api/v1/payments/groups/{groupId} — Operation to Submit a Manual Payment for a Group.
- POST /service-efficiency-api/v1/payments/users/{userId} — Operation to Submit a Manual Payment for a User.
- GET auth--roblox--com.github.com/v1/account-creation/metadata — Get metadata for adding auth methods. *(legacy page)*
- GET auth--roblox--com.github.com/v1/account/pin — Gets the account pin status. *(legacy page)*
- POST auth--roblox--com.github.com/v1/account/pin — Request to create the account pin. *(legacy page)*
- PATCH auth--roblox--com.github.com/v1/account/pin — Request made to update the account pin on the account. *(legacy page)*
- DELETE auth--roblox--com.github.com/v1/account/pin — Request for deletes the account pin from the account. *(legacy page)*
- POST auth--roblox--com.github.com/v1/account/pin/lock — Request to locks the account which has an account pin enabled. *(legacy page)*
- POST auth--roblox--com.github.com/v1/account/pin/unlock — Requests to unlock the account pin. *(legacy page)*
- GET accountsettings--roblox--com.github.com/v1/account/settings/account-country — Get a user's current account country setting. *(legacy page)*
- POST accountsettings--roblox--com.github.com/v1/account/settings/account-country — Updates the user's account country. *(legacy page)*
- GET accountsettings--roblox--com.github.com/v1/account/settings/metadata — Returns metadata used by the account settings page *(legacy page)*
- POST auth--roblox--com.github.com/v1/account/upgrade — Attaches a sign-in credential to the calling account. *(legacy page)*
- GET privatemessages--roblox--com.github.com/v1/announcements — Migrate from RobloxWebsite project, return news notification for Private Message page *(legacy page)*
- GET privatemessages--roblox--com.github.com/v1/announcements/metadata *(legacy page)*
- GET auth--roblox--com.github.com/v1/auth/metadata — Gets Auth meta data *(legacy page, use `GET https://auth--roblox--com.github.com/v2/auth/metadata`)*
- GET accountinformation--roblox--com.github.com/v1/birthdate — Get the user's birthdate *(deprecated, legacy page, use `GET https://users--roblox--com.github.com/v1/birthdate`)*
- POST users--roblox--com.github.com/v1/birthdate — Update the user's birthdate *(legacy page)*
- GET users--roblox--com.github.com/v1/birthdate — Get the user's birthdate *(legacy page)*
- GET auth--roblox--com.github.com/v1/client-assertion — Creates a client assertion to be used when generating an auth ticket. *(legacy page)*
- GET accountinformation--roblox--com.github.com/v1/description — Get the user's description *(deprecated, legacy page, use `GET https://users--roblox--com.github.com/v1/description`)*
- POST accountinformation--roblox--com.github.com/v1/description — Update the user's description *(deprecated, legacy page, use `POST https://users--roblox--com.github.com/v1/description`)*
- GET users--roblox--com.github.com/v1/description — Get the user's description *(legacy page)*
- POST users--roblox--com.github.com/v1/description — Update the user's description *(legacy page)*
- GET accountsettings--roblox--com.github.com/v1/email — Gets the authenticated user's email address and verified status *(legacy page)*
- POST accountsettings--roblox--com.github.com/v1/email — Updates the authenticated user's email address *(legacy page)*
- PATCH accountsettings--roblox--com.github.com/v1/email — Updates the authenticated user's email address *(legacy page)*
- POST accountinformation--roblox--com.github.com/v1/email/verify — Verify the user's email address from token *(legacy page)*
- POST accountsettings--roblox--com.github.com/v1/email/verify — Send verify email to the authenticated user's email address *(legacy page)*
- GET accountsettings--roblox--com.github.com/v1/emails — Gets the authenticated user's verified email and pending (unverified) email if one exists *(legacy page)*
- POST auth--roblox--com.github.com/v1/external/{identityProviderId}/sso/native/nonce — Reserves a nonce for a native SSO sign-in attempt. *(legacy page)*
- GET auth--roblox--com.github.com/v1/external/{identityProviderId}/sso/oauth/callback — OAuth callback for identity providers that return the authorization code on a GET redirect (Okta, Google). *(legacy page)*
- POST auth--roblox--com.github.com/v1/external/{identityProviderId}/sso/oauth/callback — OAuth callback for identity providers that POST the authorization code as form fields (Apple form_post). Apple's first-auth `user` JSON is parsed and carried to identity storage; the form `id_token` is ignored. Web login exchanges code via PKCE and does not treat a form id_token as proof. *(legacy page)*
- GET auth--roblox--com.github.com/v1/external/{identityProviderId}/sso/oauth/init — Signs a user up for Roblox and links the account to the authenticated external provider ID via OAuth. *(legacy page)*
- POST auth--roblox--com.github.com/v1/external/{identityProviderId}/sso/saml/assertion-consumer-service — SAML Assertion Consumer Service endpoint that external identity provider calls post user authentication. *(legacy page)*
- POST auth--roblox--com.github.com/v1/external/access — Signs a user up for Roblox and links the account to the authenticated external provider ID. *(legacy page)*
- GET auth--roblox--com.github.com/v1/external/link-candidate — The user ids a provider sign-in matched, and the Google or Apple email on the token. Flow 1 holds the token id in a cookie. Flows 2 and 3 send it as `linkCandidateTokenId`. Reading does not consume the token, so the picker can be opened again. *(legacy page)*
- POST auth--roblox--com.github.com/v1/external/link-candidate/confirm — Links the sign-in to the account the user picked, then signs them in to it. With `createNew` it instead creates a new account, as sign-up does, and signs them in to that. The session comes back the way the sign-in's intent asks: a cookie for the web redirect, `RBX-Authentication-Ticket` for the app intents. *(legacy page)*
- POST auth--roblox--com.github.com/v1/external/login — Logs in a user to Roblox based on the user's authenticated external provider session *(legacy page)*
- POST auth--roblox--com.github.com/v1/external/loginAndLink — Deprecated endpoint Logins in a user to Roblox, then links the Roblox account to the external provider ID *(legacy page)*
- POST auth--roblox--com.github.com/v1/external/signup — Signs a user up for Roblox and links the account to the authenticated external provider ID *(legacy page)*
- POST auth--roblox--com.github.com/v1/external/unlink — Unlink the logged in Roblox account from the current external provider ID *(legacy page)*
- GET games--roblox--com.github.com/v1/games/multiget-playability-status — Gets a list of universe playability statuses for the authenticated user *(legacy page)*
- GET accountinformation--roblox--com.github.com/v1/gender — Get the user's gender *(deprecated, legacy page, use `GET https://users--roblox--com.github.com/v1/gender`)*
- POST accountinformation--roblox--com.github.com/v1/gender — Update the user's gender *(deprecated, legacy page, use `POST https://users--roblox--com.github.com/v1/gender`)*
- GET users--roblox--com.github.com/v1/gender — Get the user's gender *(legacy page)*
- POST users--roblox--com.github.com/v1/gender — Update the user's gender *(legacy page)*
- POST auth--roblox--com.github.com/v1/identity-verification/login — Endpoint for login with identity verification *(legacy page)*
- POST auth--roblox--com.github.com/v1/identity/initialize-login — Initiates identifier-first login flow by returning a list of login methods for user(s). *(legacy page)*
- POST auth--roblox--com.github.com/v1/login — Authenticates a user. *(legacy page, use `POST https://auth--roblox--com.github.com/v2/login`)*
- POST auth--roblox--com.github.com/v1/login/linked — Endpoint for logging in a user, specifically for linked authentication on PCGDK *(legacy page, use `POST https://auth--roblox--com.github.com/v2/login/linked`)*
- POST auth--roblox--com.github.com/v1/logout — Destroys the current authentication session. *(legacy page, use `POST https://auth--roblox--com.github.com/v3/logout`)*
- POST auth--roblox--com.github.com/v1/logoutfromallsessionsandreauthenticate — Logs out user from all other sessions. *(legacy page, use `POST https://auth--roblox--com.github.com/v2/logoutfromallsessionsandreauthenticate`)*
- GET privatemessages--roblox--com.github.com/v1/messages — Gets a user's messages. *(legacy page)*
- GET privatemessages--roblox--com.github.com/v1/messages/{messageId} — Gets a message's details. *(legacy page)*
- POST privatemessages--roblox--com.github.com/v1/messages/archive — Archives a batch of messages. *(legacy page)*
- POST privatemessages--roblox--com.github.com/v1/messages/mark-read — Marks a batch of messages as read. *(legacy page)*
- POST privatemessages--roblox--com.github.com/v1/messages/mark-unread — Marks a batch of messages as unread. *(legacy page)*
- POST privatemessages--roblox--com.github.com/v1/messages/unarchive — Unarchives a batch of messages. *(legacy page)*
- GET privatemessages--roblox--com.github.com/v1/messages/unread/count — Gets unread messages for the authenticated user. *(legacy page)*
- GET accountinformation--roblox--com.github.com/v1/metadata — Get the metadata *(legacy page)*
- GET auth--roblox--com.github.com/v1/metadata — Get the metadata *(legacy page, use `GET https://auth--roblox--com.github.com/v2/metadata`)*
- GET twostepverification--roblox--com.github.com/v1/metadata — Gets two step verification system metadata. *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/DeleteCredentialBatch — Disables a batch of credentials for the specified user. *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/finish-ar-preauth-registration — Finishes account recovery pre-auth passkey registration by validating the recovery session, deactivating the user's password, and completing passkey registration. *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/finish-preauth-registration *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/FinishRegistration — Complete Passkey registration by providing credential creation options. *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/ListCredentials — List a user's registered passkeys. *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/RenameCredential — Rename a credential for the specified user. *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/start-authentication-by-user — Initializes passkey authentication for the user(s) corresponding to the identifier provided. *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/start-preauth-registration — Initiates Passkey preauthenticated registration by providing credential creation options. *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/StartAuthentication — Provides a challenge for the Passkey to authenticate. *(legacy page)*
- POST auth--roblox--com.github.com/v1/passkey/StartRegistration — Initiates Passkey registration by providing credential creation options. *(legacy page)*
- GET auth--roblox--com.github.com/v1/passkey/su-eligibility — Checks whether the authenticated user is eligible for silent passkey upgrade. Route and response are intentionally obfuscated ("su-eligibility" = "silent-upgrade-eligibility"). *(legacy page)*
- GET auth--roblox--com.github.com/v1/passwords/validate — Endpoint for checking if a password is valid. *(legacy page, use `GET https://auth--roblox--com.github.com/v2/passwords/validate`)*
- POST auth--roblox--com.github.com/v1/passwords/validate — Endpoint for checking if a password is valid. *(legacy page, use `POST https://auth--roblox--com.github.com/v2/passwords/validate`)*
- GET accountinformation--roblox--com.github.com/v1/phone — Get Verified Phone Number *(legacy page)*
- POST accountinformation--roblox--com.github.com/v1/phone — Set Phone Number *(legacy page)*
- POST accountinformation--roblox--com.github.com/v1/phone/delete — Delete Phone *(legacy page)*
- POST accountinformation--roblox--com.github.com/v1/phone/resend — Resend Phone code *(legacy page)*
- POST accountinformation--roblox--com.github.com/v1/phone/verify — Verify Phone *(legacy page)*
- GET accountinformation--roblox--com.github.com/v1/promotion-channels — Get the user's promotion channels *(legacy page)*
- POST accountinformation--roblox--com.github.com/v1/promotion-channels — Update the user's promotion channels *(legacy page)*
- GET auth--roblox--com.github.com/v1/recovery/metadata — Get metadata for forgot endpoints *(legacy page, use `GET https://auth--roblox--com.github.com/v2/recovery/metadata`)*
- GET auth--roblox--com.github.com/v1/revert/account — Get Revert Account ticket info *(legacy page, use `GET https://auth--roblox--com.github.com/v2/revert/account`)*
- POST auth--roblox--com.github.com/v1/revert/account — Submit Revert Account Request *(legacy page, use `POST https://auth--roblox--com.github.com/v2/revert/account`)*
- POST auth--roblox--com.github.com/v1/revert/invalidate-tickets — Invalidates all account security tickets for the authenticated user. This endpoint should be called before enrolling in EPP to ensure old revert links cannot be used. *(legacy page, use `POST https://auth--roblox--com.github.com/v2/revert/invalidate-tickets`)*
- POST auth--roblox--com.github.com/v1/session/refresh — Logs out user from the current session and create a new one. *(legacy page, use `POST https://auth--roblox--com.github.com/v2/session/refresh`)*
- POST auth--roblox--com.github.com/v1/signup — Endpoint for signing up a new user *(legacy page, use `POST https://auth--roblox--com.github.com/v2/signup`)*
- POST auth--roblox--com.github.com/v1/signup/linked — Endpoint for signing up a new user through linked authentication. *(legacy page, use `POST https://auth--roblox--com.github.com/v2/signup/linked`)*
- POST auth--roblox--com.github.com/v1/social/{provider}/disconnect — Removes the given social authentication method from current Roblox user if it is connected. *(legacy page)*
- GET auth--roblox--com.github.com/v1/social/connected-providers — Get social network user information if the given social auth method is connected to current user. *(legacy page)*
- GET accountsettings--roblox--com.github.com/v1/themes/{consumerType}/{consumerId} — returns the theme type for a specific consumer. *(legacy page)*
- PATCH accountsettings--roblox--com.github.com/v1/themes/{consumerType}/{consumerId} — Modify the theme type for consumer. *(legacy page)*
- GET accountsettings--roblox--com.github.com/v1/themes/types — returns all the enabled theme types. *(legacy page)*
- GET accountsettings--roblox--com.github.com/v1/trade-privacy — Get a user's trade privacy setting *(legacy page)*
- POST accountsettings--roblox--com.github.com/v1/trade-privacy — Updates a user's trade privacy setting *(legacy page)*
- GET accountsettings--roblox--com.github.com/v1/trade-value — Get a user's trade quality filter setting *(legacy page)*
- POST accountsettings--roblox--com.github.com/v1/trade-value — Updates a user's trade quality filter setting *(legacy page)*
- POST auth--roblox--com.github.com/v1/user/passwords/change — Changes the password for the authenticated user. *(legacy page)*
- POST auth--roblox--com.github.com/v1/username — Change the user's username *(legacy page)*
- GET auth--roblox--com.github.com/v1/username/change/price — Get the current price for a username change *(legacy page)*
- GET auth--roblox--com.github.com/v1/usernames — Gets a list of existing usernames on Roblox based on the query parameters *(legacy page)*
- POST auth--roblox--com.github.com/v1/usernames/recover — Sends an email of all accounts belonging to an email *(legacy page)*
- GET auth--roblox--com.github.com/v1/usernames/validate — Checks if a username is valid. *(legacy page)*
- POST auth--roblox--com.github.com/v1/usernames/validate — Checks if a username is valid. *(legacy page)*
- GET inventory--roblox--com.github.com/v1/users/{userId}/can-view-inventory — Gets whether the specified user's inventory can be viewed. *(legacy page, use `GET https://apis--roblox--com.github.com/cloud/v2/users/{user_id}/inventory-items`)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/authenticator/verify — Verifies a two step verification challenge code via authenticator app. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/cross-device/retract — Reverts a user's dialog state from ACTIVE to PENDING. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/cross-device/retry — Retry a Cross Device two step verification approval. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/cross-device/verify — Verifies a two step verification approval via Cross Device. Cross Device approval does not use a verification code. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/email/send-code — Sends a two step verification challenge code via email. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/email/verify — Verifies a two step verification challenge with a code sent via email. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/passkey/verify-finish — Validates the assertion data returned by the passkey. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/passkey/verify-start — Provides a challenge for the passkey to authenticate. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/password/verify — Verifies a two step verification challenge with a password (code). *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/recovery-codes/verify — Verifies a two step verification challenge via a recovery code. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/security-key/verify-finish — Validates the assertion data returned by the security key. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/security-key/verify-start — Provides a challenge for the security key to authenticate. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/sms/send-code — Sends a two step verification code via SMS for the specified user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/challenges/sms/verify — Verifies a two step verification challenge with a code sent via SMS. *(legacy page)*
- GET twostepverification--roblox--com.github.com/v1/users/{userId}/configuration — Gets two step verification configuration for the specified user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/authenticator/disable — Disables two step verification via authenticator for the specified user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/authenticator/enable — Initiates enabling authenticator-based two step verification for the specified user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/authenticator/enable-verify — Finishes enabling authenticator-based two step verification for the specified user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/email/disable — Disables two step verification via email for the specified user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/email/enable — Enables two step verification via email for the specified user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/security-key/disable — Disables a batch of credentials for the specified user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/security-key/enable — Initiates security key registration by providing credential creation options. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/security-key/enable-verify — Finishes security key registration and stores credential. Enables security key as a 2sv media type if it is a user's first key. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/security-key/list — List a user's registered security keys. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/sms/disable — Disables two step verification via SMS for the specified user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/configuration/sms/enable — Enables two step verification via SMS for the specified user. *(legacy page)*
- GET accountinformation--roblox--com.github.com/v1/users/{userId}/promotion-channels — Get promotion channels for a given user ID *(legacy page)*
- GET twostepverification--roblox--com.github.com/v1/users/{userId}/recovery-codes — Gets the current status of recovery codes for a user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/recovery-codes/clear — Clears any existing recovery codes for the user. *(legacy page)*
- POST twostepverification--roblox--com.github.com/v1/users/{userId}/recovery-codes/regenerate — Clears any existing recovery codes and generates a new batch of recovery codes. *(legacy page)*
- GET users--roblox--com.github.com/v1/users/authenticated — Gets the minimal authenticated user. *(legacy page)*
- GET users--roblox--com.github.com/v1/users/authenticated/age-bracket — Gets the age bracket of the authenticated user. *(legacy page)*
- GET users--roblox--com.github.com/v1/users/authenticated/country-code — Gets the country code of the authenticated user. *(legacy page)*
- GET users--roblox--com.github.com/v1/users/authenticated/roles — Gets the (public) roles of the authenticated user, such as `"Soothsayer"` and `"BetaTester"`. *(legacy page)*
- GET auth--roblox--com.github.com/v1/validators/email — Tries to check if an email is valid *(legacy page)*
- GET auth--roblox--com.github.com/v1/validators/recommendedUsernameFromDisplayName — Validates the given display name, and if valid, will convert it to a valid username and return suggested username(s) if available. *(legacy page)*
- POST auth--roblox--com.github.com/v1/validators/recommendedUsernameFromDisplayName — Validates the given display name, and if valid, will convert it to a valid username and return suggested username(s) if available. *(legacy page)*
- GET auth--roblox--com.github.com/v1/validators/username — Tries to get a valid username if the current username is taken *(legacy page)*
- POST auth--roblox--com.github.com/v1/validators/username — Tries to get a valid username if the current username is taken This is a POST request and explicitly does not receive the parameter values from the query *(legacy page)*
- GET auth--roblox--com.github.com/v1/xbox/connection — Check if the current user has an Xbox connected. Also returns the gamertag of the Xbox account if connected. *(legacy page)*
- POST auth--roblox--com.github.com/v1/xbox/disconnect — Unlink the current ROBLOX account from the Xbox live account. *(legacy page)*
- GET auth--roblox--com.github.com/v1/xbox/get-login-consecutive-days — Get the consecutive days the xbox user has been logged in. *(legacy page)*
- POST auth--roblox--com.github.com/v1/xbox/translate — Translate the xbox user to roblox user. *(legacy page)*
- GET auth--roblox--com.github.com/v2/auth/metadata — Gets Auth meta data *(legacy page)*
- POST auth--roblox--com.github.com/v2/identity-verification/login — Endpoint for login with identity verification *(legacy page)*
- POST auth--roblox--com.github.com/v2/login — Authenticates a user. *(legacy page)*
- POST auth--roblox--com.github.com/v2/login/linked — Endpoint for logging in a user, specifically for linked authentication on PCGDK *(legacy page)*
- POST auth--roblox--com.github.com/v2/logout — Destroys the current authentication session. *(legacy page, use `POST https://auth--roblox--com.github.com/v3/logout`)*
- POST auth--roblox--com.github.com/v2/logoutfromallsessionsandreauthenticate — Logs out user from all other sessions. *(legacy page)*
- GET auth--roblox--com.github.com/v2/metadata — Get the metadata *(legacy page)*
- GET auth--roblox--com.github.com/v2/passwords/current-status — Returns password status for current user, asynchronously. *(legacy page)*
- GET auth--roblox--com.github.com/v2/passwords/reset — Gets metadata needed for the password reset view. *(legacy page)*
- POST auth--roblox--com.github.com/v2/passwords/reset — Resets a password for a user that belongs to the password reset ticket. *(legacy page)*
- POST auth--roblox--com.github.com/v2/passwords/reset/send — Sends a password reset email or challenge to the specified target. *(legacy page)*
- POST auth--roblox--com.github.com/v2/passwords/reset/verify — Verifies a password reset challenge solution. *(legacy page)*
- GET auth--roblox--com.github.com/v2/passwords/validate — Endpoint for checking if a password is valid. *(legacy page)*
- POST auth--roblox--com.github.com/v2/passwords/validate — Endpoint for checking if a password is valid. *(legacy page)*
- GET notifications--roblox--com.github.com/v2/push-notifications/get-destinations — Gets valid destinations associated with the signed user *(legacy page)*
- GET auth--roblox--com.github.com/v2/recovery/metadata — Get metadata for forgot endpoints *(legacy page)*
- GET auth--roblox--com.github.com/v2/revert/account — Get Revert Account ticket info *(legacy page)*
- POST auth--roblox--com.github.com/v2/revert/account — Submit Revert Account Request *(legacy page)*
- POST auth--roblox--com.github.com/v2/revert/invalidate-tickets — Invalidates all account security tickets for the authenticated user. This endpoint should be called before enrolling in EPP to ensure old revert links cannot be used. *(legacy page)*
- POST auth--roblox--com.github.com/v2/session/refresh — Logs out user from the current session and create a new one. *(legacy page)*
- POST auth--roblox--com.github.com/v2/signup — Endpoint for signing up a new user *(legacy page)*
- POST auth--roblox--com.github.com/v2/signup/linked — Endpoint for signing up a new user through linked authentication. *(legacy page)*
- POST auth--roblox--com.github.com/v2/user/passwords/change — Changes the password for the authenticated user. *(legacy page)*
- POST auth--roblox--com.github.com/v2/username — Change the user's username *(legacy page)*
- GET auth--roblox--com.github.com/v2/username/change/price — Get the current price for a username change *(legacy page)*
- GET auth--roblox--com.github.com/v2/usernames — Gets a list of existing usernames on Roblox based on the query parameters *(legacy page)*
- POST auth--roblox--com.github.com/v2/usernames/recover — Sends an email of all accounts belonging to an email *(legacy page)*
- GET auth--roblox--com.github.com/v2/usernames/validate — Checks if a username is valid. *(legacy page)*
- POST auth--roblox--com.github.com/v2/usernames/validate — Checks if a username is valid. *(legacy page)*
- POST auth--roblox--com.github.com/v3/logout — Destroys the current authentication session while reporting metrics like url and reason for logout. *(legacy page)*
- POST auth--roblox--com.github.com/v3/users/{userId}/two-step-verification/login — Authenticates as a user given a two step verification verification token. *(legacy page)*

## Endpoints

### GET /service-efficiency-api/v1/accounts/groups/{groupId}

Operation to Get an Account for a Group.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `groupId` | path | `integer` | Yes | Group id. |

**Responses:**

- `200`: OK → `GetAccountResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`GetAccountResponse`)

See [GetAccountResponse](#getaccountresponse) in Models.

**Response example:**
```json
{
  "account": {
    "accountTaxType": "Invalid",
    "accountName": "string",
    "taxId": "string",
    "taxIdType": "Invalid"
  }
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/accounts/groups/{GROUPID}"
```

### PUT /service-efficiency-api/v1/accounts/groups/{groupId}

Operation to Update an Account for a Group.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `groupId` | path | `integer` | Yes | Group id. |

**Request Body:** `application/json-patch+json` — Type: `UpdateAccountRequest`

See [UpdateAccountRequest](#updateaccountrequest) in Models.

**Request example:**
```json
{
  "account": {
    "accountTaxType": "Invalid",
    "accountName": "string",
    "taxId": "string",
    "taxIdType": "Invalid"
  }
}
```

**Responses:**

- `200`: OK → `UpdateAccountResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`UpdateAccountResponse`)

See [UpdateAccountResponse](#updateaccountresponse) in Models.

**Response example:**
```json
{
  "account": {
    "accountTaxType": "Invalid",
    "accountName": "string",
    "taxId": "string",
    "taxIdType": "Invalid"
  }
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -X PUT -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/accounts/groups/{GROUPID}" \
  -H "Content-Type: application/json" \
  -d '{
  "account": {
    "accountTaxType": "Invalid",
    "accountName": "string",
    "taxId": "string",
    "taxIdType": "Invalid"
  }
}'
```

### GET /service-efficiency-api/v1/accounts/users/{userId}

Operation to Get an Account for a User.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |

**Responses:**

- `200`: OK → `GetAccountResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`GetAccountResponse`)

See [GetAccountResponse](#getaccountresponse) in Models.

**Response example:**
```json
{
  "account": {
    "accountTaxType": "Invalid",
    "accountName": "string",
    "taxId": "string",
    "taxIdType": "Invalid"
  }
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/accounts/users/{USERID}"
```

### PUT /service-efficiency-api/v1/accounts/users/{userId}

Operation to Update an Account for a User.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |

**Request Body:** `application/json-patch+json` — Type: `UpdateAccountRequest`

See [UpdateAccountRequest](#updateaccountrequest) in Models.

**Request example:**
```json
{
  "account": {
    "accountTaxType": "Invalid",
    "accountName": "string",
    "taxId": "string",
    "taxIdType": "Invalid"
  }
}
```

**Responses:**

- `200`: OK → `UpdateAccountResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`UpdateAccountResponse`)

See [UpdateAccountResponse](#updateaccountresponse) in Models.

**Response example:**
```json
{
  "account": {
    "accountTaxType": "Invalid",
    "accountName": "string",
    "taxId": "string",
    "taxIdType": "Invalid"
  }
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -X PUT -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/accounts/users/{USERID}" \
  -H "Content-Type: application/json" \
  -d '{
  "account": {
    "accountTaxType": "Invalid",
    "accountName": "string",
    "taxId": "string",
    "taxIdType": "Invalid"
  }
}'
```

### GET /service-efficiency-api/v1/billing_activities/groups/{groupId}

Operation to Get Billing Activities

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `groupId` | path | `integer` | Yes |  |
| `startYear` | query | `integer` | Yes |  |
| `startMonth` | query | `integer` | Yes |  |
| `endYear` | query | `integer` | Yes |  |
| `endMonth` | query | `integer` | Yes |  |

**Responses:**

- `200`: OK → `BillingActivitiesResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`BillingActivitiesResponse`)

See [BillingActivitiesResponse](#billingactivitiesresponse) in Models.

**Response example:**
```json
{
  "accountState": "Invalid",
  "billSummaries": [
    {
      "timestamp": "...",
      "billId": "...",
      "billStatus": "...",
      "totalAmount": "..."
    }
  ],
  "currentBalance": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "monthToDateBalance": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "chargingThreshold": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  }
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/billing_activities/groups/{GROUPID}?startYear={VALUE}&startMonth={VALUE}&endYear={VALUE}&endMonth={VALUE}"
```

### GET /service-efficiency-api/v1/billing_activities/users/{userId}

Operation to Get Billing Activities

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes |  |
| `startYear` | query | `integer` | Yes |  |
| `startMonth` | query | `integer` | Yes |  |
| `endYear` | query | `integer` | Yes |  |
| `endMonth` | query | `integer` | Yes |  |

**Responses:**

- `200`: OK → `BillingActivitiesResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`BillingActivitiesResponse`)

See [BillingActivitiesResponse](#billingactivitiesresponse) in Models.

**Response example:**
```json
{
  "accountState": "Invalid",
  "billSummaries": [
    {
      "timestamp": "...",
      "billId": "...",
      "billStatus": "...",
      "totalAmount": "..."
    }
  ],
  "currentBalance": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "monthToDateBalance": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "chargingThreshold": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  }
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/billing_activities/users/{USERID}?startYear={VALUE}&startMonth={VALUE}&endYear={VALUE}&endMonth={VALUE}"
```

### GET /service-efficiency-api/v1/bills/groups/{groupId}

Operation to Get Billing Statement for group owned account.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `groupId` | path | `integer` | Yes | Group id. |
| `billId` | query | `string` | No | Bill id. Takes precedence over date fields. |
| `year` | query | `integer` | No | Bill year. Ignored if bill id is provided. |
| `month` | query | `integer` | No | Bill month. Ignored if bill id is provided. |
| `date` | query | `integer` | No | Bill date. Ignored if bill id is provided. |
| `latest` | query | `boolean` | No | If true, we will return the most recent bill. |

**Responses:**

- `200`: OK → `BillDetailsResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`BillDetailsResponse`)

See [BillDetailsResponse](#billdetailsresponse) in Models.

**Response example:**
```json
{
  "accountState": "Invalid",
  "billId": "string",
  "billStatus": "Invalid",
  "usageAmount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "taxAmount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "totalAmount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "usages": [
    {
      "consumerId": "...",
      "consumerName": "...",
      "subtotalAmount": "...",
      "serviceUsages": "..."
    }
  ],
  "billingAddress": {
    "country": "string",
    "postalCode": "string",
    "state": "string",
    "city": "string",
    "addressLine1": "string",
    "addressLine2": "string",
    "name": "string"
  },
  "robloxAddress": {
    "country": "string",
    "postalCode": "string",
    "state": "string",
    "city": "string",
    "addressLine1": "string",
    "addressLine2": "string",
    "name": "string"
  },
  "taxId": "string",
  "taxIdType": "Invalid",
  "payments": [
    {
      "timestamp": "...",
      "amount": "...",
      "status": "..."
    }
  ],
  "conversionRate": 0
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/bills/groups/{GROUPID}"
```

### GET /service-efficiency-api/v1/bills/users/{userId}

Operation to Get Billing Statement for user owned account.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |
| `billId` | query | `string` | No | Bill id. Takes precedence over date fields. |
| `year` | query | `integer` | No | Bill year. Ignored if bill id is provided. |
| `month` | query | `integer` | No | Bill month. Ignored if bill id is provided. |
| `date` | query | `integer` | No | Bill date. Ignored if bill id is provided. |
| `latest` | query | `boolean` | No | If true, we will return the most recent bill. |

**Responses:**

- `200`: OK → `BillDetailsResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`BillDetailsResponse`)

See [BillDetailsResponse](#billdetailsresponse) in Models.

**Response example:**
```json
{
  "accountState": "Invalid",
  "billId": "string",
  "billStatus": "Invalid",
  "usageAmount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "taxAmount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "totalAmount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "usages": [
    {
      "consumerId": "...",
      "consumerName": "...",
      "subtotalAmount": "...",
      "serviceUsages": "..."
    }
  ],
  "billingAddress": {
    "country": "string",
    "postalCode": "string",
    "state": "string",
    "city": "string",
    "addressLine1": "string",
    "addressLine2": "string",
    "name": "string"
  },
  "robloxAddress": {
    "country": "string",
    "postalCode": "string",
    "state": "string",
    "city": "string",
    "addressLine1": "string",
    "addressLine2": "string",
    "name": "string"
  },
  "taxId": "string",
  "taxIdType": "Invalid",
  "payments": [
    {
      "timestamp": "...",
      "amount": "...",
      "status": "..."
    }
  ],
  "conversionRate": 0
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/bills/users/{USERID}"
```

### GET /service-efficiency-api/v1/eligibility/groups/{groupId}

Operation to Check the Eligibility of a Group.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `groupId` | path | `integer` | Yes | Group id. |

**Responses:**

- `200`: OK → `CheckEligibilityResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`CheckEligibilityResponse`)

See [CheckEligibilityResponse](#checkeligibilityresponse) in Models.

**Response example:**
```json
{
  "eligibilityRequirementResults": [
    {
      "eligibilityRequirement": "...",
      "eligible": "..."
    }
  ]
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/eligibility/groups/{GROUPID}"
```

### GET /service-efficiency-api/v1/eligibility/users/{userId}

Operation to Check the Eligibility of a User.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |

**Responses:**

- `200`: OK → `CheckEligibilityResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`CheckEligibilityResponse`)

See [CheckEligibilityResponse](#checkeligibilityresponse) in Models.

**Response example:**
```json
{
  "eligibilityRequirementResults": [
    {
      "eligibilityRequirement": "...",
      "eligible": "..."
    }
  ]
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/second

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/eligibility/users/{USERID}"
```

### GET /service-efficiency-api/v1/is_allowed

Endpoint to return whether the current user can access the features in this API, optionally with a universe
ID.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `universeId` | query | `integer` | No | a universe the user may or may not be allowed to access |

**Responses:**

- `200`: OK → `boolean`
- `400`: Bad Request
- `401`: Unauthorized
- `500`: Internal Server Error
- `503`: Service Unavailable

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. 

**Rate Limits:** perApiKeyOwner: 5000/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/is_allowed"
```

### GET /service-efficiency-api/v1/payment_profiles/groups/{groupId}/service_efficiency

Operation to Get the Service Efficiency Payment Method for a Group.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `groupId` | path | `integer` | Yes | Group id. |

**Responses:**

- `200`: OK → `GetServiceEfficiencyPaymentMethodResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`GetServiceEfficiencyPaymentMethodResponse`)

See [GetServiceEfficiencyPaymentMethodResponse](#getserviceefficiencypaymentmethodresponse) in Models.

**Response example:**
```json
{
  "paymentProfile": {
    "paymentProfileId": "string",
    "paymentProfileOwnerType": "string",
    "cardNetwork": "string",
    "last4Digits": "string",
    "expMonth": 0,
    "expYear": 0
  }
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/payment_profiles/groups/{GROUPID}/service_efficiency"
```

### PUT /service-efficiency-api/v1/payment_profiles/groups/{groupId}/service_efficiency

Operation to Set the Service Efficiency Payment Method for a Group.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `groupId` | path | `integer` | Yes | Group id. |
| `paymentProfileId` | query | `string` | Yes | Payment profile id to set. |
| `paymentProfileOwnerType` | query | `string` | Yes | Payment profile owner type. GROUP or USER. |

**Responses:**

- `200`: OK → `SetServiceEfficiencyPaymentMethodResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `412`: Precondition Failed
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`SetServiceEfficiencyPaymentMethodResponse`)

See [SetServiceEfficiencyPaymentMethodResponse](#setserviceefficiencypaymentmethodresponse) in Models.

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -X PUT -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/payment_profiles/groups/{GROUPID}/service_efficiency?paymentProfileId={VALUE}&paymentProfileOwnerType={VALUE}"
```

### GET /service-efficiency-api/v1/payment_profiles/users/{userId}

Operation to List Payment Profiles of a User.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |

**Responses:**

- `200`: OK → `ListPaymentProfilesResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`ListPaymentProfilesResponse`)

See [ListPaymentProfilesResponse](#listpaymentprofilesresponse) in Models.

**Response example:**
```json
{
  "paymentProfiles": [
    {
      "paymentProfileId": "...",
      "paymentProfileOwnerType": "...",
      "cardNetwork": "...",
      "last4Digits": "...",
      "expMonth": "...",
      "expYear": "..."
    }
  ]
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/payment_profiles/users/{USERID}"
```

### POST /service-efficiency-api/v1/payment_profiles/users/{userId}

Operation to Create Payment Profile for a User.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |

**Responses:**

- `200`: OK → `CreatePaymentProfileResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`CreatePaymentProfileResponse`)

See [CreatePaymentProfileResponse](#createpaymentprofileresponse) in Models.

**Response example:**
```json
{
  "clientSecret": "string"
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -X POST -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/payment_profiles/users/{USERID}"
```

### DELETE /service-efficiency-api/v1/payment_profiles/users/{userId}

Operation to Delete a Payment Profile for a User.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |
| `paymentProfileId` | query | `string` | Yes | Payment profile id to delete. |

**Responses:**

- `200`: OK → `DeletePaymentProfileResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`DeletePaymentProfileResponse`)

See [DeletePaymentProfileResponse](#deletepaymentprofileresponse) in Models.

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -X DELETE -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/payment_profiles/users/{USERID}?paymentProfileId={VALUE}"
```

### GET /service-efficiency-api/v1/payment_profiles/users/{userId}/service_efficiency

Operation to Get the Service Efficiency Payment Method for a User.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |

**Responses:**

- `200`: OK → `GetServiceEfficiencyPaymentMethodResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`GetServiceEfficiencyPaymentMethodResponse`)

See [GetServiceEfficiencyPaymentMethodResponse](#getserviceefficiencypaymentmethodresponse) in Models.

**Response example:**
```json
{
  "paymentProfile": {
    "paymentProfileId": "string",
    "paymentProfileOwnerType": "string",
    "cardNetwork": "string",
    "last4Digits": "string",
    "expMonth": 0,
    "expYear": 0
  }
}
```

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/payment_profiles/users/{USERID}/service_efficiency"
```

### PUT /service-efficiency-api/v1/payment_profiles/users/{userId}/service_efficiency

Operation to Set the Service Efficiency Payment Method for a User.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |
| `paymentProfileId` | query | `string` | Yes | Payment profile id to set. |
| `paymentProfileOwnerType` | query | `string` | Yes | Payment profile owner type. GROUP or USER. |

**Responses:**

- `200`: OK → `SetServiceEfficiencyPaymentMethodResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `412`: Precondition Failed
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`SetServiceEfficiencyPaymentMethodResponse`)

See [SetServiceEfficiencyPaymentMethodResponse](#setserviceefficiencypaymentmethodresponse) in Models.

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -X PUT -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/payment_profiles/users/{USERID}/service_efficiency?paymentProfileId={VALUE}&paymentProfileOwnerType={VALUE}"
```

### POST /service-efficiency-api/v1/payments/groups/{groupId}

Operation to Submit a Manual Payment for a Group.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `groupId` | path | `integer` | Yes | Group id. |

**Request Body:** `application/json-patch+json` — Type: `SubmitManualPaymentRequest`

See [SubmitManualPaymentRequest](#submitmanualpaymentrequest) in Models.

**Request example:**
```json
{
  "amount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "billId": "string"
}
```

**Responses:**

- `200`: OK → `SubmitManualPaymentResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`SubmitManualPaymentResponse`)

See [SubmitManualPaymentResponse](#submitmanualpaymentresponse) in Models.

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -X POST -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/payments/groups/{GROUPID}" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "billId": "string"
}'
```

### POST /service-efficiency-api/v1/payments/users/{userId}

Operation to Submit a Manual Payment for a User.

**Auth:** Cookie (`.ROBLOSECURITY`) or API Key (`x-api-key` header)

**Scopes:** `extended-services:write`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `userId` | path | `integer` | Yes | User id. |

**Request Body:** `application/json-patch+json` — Type: `SubmitManualPaymentRequest`

See [SubmitManualPaymentRequest](#submitmanualpaymentrequest) in Models.

**Request example:**
```json
{
  "amount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "billId": "string"
}
```

**Responses:**

- `200`: OK → `SubmitManualPaymentResponse`
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

**Response fields** (`SubmitManualPaymentResponse`)

See [SubmitManualPaymentResponse](#submitmanualpaymentresponse) in Models.

**Error handling:** `400`: The request has an invalid argument. Check the field named in the error message against the parameter and request body tables above. `401`: Check that your API key/token is valid and not expired. `403`: Verify your API key has the required scopes listed above. `404`: Check the ID format and the path. The resource may not exist. 

**Rate Limits:** perApiKeyOwner: 100/minute

**Example:**
```bash
curl -X POST -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/service-efficiency-api/v1/payments/users/{USERID}" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": {
    "currencyCode": "string",
    "units": 0,
    "nanos": 0
  },
  "billId": "string"
}'
```

## Models

### GetAccountResponse

Response structure for GetAccount endpoints.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `account` | `Account` | Yes | Gets or sets the account settings. |

### UpdateAccountRequest

Request structure for UpdateAccount endpoints.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `account` | `Account` | Yes | Gets or sets the account settings to update. |

### UpdateAccountResponse

Response structure for UpdateAccount endpoints.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `account` | `Account` | Yes | Gets or sets the account settings. |

### BillingActivitiesResponse

Response object for Billing Activities request.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `accountState` | `ResponseAccountState` | No | Gets or sets the account state. |
| `billSummaries` | `BillSummary[]` | No | Gets or sets the list of account bill summaries. |
| `currentBalance` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the current account balance. |
| `monthToDateBalance` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the month to date balance |
| `chargingThreshold` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the charging threshold. |

### BillDetailsResponse

Response object for a billing statement.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `accountState` | `ResponseAccountState` | No | Gets or sets the account state. |
| `billId` | `string` | No | Gets or sets the ID of the bill. |
| `billStatus` | `BillStatus` | Yes | Gets or sets the status of the bill. |
| `usageAmount` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the pre-tax bill amount. |
| `taxAmount` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the tax amount of the bill. |
| `totalAmount` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the total, tax-inclusive amount of the bill. This is Roblox.CloudPricing.ServiceEfficiencyApi.Models.BillDetailsResponse.UsageAmount + Roblox.CloudPricing.ServiceEfficiencyApi.Models.BillDetailsResponse.TaxAmount. |
| `usages` | `ConsumerUsage[]` | Yes | Gets or sets the list of consumer usages. |
| `billingAddress` | `Address` | Yes | Gets or sets the billing address of this bill. |
| `robloxAddress` | `Address` | Yes | Gets or sets the Roblox Company address associated with this bill. |
| `taxId` | `string` | No | Gets or sets the tax id used for this bill. |
| `taxIdType` | `TaxIdType` | No | Gets or sets the type of the tax id used for this bill. |
| `payments` | `Payment[]` | Yes | Gets or sets the payments associated with this bill. |
| `conversionRate` | `number` | No | Gets or sets the USD-to-local-currency conversion rate at bill creation time, provided for reference only. Null if the payment method is in the US, the bill predates this feature, or for pending bills. -1 if the currency converter lookup failed. |

### CheckEligibilityResponse

Response object for Roblox.CloudPricing.ServiceEfficiencyApi.Operations.CheckEligibilityOperation

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `eligibilityRequirementResults` | `EligibilityRequirementResult[]` | No | Gets or sets the eligibility requirement results for the provided creator. |

### GetServiceEfficiencyPaymentMethodResponse

Response object for Roblox.CloudPricing.ServiceEfficiencyApi.Operations.GetServiceEfficiencyPaymentMethodOperation

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `paymentProfile` | `PaymentProfile` | No | Gets or sets the payment profile set for Service Efficiency use for the provided creator. |

### ListPaymentProfilesResponse

Response object for Roblox.CloudPricing.ServiceEfficiencyApi.Operations.ListPaymentProfilesOperation.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `paymentProfiles` | `PaymentProfile[]` | No | Gets or sets the payment profiles owned by the provided creator. |

### CreatePaymentProfileResponse

Response object for Roblox.CloudPricing.ServiceEfficiencyApi.Operations.CreatePaymentProfileOperation

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `clientSecret` | `string` | No | Gets or sets the client secret to complete payment profile creation. |

### SubmitManualPaymentRequest

Request object to be set as the body of submit manual payment endpoint requests.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `amount` | `ServiceEfficiencyApi.Money` | No | Gets or sets the amount of money to charge in the manual payment. |
| `billId` | `string` | No | Gets or sets the id of the bill to make the manual payment on. |

### ServiceEfficiencyApi.Money

Temporary until https://roblox.atlassian.net/browse/ICSC-1360 is done.
Will be replaced by google.type.Money

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `currencyCode` | `string` | No | The three-letter currency code defined in ISO 4217. |
| `units` | `integer` | No | The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. |
| `nanos` | `integer` | No | Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. |

### PaymentProfile

Service Efficiency representation of a Payment Profile.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `paymentProfileId` | `string` | No | Gets or sets the payment profile id. |
| `paymentProfileOwnerType` | `string` | No | Gets or sets the payment profile owner type. GROUP or USER. |
| `cardNetwork` | `string` | No | Gets or sets the card network. |
| `last4Digits` | `string` | No | Gets or sets the last four digits of the card. |
| `expMonth` | `integer` | No | Gets or sets the expiry month of the card. |
| `expYear` | `integer` | No | Gets or sets the expiry year of the card. |

### EligibilityRequirementResult

The result of an Account's eligibility check for a specific eligibility type.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `eligibilityRequirement` | `EligibilityRequirement` | No | Gets or sets the eligibility check type. |
| `eligible` | `boolean` | No | Gets or sets a value indicating whether the account is eligible for this eligibility type. |

### EligibilityRequirement

A type of eligibility requirement.

Values: `Invalid`, `Age`, `AccountCountry`, `IdVerified`, `EmailVerified`, `ModerationStatus`, `Premium`, `UserAgreement`

### ResponseAccountState

Account State in the HTTP response.

Values: `Invalid`, `Normal`, `Overdue`, `Suspended`

### BillStatus

Bill Status Type

Values: `Invalid`, `Unpaid`, `Paid`, `Closed`

### ConsumerUsage

Usages of a consumer, e.g. my cool universe.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `consumerId` | `integer` | Yes | Gets or sets the consumer Id. |
| `consumerName` | `string` | No | Gets or sets consumer name. |
| `subtotalAmount` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the subtotal amount of this consumer. |
| `serviceUsages` | `ServiceUsage[]` | Yes | Gets or sets the list of service usages. |

### Address

Represents an address.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `country` | `string` | No | The country of this address. Format: ISO 3166-1 alpha-2 Currently, only "US" supported |
| `postalCode` | `string` | No | The ZIP or postal code of this address. |
| `state` | `string` | No | The state, county, province, or region of this address. |
| `city` | `string` | No | The city, district, suburb, town, or village of this address. |
| `addressLine1` | `string` | No | The first address line of this address (e.g. street, PO Box, or company name) |
| `addressLine2` | `string` | No | The second address line of this address (e.g. apartment, suite, unit, or building) |
| `name` | `string` | No | The name associated with this address. |

### TaxIdType

Type of the tax id.
Maps to and should be kept up to date with
https://github.rbx.com/Roblox/service-contracts/blob/master/protos/roblox/payments/shared/v1/tax_id_type.proto.

Values: `Invalid`, `UnitedStatesEin`, `EuropeanVatNumber`, `UnitedKingdomVatNumber`, `CanadianBusinessNumber`, `CanadianGstHstNumber`, `MexicanRfcNumber`

### Payment

Service Efficiency API representation of a payment.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `timestamp` | `integer` | Yes | Gets or sets the time of this payment, in unix milliseconds. |
| `amount` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the total, tax-inclusive amount of the payment. |
| `status` | `TransactionStatus` | Yes | Gets or sets the status of the payment. |

### TransactionStatus

Transaction Status for HTTP responses.

Values: `Invalid`, `Pending`, `Successful`, `Failed`

### ServiceUsage

Usage of a service, e.g. Memory Stores

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `serviceId` | `string` | Yes | Gets or sets service ID. |
| `subtotalAmount` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the subtotal amount of this service. |
| `resourceUsages` | `ResourceUsage[]` | Yes | Gets or sets the list of resource usages. |

### ResourceUsage

Usage of a resource e.g. Memory Stores Requests.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `resourceId` | `string` | Yes | Gets or sets resource ID. |
| `freeAmount` | `number` | No | Gets or sets free amount |
| `paidAmount` | `number` | No | Gets or sets paid amount |
| `unitCost` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the unit cost of this resource. |
| `price` | `Price` | Yes | Gets or sets the price of this resource. |
| `totalCost` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the total cost of this resource. |

### Price

Describes the price of a resource.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cost` | `ServiceEfficiencyApi.Money` | No | Cost of the resource. |
| `unitAmount` | `integer` | No | The number of units of the resource to which the cost applies. For example, if `cost` is 0.0044 and `unit_amount` is 1000000, the cost is $0.0044 per million of units. The split between `cost` and `unit_amount` should reflect how we refer to the price in real life, e.g. the above example reflects how we talk about the price of UMS request units ($0.0044 per million request units). |

### BillSummary

Summary of a bill.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `timestamp` | `integer` | Yes | Gets or sets the year of this bill. |
| `billId` | `string` | No | Gets or sets string ID of the bill. |
| `billStatus` | `BillStatus` | Yes | Gets or sets the status of the bill. |
| `totalAmount` | `ServiceEfficiencyApi.Money` | Yes | Gets or sets the total amount of this bill. |

### Account

Representation of an Account and its settings.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `accountTaxType` | `AccountTaxType` | Yes | Gets or sets the tax treatment for this account. |
| `accountName` | `string` | No | Gets or sets the name for this account. |
| `taxId` | `string` | No | Gets or sets the tax id for this account. |
| `taxIdType` | `TaxIdType` | No | Gets or sets the type of the tax id for this account. |

### AccountTaxType

Account setting for tax treatment type.

Values: `Invalid`, `Individual`, `Business`