# Account Information + Get uuid Initial Transaction

***

### 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/my-info
```

<mark style="color:green;">`POST`</mark> `/third-party-service/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                                                                                                       |
| "balance"<mark style="color:red;">\*</mark>  | 0,        | <p>balance of wallet user, if type is “in” (onramp)  then balance is 0, when the type is “out” (offramp) you must set the balance crypto currency</p><p></p> |
| "currency"<mark style="color:red;">\*</mark> | "USDC"    | crypto currency withdraw or Deposit (BTC, USDT, USDC)                                                                                                        |
| "user"<mark style="color:red;">\*</mark>     | "fulano"  | user wallet, can be username, email or phone number - If you are trying to integrate a non custodial wallet, input the user's public key.                    |
| "chain"<mark style="color:red;">\*</mark>    | "stellar" | <p>blockchain can be stellar, ethereum, bitcoin LN or Network Banking</p><p><br></p>                                                                         |

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

```json
// 
{
    "business": {
        "name": "Alfred Technology",
        "managerName": "Guevara",
        "email": "aguirre@cc.com",
        "phone": "+12347451238",
        "country": "USA",
        "address": "Florida, Miami, Doral",
        "url": "https://widget2-dev.alfredpay.io/7968052d-2c60-4d18-b7d0-a850081547b8",  // The UUID represents the initial transaction.
        "url_status": true,
        "KYB": true,
        "typeBusiness": "IN",
        "typeProcesor": ["NONE"],
        "businesImgUri": "https://alfred-pay-images.s3.amazonaws.com/profile/1fd4fe37-7813-47e2-9e35-791b4a92994d.png",
        "currency": "USD",
        "Business_Address": [
            {
                "id": 6,
                "address": "GC………",
                "network": "USDC",
                "coin": "stellar"
            }
        ]
    }
}
```

{% endtab %}
{% endtabs %}

#### Considerations:

The unique identifier (`uid`) is embedded within the response under the `url` key in green text. 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'.
