Accounts: authinfo

Returns information about the authenticated user. Try it now.


HTTP request



This request requires authorization with the following scope:


Request body

Do not supply a request body with this method.


If successful, this method returns a response body with the following structure:

  "kind": "content#accountsAuthInfoResponse",
  "accountIdentifiers": [
      "aggregatorId": unsigned long,
      "merchantId": unsigned long
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "content#accountsAuthInfoResponse".
accountIdentifiers[] list The account identifiers corresponding to the authenticated user.
  • For an individual account: only the merchant ID is defined
  • For an aggregator: only the aggregator ID is defined
  • For a subaccount of an MCA: both the merchant ID and the aggregator ID are defined.
accountIdentifiers[].aggregatorId unsigned long The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).
accountIdentifiers[].merchantId unsigned long The merchant account ID, set for individual accounts and subaccounts.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.