Moffin Solutions API (1.0.0)

API para la consulta de datos fiscales y financieros de contribuyentes.

Download OpenAPI description
Overview
Soporte Moffin Solutions

hola@moffin.mx

Languages
Servers
Mock server

https://solutions-docs.moffin.mx/_mock/apis/

Servidor de producción

https://solutions-api.moffin.mx/api/

Authentication

Operations

Crear y refrescar token

Request

Bodyapplication/jsonrequired
grantTypestringrequired

Tipo de autorización requerido para obtener un token de acceso

Enum"client_credentials""refresh_token"
Example: "client_credentials"
clientIdstringrequired

Identificador único proporcionado por Moffin para autenticar la solicitud

Example: "MOFFIN_cccccccc-aaaa-5555-aa33-11111111111"
clientSecretstringrequired

Secreto único proporcionado por Moffin para autenticar la solicitud

Example: "eeeee111-aa221-2313-1111-a15aa15c15aa"
curl -i -X POST \
  https://solutions-docs.moffin.mx/_mock/apis/oauth/token \
  -H 'Content-Type: application/json' \
  -d '{
    "grantType": "client_credentials",
    "clientId": "MOFFIN_cccccccc-aaaa-5555-aa33-11111111111",
    "clientSecret": "eeeee111-aa221-2313-1111-a15aa15c15aa"
  }'

Responses

The timeline was created successfully

Bodyapplication/json
accessTokenstring

Token de acceso JWT generado

Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
refreshTokenstring

Token de actualización JWT

Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
tokenTypestring

Tipo de token devuelto

Example: "Bearer"
accessTokenExpiresAtinteger

Fecha de expiración del token de acceso en formato Unix timestamp

Example: 1737686951
refreshTokenExpiresAtinteger

Fecha de expiración del token de actualización en formato Unix timestamp

Example: 1738205351
Response
application/json
{ "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "tokenType": "Bearer", "accessTokenExpiresAt": 1737686951, "refreshTokenExpiresAt": 1738205351 }

Consultas Empresariales

Operations

Consultas Fiscales

Operations

Consultas de Historial Laboral

Operations

Consultas al SAT

Operations

Query Retrieval

Operations