> For the complete documentation index, see [llms.txt](https://alfred.gitbook.io/alfred-integration-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alfred.gitbook.io/alfred-integration-docs/stellar-blockchain-integration/stellar-api-integration-operations/stellar-my-info-get-account-info-and-uuid-initial-transaction.md).

# (Stellar) My Info - Get Account info & uuid Initial Transaction

We obtain the company registration data & User ID session in our alfredpay ecosystem.

***

### Description:

This endpoint is designed to fetch company registration data and a unique session ID (`uid`) within the AlfredPay Ecosystem. It primarily aids in obtaining business details and initiating transactions, either for depositing (`in`) or withdrawing (`out`) funds.

#### Mode:

`POST`

#### Node:

```bash
/third-party-service/stellar/my-info
```

<mark style="color:green;">`POST`</mark> `/third-party-service/stellar/my-info`

We obtain the company registration data & uid session in the alfredpay ecosystem

#### Headers

| Name                                         | Type   | Description |
| -------------------------------------------- | ------ | ----------- |
| api-key<mark style="color:red;">\*</mark>    | String |             |
| api-secret<mark style="color:red;">\*</mark> | String |             |

#### Request Body

| Name                                      | Type                                                                                                                                                                                                                                                                                                                                                                                                                            | Description                                                             |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| “type” <mark style="color:red;">\*</mark> | “in”                                                                                                                                                                                                                                                                                                                                                                                                                            | other value can be “out” where you want to use offramp                  |
| "token"<mark style="color:red;">\*</mark> | "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJhZWJlM2Y5NmVhYjU0NWMzNTQxYzY1MjIwMGE3MjQ3YzRjMjI2ZjEyMzBmZTRlMDNkNmE1YTRmMTg5MTk1YzQwIiwiaXNzIjoiaHR0cHM6Ly9qYW5jaG9yLmFsZnJlZHBheS5pbzo0NDMvYXV0aCIsInN1YiI6IkdESkE0S0w0MkJHWTc2N0ZWTUtHVUdVRkY0WFBMSEU2N0JISE4yTUxYTVZLUFNGWDVLRVdZN0VLIiwiaWF0IjoxNzAwMTQ4Mzk5LCJleHAiOjE3MDAyMzQ3OTksImhvbWVfZG9tYWluIjoiamFuY2hvci5hbGZyZWRwYXkuaW86NDQzIn0.9rXxj6y\_emjRLuEVqs9sX0L5bWWhjQGMu5t96NiQ3Oc" | <p>This token is generated after the transaction is signed. </p><p></p> |

{% tabs %}
{% tab title="202: Accepted " %}

```json
// 
{
    "statusCode": 202,
    "message": "MyInfo",
    "data": {
        "initial_transaction": "31ec196c-ed1b-4215-819b-2e10b2954f1f"
    }
}
```

{% endtab %}
{% endtabs %}

#### Considerations:

The unique identifier (`uid`) is within the response under the `initial-transaction` . This ID is crucial for tracking and managing the transaction within the AlfredPay Ecosystem.

If you are trying to integrate a non custodial wallet, input the user's public key under 'user'.
