---
updatedAt: 2025-03-05T16:48:49.000Z
agentTools:
  projectIndex: https://docs.staxpayments.com/llms.txt
---

# Get User and Team's Info

Return information about the user

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "stax-api",
    "version": "0.1"
  },
  "servers": [
    {
      "url": "https://apiprod.fattlabs.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "API key for merchant-level operations. Provides access to merchant-specific endpoints including transactions, payments, customer management, and merchant account settings. This key is scoped to a single merchant account and cannot access partner-level functionality."
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/self": {
      "get": {
        "summary": "Get User and Team's Info",
        "description": "Return information about the user",
        "operationId": "get-self-and-teams-info",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"user\": {\n    \"id\": \"b58d7eee-e68d-4d12-a1f8-62f5e71382ae\",\n    \"system_admin\": false,\n    \"name\": \"Demo\",\n    \"email\": \"contact@example.com\",\n    \"email_verification_sent_at\": \"2017-03-29 15:27:19\",\n    \"email_verified_at\": \"2017-03-29 15:27:21\",\n    \"created_at\": \"2017-01-11 21:44:02\",\n    \"updated_at\": \"2017-04-24 15:41:58\",\n    \"deleted_at\": null,\n    \"gravatar\": \"//www.gravatar.com/avatar/157965dea7cd2f44e349382d1d791650\",\n    \"team_role\": \"admin\",\n    \"team_admin\": true,\n    \"team_enabled\": true\n  },\n  \"merchant\": {\n    \"id\": \"dd36b936-1eb7-4ece-bebc-b514c6a36ebd\",\n    \"mid\": \"520000294774\",\n    \"status\": \"ACTIVE\",\n    \"subdomain\": \"demo\",\n    \"company_name\": \"Here\",\n    \"contact_name\": \"Stax\",\n    \"contact_email\": \"contact@example.com\",\n    \"contact_phone\": \"8555503288\",\n    \"address_1\": \"25 Wall Street\",\n    \"address_2\": \"Suite 1\",\n    \"address_city\": \"Orlando\",\n    \"address_state\": \"FL\",\n    \"address_zip\": \"32801\",\n    \"hosted_payments_token\": \"okay\",\n    \"currency\": [\n      \"USD\"\n    ],\n    \"plan\": {\n      \"id\": \"d619a0cc-b7e1-11e6-a0aa-08002777c33d\",\n      \"merchant_id\": \"dd36b936-1eb7-4ece-bebc-b514c6a36ebd\",\n      \"user_id\": \"\",\n      \"name\": \"premium\",\n      \"created_at\": \"2016-12-01 16:18:46\",\n      \"updated_at\": \"2016-12-01 16:18:46\"\n    },\n    \"options\": {\n      \"default_dashboard\": \"Summary\",\n      \"social\": {\n        \"website_url\": \"http://google.com\",\n        \"facebook_url\": \"http://google.com\",\n        \"instagram_url\": \"http://google.com\",\n        \"twitter_url\": \"http://google.com\",\n        \"linkedin_url\": \"http://google.com\"\n      },\n      \"hosted_payments_url_long\": \"http://localhost:5432/#/pay/okay\",\n      \"hosted_payments_url_short\": \"\",\n      \"hosted_payments_success_note\": \"31\",\n      \"hosted_payments_note\": \"12\"\n    },\n    \"gateway_type\": \"test\",\n    \"processor\": \"Vantiv\",\n    \"product_type\": \"Terminal\",\n    \"welcome_email_sent_at\": null,\n    \"created_at\": \"2016-12-01 16:18:46\",\n    \"updated_at\": \"2017-04-21 20:15:12\",\n    \"deleted_at\": null,\n    \"gateway_name\": null,\n    \"branding\": {\n      \"id\": \"af82b215-6081-42b0-b494-fbda189ce8f9\",\n      \"merchant_id\": \"dd36b936-1eb7-4ece-bebc-b514c6a36ebd\",\n      \"user_id\": \"b58d7eee-e68d-4d12-a1f8-62f5e71382ae\",\n      \"name\": \"\",\n      \"public_url\": \"https://s3-us-west-2.amazonaws.com/fattpaydocuments/branding/af82b215-6081-42b0-b494-fbda189ce8f9.png\",\n      \"tag\": \"branding\",\n      \"meta\": {\n        \"filesize_bytes\": 3938556,\n        \"filesize\": \"3.94 MB\",\n        \"extension\": \"png\",\n        \"size\": {\n          \"width\": 3072,\n          \"height\": 1728\n        },\n        \"mime\": \"image/png\"\n      },\n      \"created_at\": \"2017-04-19 15:50:41\",\n      \"updated_at\": \"2017-04-19 15:50:52\",\n      \"deleted_at\": null\n    },\n    \"allow_ach\": true\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "user": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "b58d7eee-e68d-4d12-a1f8-62f5e71382ae"
                        },
                        "system_admin": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "name": {
                          "type": "string",
                          "example": "Demo"
                        },
                        "email": {
                          "type": "string",
                          "example": "contact@example.com"
                        },
                        "email_verification_sent_at": {
                          "type": "string",
                          "example": "2017-03-29 15:27:19"
                        },
                        "email_verified_at": {
                          "type": "string",
                          "example": "2017-03-29 15:27:21"
                        },
                        "created_at": {
                          "type": "string",
                          "example": "2017-01-11 21:44:02"
                        },
                        "updated_at": {
                          "type": "string",
                          "example": "2017-04-24 15:41:58"
                        },
                        "deleted_at": {},
                        "gravatar": {
                          "type": "string",
                          "example": "//www.gravatar.com/avatar/157965dea7cd2f44e349382d1d791650"
                        },
                        "team_role": {
                          "type": "string",
                          "example": "admin"
                        },
                        "team_admin": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "team_enabled": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        }
                      }
                    },
                    "merchant": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "dd36b936-1eb7-4ece-bebc-b514c6a36ebd"
                        },
                        "mid": {
                          "type": "string",
                          "example": "520000294774"
                        },
                        "status": {
                          "type": "string",
                          "example": "ACTIVE"
                        },
                        "subdomain": {
                          "type": "string",
                          "example": "demo"
                        },
                        "company_name": {
                          "type": "string",
                          "example": "Here"
                        },
                        "contact_name": {
                          "type": "string",
                          "example": "Stax"
                        },
                        "contact_email": {
                          "type": "string",
                          "example": "contact@example.com"
                        },
                        "contact_phone": {
                          "type": "string",
                          "example": "8555503288"
                        },
                        "address_1": {
                          "type": "string",
                          "example": "25 Wall Street"
                        },
                        "address_2": {
                          "type": "string",
                          "example": "Suite 1"
                        },
                        "address_city": {
                          "type": "string",
                          "example": "Orlando"
                        },
                        "address_state": {
                          "type": "string",
                          "example": "FL"
                        },
                        "address_zip": {
                          "type": "string",
                          "example": "32801"
                        },
                        "hosted_payments_token": {
                          "type": "string",
                          "example": "okay"
                        },
                        "currency": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "example": "USD"
                          }
                        },
                        "plan": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "d619a0cc-b7e1-11e6-a0aa-08002777c33d"
                            },
                            "merchant_id": {
                              "type": "string",
                              "example": "dd36b936-1eb7-4ece-bebc-b514c6a36ebd"
                            },
                            "user_id": {
                              "type": "string",
                              "example": ""
                            },
                            "name": {
                              "type": "string",
                              "example": "premium"
                            },
                            "created_at": {
                              "type": "string",
                              "example": "2016-12-01 16:18:46"
                            },
                            "updated_at": {
                              "type": "string",
                              "example": "2016-12-01 16:18:46"
                            }
                          }
                        },
                        "options": {
                          "type": "object",
                          "properties": {
                            "default_dashboard": {
                              "type": "string",
                              "example": "Summary"
                            },
                            "social": {
                              "type": "object",
                              "properties": {
                                "website_url": {
                                  "type": "string",
                                  "example": "http://google.com"
                                },
                                "facebook_url": {
                                  "type": "string",
                                  "example": "http://google.com"
                                },
                                "instagram_url": {
                                  "type": "string",
                                  "example": "http://google.com"
                                },
                                "twitter_url": {
                                  "type": "string",
                                  "example": "http://google.com"
                                },
                                "linkedin_url": {
                                  "type": "string",
                                  "example": "http://google.com"
                                }
                              }
                            },
                            "hosted_payments_url_long": {
                              "type": "string",
                              "example": "http://localhost:5432/#/pay/okay"
                            },
                            "hosted_payments_url_short": {
                              "type": "string",
                              "example": ""
                            },
                            "hosted_payments_success_note": {
                              "type": "string",
                              "example": "31"
                            },
                            "hosted_payments_note": {
                              "type": "string",
                              "example": "12"
                            }
                          }
                        },
                        "gateway_type": {
                          "type": "string",
                          "example": "test"
                        },
                        "processor": {
                          "type": "string",
                          "example": "Vantiv"
                        },
                        "product_type": {
                          "type": "string",
                          "example": "Terminal"
                        },
                        "welcome_email_sent_at": {},
                        "created_at": {
                          "type": "string",
                          "example": "2016-12-01 16:18:46"
                        },
                        "updated_at": {
                          "type": "string",
                          "example": "2017-04-21 20:15:12"
                        },
                        "deleted_at": {},
                        "gateway_name": {},
                        "branding": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "af82b215-6081-42b0-b494-fbda189ce8f9"
                            },
                            "merchant_id": {
                              "type": "string",
                              "example": "dd36b936-1eb7-4ece-bebc-b514c6a36ebd"
                            },
                            "user_id": {
                              "type": "string",
                              "example": "b58d7eee-e68d-4d12-a1f8-62f5e71382ae"
                            },
                            "name": {
                              "type": "string",
                              "example": ""
                            },
                            "public_url": {
                              "type": "string",
                              "example": "https://s3-us-west-2.amazonaws.com/fattpaydocuments/branding/af82b215-6081-42b0-b494-fbda189ce8f9.png"
                            },
                            "tag": {
                              "type": "string",
                              "example": "branding"
                            },
                            "meta": {
                              "type": "object",
                              "properties": {
                                "filesize_bytes": {
                                  "type": "integer",
                                  "example": 3938556,
                                  "default": 0
                                },
                                "filesize": {
                                  "type": "string",
                                  "example": "3.94 MB"
                                },
                                "extension": {
                                  "type": "string",
                                  "example": "png"
                                },
                                "size": {
                                  "type": "object",
                                  "properties": {
                                    "width": {
                                      "type": "integer",
                                      "example": 3072,
                                      "default": 0
                                    },
                                    "height": {
                                      "type": "integer",
                                      "example": 1728,
                                      "default": 0
                                    }
                                  }
                                },
                                "mime": {
                                  "type": "string",
                                  "example": "image/png"
                                }
                              }
                            },
                            "created_at": {
                              "type": "string",
                              "example": "2017-04-19 15:50:41"
                            },
                            "updated_at": {
                              "type": "string",
                              "example": "2017-04-19 15:50:52"
                            },
                            "deleted_at": {}
                          }
                        },
                        "allow_ach": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": \"token_expired\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "token_expired"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```