### GET /v1/user Source: https://docs.betpaympix.com/index Retrieves account information and settings. ```APIDOC ## GET /v1/user ### Description Returns account information and settings. ### Method GET ### Endpoint https://api.betpaympix.com/v1/user ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```curl curl --location 'https://api.betpaympix.com/v1/user' \ --header 'Authorization: Bearer token' ``` ### Response #### Success Response (200) No response body #### Response Example None ``` -------------------------------- ### GET Request: Histórico de Transações (cURL) Source: https://docs.betpaympix.com/index This cURL example illustrates how to list transactions with various filters such as date range, status, type, and pagination. The 'Authorization' header is mandatory. ```curl curl --location 'https://api.betpaympix.com/v1/user/transactions?dateFrom=2024-01-01&dateTo=2024-12-31&limit=10&page=1&status=COMPLETED&type=DEPOSIT' \ --header 'Authorization: Bearer token' ``` -------------------------------- ### GET /v1/user/transactions Source: https://docs.betpaympix.com/index Lists transactions with filters and pagination. ```APIDOC ## GET /v1/user/transactions ### Description Lists transactions with filters and pagination. ### Method GET ### Endpoint https://api.betpaympix.com/v1/user/transactions ### Parameters #### Path Parameters None #### Query Parameters - **dateFrom** (string) - Required - Start date (format: YYYY-MM-DD) - **dateTo** (string) - Required - End date (format: YYYY-MM-DD) - **limit** (integer) - Optional - Records per page (max: 100) - **page** (integer) - Optional - Page number - **status** (string) - Optional - Filter by status (e.g., COMPLETED) - **type** (string) - Optional - Type: DEPOSIT or WITHDRAW #### Request Body None ### Request Example ```curl curl --location 'https://api.betpaympix.com/v1/user/transactions?dateFrom=2024-01-01&dateTo=2024-12-31&limit=10&page=1&status=COMPLETED&type=DEPOSIT' \ --header 'Authorization: Bearer token' ``` ### Response #### Success Response (200) No response body #### Response Example None ``` -------------------------------- ### GET /v1/user/summary Source: https://docs.betpaympix.com/index Generates consolidated transaction reports. ```APIDOC ## GET /v1/user/summary ### Description Generates consolidated transaction reports. ### Method GET ### Endpoint https://api.betpaympix.com/v1/user/summary ### Parameters #### Path Parameters None #### Query Parameters - **dateFrom** (string) - Required - Start date for the report (format: YYYY-MM-DD) - **dateTo** (string) - Required - End date for the report (format: YYYY-MM-DD) - **groupBy** (string) - Optional - Grouping: day, week, month - **grouped** (boolean) - Optional - Enable data grouping #### Request Body None ### Request Example ```curl curl --location 'https://api.betpaympix.com/v1/user/summary?dateFrom=2024-01-01&dateTo=2024-12-31&groupBy=day&grouped=true' \ --header 'Authorization: Bearer token' ``` ### Response #### Success Response (200) No response body #### Response Example None ``` -------------------------------- ### GET Request: Consultar Saldo (cURL) Source: https://docs.betpaympix.com/index This cURL command demonstrates how to retrieve the current account balance. It requires the 'Authorization' header with a valid Bearer Token. ```curl curl --location 'https://api.betpaympix.com/v1/user/balance' \ --header 'Authorization: Bearer token' ``` -------------------------------- ### GET /v1/user/balance Source: https://docs.betpaympix.com/index Retrieves the current account balance. ```APIDOC ## GET /v1/user/balance ### Description Returns the current account balance. ### Method GET ### Endpoint https://api.betpaympix.com/v1/user/balance ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```curl curl --location 'https://api.betpaympix.com/v1/user/balance' \ --header 'Authorization: Bearer token' ``` ### Response #### Success Response (200) No response body #### Response Example None ``` -------------------------------- ### GET Request: Dados da Conta (cURL) Source: https://docs.betpaympix.com/index This cURL command shows how to fetch account information and settings. Ensure you include the 'Authorization' header with your Bearer Token. ```curl curl --location 'https://api.betpaympix.com/v1/user' \ --header 'Authorization: Bearer token' ``` -------------------------------- ### GET Request: Relatórios e Métricas (cURL) Source: https://docs.betpaympix.com/index This cURL command demonstrates how to generate consolidated transaction reports. You can specify the date range, grouping, and whether to enable data grouping using query parameters. The 'Authorization' header is required. ```curl curl --location 'https://api.betpaympix.com/v1/user/summary?dateFrom=2024-01-01&dateTo=2024-12-31&groupBy=day&grouped=true' \ --header 'Authorization: Bearer token' ``` -------------------------------- ### Authentication: Bearer Token Source: https://docs.betpaympix.com/index All requests to the Pix Payer API must be authenticated using a Bearer Token. This token should be included in the 'Authorization' header of your requests. ```plaintext Authorization: Bearer seu_token ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.